Create a GenBank Record object from scanner generated information.
Methods
|
|
|
|
__init__
|
__init__ ( self )
|
|
_add_feature
|
_add_feature ( self )
Utility function to add a feature to the Record.
This does all of the appropriate checking to make sure we haven't
left any info behind, and that we are only adding info if it
exists.
|
|
accession
|
accession ( self, content )
|
|
authors
|
authors ( self, content )
|
|
base_count
|
base_count ( self, content )
|
|
comment
|
comment ( self, content )
|
|
contig_location
|
contig_location ( self, content )
Signal that we have contig information to add to the record.
|
|
data_file_division
|
data_file_division ( self, content )
|
|
date
|
date ( self, content )
|
|
db_source
|
db_source ( self, content )
|
|
definition
|
definition ( self, content )
|
|
feature_key
|
feature_key ( self, content )
Grab the key of the feature and signal the start of a new feature.
|
|
features_line
|
features_line ( self, content )
Get ready for the feature table when we reach the FEATURE line.
|
|
gi
|
gi ( self, content )
|
|
journal
|
journal ( self, content )
|
|
keywords
|
keywords ( self, content )
|
|
location
|
location ( self, content )
|
|
locus
|
locus ( self, content )
|
|
medline_id
|
medline_id ( self, content )
|
|
nid
|
nid ( self, content )
|
|
organism
|
organism ( self, content )
|
|
origin_name
|
origin_name ( self, content )
|
|
pid
|
pid ( self, content )
|
|
pubmed_id
|
pubmed_id ( self, content )
|
|
qualifier_key
|
qualifier_key ( self, content )
|
|
qualifier_value
|
qualifier_value ( self, content )
|
|
record_end
|
record_end ( self, content )
Signal the end of the record and do any necessary clean-up.
|
|
reference_bases
|
reference_bases ( self, content )
|
|
reference_num
|
reference_num ( self, content )
Grab the reference number and signal the start of a new reference.
|
|
remark
|
remark ( self, content )
|
|
residue_type
|
residue_type ( self, content )
|
|
segment
|
segment ( self, content )
|
|
sequence
|
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.
|
|
size
|
size ( self, content )
|
|
source
|
source ( self, content )
|
|
start_feature_table
|
start_feature_table ( self )
Signal the start of the feature table.
|
|
taxonomy
|
taxonomy ( self, content )
|
|
title
|
title ( self, content )
|
|
version
|
version ( self, content )
|