skbio.sequence.NucleotideMixin#
- class skbio.sequence.NucleotideMixin[source]#
Mixin for adding functionality for working with sequences of nucleotides.
This is an abstract base class (ABC) that cannot be instantiated.
Attributes
Return mapping of nucleotide characters to their complements.
Methods
Return the complement of the nucleotide sequence.
Calculate the relative frequency of G's and C's in the sequence.
Calculate frequency of G's and C's in the sequence.
Determine if a sequence is the reverse complement of this sequence.
Return the reverse complement of the nucleotide sequence.
Special methods (inherited)
__eq__Return self==value.
__ge__Return self>=value.
__getstate__Helper for pickle.
__gt__Return self>value.
__hash__Return hash(self).
__le__Return self<=value.
__lt__Return self<value.
__ne__Return self!=value.
__str__Return str(self).
Details