/ . / MultAlignViewer / parsers / readStockholm.py
reads a Stockholm (Pfaat, HMMer, Pfam) format file
Functions
|
|
|
parse
|
parse ( fileName )
Exceptions
|
|
FormatSyntaxError( "No sequences found" )
FormatSyntaxError( "Column annotation %s is" " wrong length" % tag )
FormatSyntaxError("%s annotations " "provided for non-existent sequence %s" %( label.capitalize(), seqName ) )
FormatSyntaxError( "Sequence info not in name/" "contents format on line %d" % lineNum )
FormatSyntaxError("Not enough" " arguments after #=%s markup" " on line %d" %( markupType, lineNum ) )
WrongFileTypeError()
|
|
|
|