meld.parse.get_sequence_from_AA1

meld.parse.get_sequence_from_AA1(filename=None, content=None, file=None, capped=False, nter=None, cter=None)[source]

Get the sequence from 1-letter amino acid codes.

Parameters
  • filename (Optional[str]) – filename to open

  • content (Optional[str]) – contents

  • file (Optional[TextIO]) – object to read from

  • capped (bool) – Will know that there are caps. Specify which in nter and cter

  • nter (Optional[str]) – specify capping residue at the N terminus if not specified in sequence

  • cter (Optional[str]) – specify capping residue at the C terminus if not specified in sequence

Return type

NewType()(SequenceString, str)

Returns

string representation that can be used to create a SubSystem

Note

Specify exactly one of filename, contents, file