biocantor.location.strand
Module Contents
Classes
Generic enumeration. |
- class biocantor.location.strand.Strand
Bases:
enum.Enum
Generic enumeration.
Derive from this class to define new enumerations.
- PLUS = 1
- MINUS
- UNSTRANDED = 0
- __str__()
Return str(self).
- static _order()
- __lt__(other)
Return self<value.
- reverse()
Returns the opposite of this Strand
- relative_to(other: Strand) Strand
Returns the orientation of this strand relative to the given other strand. Note: this operator is commutative.
- assert_directional()
Raises InvalidStrandException if this Strand does not have a defined direction (plus or minus)