Trees | Index | Help |
---|
Package Bio :: Package NeuralNetwork :: Package Gene :: Module Pattern :: Class PatternIO |
|
Allow reading and writing of patterns to files.
This just defines a simple persistance class for patterns, making it easy to write them to a file and read 'em back.Method Summary | |
---|---|
Intialize the reader and writer class. | |
Read patterns from the specified handle. | |
Write a list of patterns to the given handle. | |
Convenience function to write Seq objects to a file. |
Method Details |
---|
__init__(self,
alphabet=None)
|
read(self, input_handle)Read patterns from the specified handle. |
write(self, pattern_list, output_handle)Write a list of patterns to the given handle. |
write_seq(self, seq_pattern_list, output_handle)Convenience function to write Seq objects to a file. This can take Seqs and MutableSeqs, and write them to a file as strings. |
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Mon Aug 27 16:43:48 2007 | http://epydoc.sf.net |