Sequence¶
This module handles individual sequences.
-
class
Sequence(*args)[source]¶ Handle individual sequences of an
MSAobjectDepending on input arguments, instances may point to an
MSAobject or store its own data.-
getResnums(gaps=False, report_match=False)[source]¶ Returns list of residue numbers associated with non-gapped seq. When gaps is True, return a list containing the residue numbers with gaps appearing as None.
Residue numbers are inferred from the full label if possible. When the label does not contain residue number information, a range of numbers starting from 1 is returned.
-