Consumer that converts a Prosite record to a Record object.
Members:
data Record with Prosite data.
Methods
|
|
|
|
__init__
|
__init__ ( self )
|
|
_chomp
|
_chomp (
self,
word,
to_chomp='.,;',
)
|
|
_clean
|
_clean (
self,
line,
rstrip=1,
)
|
|
accession
|
accession ( self, line )
Exceptions
|
|
SyntaxError, "I don't understand accession line\n%s" % line
|
|
|
comment
|
comment ( self, line )
Exceptions
|
|
SyntaxError, "Unknown qual %s in comment line\n%s" %( repr( qual ), line )
|
|
|
database_reference
|
database_reference ( self, line )
Exceptions
|
|
SyntaxError, "I don't understand type flag %s" % type
|
|
|
date
|
date ( self, line )
Exceptions
|
|
SyntaxError, "I don't understand date line\n%s" % line
|
|
|
description
|
description ( self, line )
|
|
documentation
|
documentation ( self, line )
|
|
end_record
|
end_record ( self )
|
|
identification
|
identification ( self, line )
Exceptions
|
|
SyntaxError, "I don't understand identification line\n%s" % line
|
|
|
matrix
|
matrix ( self, line )
|
|
numerical_results
|
numerical_results ( self, line )
Exceptions
|
|
SyntaxError, "Unknown qual %s in comment line\n%s" %( repr( qual ), line )
error, "Broken data %s in comment line\n%s" %( repr( data ), line )
|
|
|
pattern
|
pattern ( self, line )
|
|
pdb_reference
|
pdb_reference ( self, line )
|
|
rule
|
rule ( self, line )
|
|
start_record
|
start_record ( self )
|
|
terminator
|
terminator ( self, line )
|
|