bio.locus
¶
Source code: bio/locus.seq
-
type
bio.locus.
Contig
¶ Representation of a contig, consisting of an ID, name and length.
Properties:
Magic methods:
-
type
bio.locus.
Locus
¶ Representation of a locus, consisting of a contig ID and 0-based position.
Properties:
Magic methods:
-
__init__
(tid: int, pos: int) Constructs a Locus with specified contig ID and 0-based position. Negative positions indicate loci on the reverse strand.
-
__lt__
(other: Locus)
-
__gt__
(other: Locus)
-
__le__
(other: Locus)
-
__ge__
(other: Locus)
-
__invert__
() Returns the corresponding Locus on the reverse strand
-
__str__
()
-