reads a GCG9 RSF format file
Imported modules
|
|
from MultAlignViewer.parse import WrongFileTypeError, FormatSyntaxError
from chimera.Sequence import Sequence
import string
|
Functions
|
|
parse
|
|
parse
|
parse ( fileName )
Exceptions
|
|
FormatSyntaxError( "Bogus " "indentation at line %d" % lineNum )
FormatSyntaxError( "No end to header (i.e. '..' line) found" )
FormatSyntaxError( "No sequences found" )
FormatSyntaxError( "Sequence without sequence data" )
FormatSyntaxError( "Unexpected text before" " start of sequence on line %d" % lineNum )
FormatSyntaxError( "sequence on " "line %d has no name" % lineNum )
FormatSyntaxError("No sequence data found for sequence %s" % attrs [ "name" ] )
FormatSyntaxError("No terminating brace for sequence %s" % attrs [ "name" ] )
WrongFileTypeError()
|
|
|