skbio.sequence.RNA.__ne__¶
-
RNA.
__ne__
(other)[source]¶ Determine if this sequence is not equal to another.
State: Stable as of 0.4.0.
Sequences are not equal if they are not exactly the same type, or their sequence characters, metadata, or positional metadata differ.
- Parameters
other (Sequence) – Sequence to test for inequality against.
- Returns
Indicates whether this sequence is not equal to other.
- Return type
Examples
>>> from skbio import Sequence >>> s = Sequence('ACGT') >>> t = Sequence('ACGT') >>> s != t False >>> u = Sequence('ACGA') >>> u != t True >>> v = Sequence('ACGA', metadata={'id': 'v'}) >>> u != v True