Logo Search packages:      
Sourcecode: python-biopython version File versions  Download package

def Bio::GenBank::_RecordConsumer::sequence (   self,
  content 
)
Add sequence information to a list of sequence strings.

This removes spaces in the data and uppercases the sequence, and
then adds it to a list of sequences. Later on we'll join this
list together to make the final sequence. This is faster than
adding on the new string every time.

Definition at line 1282 of file __init__.py.

                               :
        """Add sequence information to a list of sequence strings.

        This removes spaces in the data and uppercases the sequence, and
        then adds it to a list of sequences. Later on we'll join this
        list together to make the final sequence. This is faster than
        adding on the new string every time.
        """
        new_seq = content.replace(' ', '')
        self._seq_data.append(new_seq.upper())


Generated by  Doxygen 1.6.0   Back to index