load_unaligned_seqs

load_unaligned_seqs(filename: Union[str, Path], format=None, moltype=None, label_to_name=None, parser_kw=None, info=None, **kw)

loads unaligned sequences from file

Parameters:
  • filename (str) – path to sequence file

  • format (str) – sequence file format, if not specified tries to guess from the path suffix

  • moltype – the moltype, eg DNA, PROTEIN, ‘dna’, ‘protein’

  • label_to_name – function for converting original name into another name.

  • parser_kw (dict) – optional arguments for the parser

  • info – a dict from which to make an info object

  • **kw – other keyword arguments passed to SequenceCollection

Return type:

SequenceCollection