skbio.core.sequence.BiologicalSequence.__hash__

BiologicalSequence.__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