skbio.core.sequence.DNASequence.__hash__

DNASequence.__hash__()[source]

The hash operator.

Returns:

int

The hash of the BiologicalSequence.

Examples

>>> from skbio.core.sequence import BiologicalSequence
>>> s = BiologicalSequence('GGUCGUGAAGGA')
>>> hash(s)
-1080059835405276950