Consumer that converts a Prodoc record to a Record object.
Members:
data Record with Prodoc data.
Methods
|
|
__init__
_clean_data
accession
end_record
prosite_reference
reference
start_record
text
|
|
__init__
|
__init__ ( self )
|
|
_clean_data
|
_clean_data ( self )
|
|
accession
|
accession ( self, line )
Exceptions
|
|
SyntaxError, "I don't understand accession line\n%s" % line
SyntaxError, "Invalid accession in line\n%s" % line
|
|
|
end_record
|
end_record ( self )
|
|
prosite_reference
|
prosite_reference ( self, line )
Exceptions
|
|
SyntaxError, "I don't understand accession line\n%s" % line
|
|
|
reference
|
reference ( self, line )
Exceptions
|
|
"I don't understand the reference line\n%s" % line
SyntaxError, "Unnumbered reference lines\n%s" % line
|
|
|
start_record
|
start_record ( self )
|
|
text
|
text ( self, line )
|
|