Home | Trees | Indices | Help |
|
---|
|
object --+ | AbstractSequence
Base abstract class for all Sequence objects.
Provides 1-based access to the residues in the sequence via the sequence.residues property. The sequence object itself also behaves like a collection and provides 0-based access to its elements (residues).
Nested Classes | |
__metaclass__ Metaclass for defining Abstract Base Classes (ABCs). |
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
AbstractSequence |
|
||
AbstractSequence |
|
||
AbstractSequence |
|
||
Inherited from |
Class Variables | |
DELIMITER =
|
|
__abstractmethods__ =
|
Properties | |
csb.core.enum |
alphabet The sequence alphabet corresponding to the current sequence type |
str |
header Sequence description |
str |
id Sequence identifier |
int |
length Number of residues |
SequenceIndexer |
residues Rank-based access to the underlying residues |
str |
sequence The actual sequence |
enum item |
type Sequence type - a member of SequenceTypes |
Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
repr(x)
|
str(x)
|
Dump the sequence in FASTA format.
|
Extract a subsequence, defined by a list of 1-based positions.
|
Remove all gaps and insertions from the sequence.
|
Extract a subsequence, defined by [start, end]. The start and end positions are 1-based, inclusive.
|
Property Details |
alphabetThe sequence alphabet corresponding to the current sequence type
|
headerSequence description
|
idSequence identifier
|
lengthNumber of residues
|
residuesRank-based access to the underlying residues
|
sequenceThe actual sequence
|
typeSequence type - a member of SequenceTypes
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Jul 4 20:19:05 2017 | http://epydoc.sourceforge.net |