Trees | Index | Help |
---|
Package Bio :: Package config :: Module FormatRegistry :: Class FormatObject |
|
RegisterableObject
--+
|
FormatObject
This object stores Biopython file formats and provides methods to work on them.
Methods: identify Identify the format at a URL. identifyFile Identify the format of a file. identifyString Identify the format of a string.
make_parser Make a parser that can parse the format. make_iterator Make an iterator over files of this format.Method Summary | |
---|---|
FormatObject(name, expression[, abbrev][, doc] [, filter][, multirecord]) | |
S.identify(source[, debug_level]) -> FormatObject or None | |
S.identifyFile(infile[, debug_level]) -> FormatObject or None | |
S.identifyString(s[, debug_level]) -> FormatObject or None | |
S.make_iterator([tag][, select_names][, debug_level]) -> iterator | |
S.make_parser([select_names][, debug_level]) -> parser |
Method Details |
---|
__init__(self,
name,
expression,
abbrev=None,
doc=None,
filter=None,
multirecord=1)
|
identify(self, source, debug_level=0)S.identify(source[, debug_level]) -> FormatObject or None |
identifyFile(self, infile, debug_level=0)S.identifyFile(infile[, debug_level]) -> FormatObject or None |
identifyString(self, s, debug_level=0)S.identifyString(s[, debug_level]) -> FormatObject or None |
make_iterator(self, tag='record', select_names=None, debug_level=0)S.make_iterator([tag][, select_names][, debug_level]) -> iterator |
make_parser(self, select_names=None, debug_level=0)S.make_parser([select_names][, debug_level]) -> parser |
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Wed Jan 31 09:58:01 2007 | http://epydoc.sf.net |