Table of Contents

Module: readRSF MultAlignViewer/parsers/readRSF.py

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()

Table of Contents

This document was automatically generated on Tue Nov 5 16:56:35 2002 by HappyDoc version 2.0.1