Table of Contents

Class: _SequenceConsumer Bio/SwissProt/SProt.py

Consumer that converts a SwissProt record to a Seq object.

Members: data Record with SwissProt data. alphabet The alphabet the generated Seq objects will have.

Base Classes   
AbstractConsumer
Methods   
__init__
accession
description
end_record
identification
sequence_data
start_record
  __init__ 
__init__ ( self,  alphabet=Alphabet.generic_protein )

Initialize a Sequence Consumer

Arguments: o alphabet - The alphabet to use for the generated Seq objects. If not supplied this will default to the generic protein alphabet.

  accession 
accession ( self,  line )

  description 
description ( self,  line )

  end_record 
end_record ( self )

  identification 
identification ( self,  line )

  sequence_data 
sequence_data ( self,  line )

  start_record 
start_record ( self )


Table of Contents

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