Selection.seqID()¶Identifier of the sequence to which Selection is assigned.
A Selection only has seqID if is_shifted(),
otherwise seqID is None.
| Returns: | str |
|---|
Example
In [1]: from rstoolbox.components import Selection
...: ss = Selection([3, 4, 5, 13, 14, 15, 21, 25])
...: ss.seqID()
...:
In [2]: ss.shift("A", 3).seqID()
Out[2]: 'A'