Table of Contents

Class: _RecordConsumer Bio/Prosite/__init__.py

Consumer that converts a Prosite record to a Record object.

Members: data Record with Prosite data.

Base Classes   
AbstractConsumer
Methods   
__init__
_chomp
_clean
accession
comment
database_reference
date
description
documentation
end_record
identification
matrix
numerical_results
pattern
pdb_reference
rule
start_record
terminator
  __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 )


Table of Contents

This document was automatically generated on Mon Jul 1 12:02:53 2002 by HappyDoc version 2.0.1