- class biotite.sequence.Location(first, last, strand=Strand.FORWARD, defect=Defect.NONE)¶
Locationdefines at which base(s)/residue(s) a feature is located.
A feature can have multiple
Locationinstances if multiple locations are joined.
Objects of this class are immutable.
Starting base or residue position of the feature.
Inclusive ending base or residue position of the feature.
The strand direction. Always
Strand.FORWARDfor peptide features.
A possible defect of the location.
- class Defect(value)¶
This enum type describes location defects.
A location has a defect, when the feature itself is not directly located in the range of the first to the last base.
NONE - No location defect
BEYOND_LEFT - The feature starts at an unknown position before the first base/residue of the
BEYOND_RIGHT - The feature ends at an unknown position after the last base/residue of the
UNK_LOC - The exact position is unknown, but it is at a single base/residue between the first and last residue of the
BETWEEN - The position is between to consecutive bases/residues.
- NONE = 0¶
- MISS_LEFT = 1¶
- MISS_RIGHT = 2¶
- BEYOND_LEFT = 4¶
- BEYOND_RIGHT = 8¶
- UNK_LOC = 16¶
- BETWEEN = 32¶