Package BioSQL :: Module BioSeq :: Class DBSeq
[hide private]
[frames] | no frames]

Class DBSeq

source code

Bio.Seq.Seq --+
              |
             DBSeq

Instance Methods [hide private]
 
__init__(self, primary_id, adaptor, alphabet, start, length) source code
 
__len__(self) source code
 
__getitem__(self, index) source code
 
tostring(self)
Returns the full sequence as a python string.
source code
 
__str__(self)
Returns the full sequence as a python string.
source code

Inherited from Bio.Seq.Seq: __add__, __radd__, __repr__, complement, count, reverse_complement, tomutable

Properties [hide private]
  data
Sequence as string (DEPRECATED)
Method Details [hide private]

__init__(self, primary_id, adaptor, alphabet, start, length)
(Constructor)

source code 
Overrides: Bio.Seq.Seq.__init__

__len__(self)
(Length operator)

source code 
Overrides: Bio.Seq.Seq.__len__

__getitem__(self, index)
(Indexing operator)

source code 
Overrides: Bio.Seq.Seq.__getitem__

tostring(self)

source code 

Returns the full sequence as a python string.

Although not formally deprecated, you are now encouraged to use str(my_seq) instead of my_seq.tostring().

Overrides: Bio.Seq.Seq.tostring

__str__(self)
(Informal representation operator)

source code 

Returns the full sequence as a python string.

Overrides: Bio.Seq.Seq.__str__

Property Details [hide private]

data

Sequence as string (DEPRECATED)

Get Method:
tostring(self) - Returns the full sequence as a python string.