Trees | Index | Help |
---|
Package Bio :: Package NeuralNetwork :: Package Gene :: Module Schema :: Class SchemaCoder |
|
Convert a sequence into a representation of ambiguous motifs (schemas).
This takes a sequence, and returns the number of times specified motifs are found in the sequence. This lets you represent a sequence as just a count of (possibly ambiguous) motifs.Method Summary | |
---|---|
Initialize the coder to convert sequences | |
Represent the given input sequence as a bunch of motif counts. |
Method Details |
---|
__init__(self,
schemas,
ambiguous_converter)
|
representation(self, sequence)Represent the given input sequence as a bunch of motif counts. Arguments: o sequence - A Bio.Seq object we are going to represent as schemas. This takes the sequence, searches for the motifs within it, and then returns counts specifying the relative number of times each motifs was found. The frequencies are in the order the original motifs were passed into the initializer. |
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Wed Jan 31 09:57:59 2007 | http://epydoc.sf.net |