Package Bio :: Package NeuralNetwork :: Package Gene :: Module Schema :: Class SchemaFactory
[show private | hide private]
[frames | no frames]

Class SchemaFactory


Generate Schema from inputs of Motifs or Signatures.
Method Summary
  __init__(self, ambiguity_symbol)
Initialize the SchemaFactory
  from_motifs(self, motif_repository, motif_percent, num_ambiguous)
Generate schema from a list of motifs.
  from_signatures(self, signature_repository, num_ambiguous)

Method Details

__init__(self, ambiguity_symbol='*')
(Constructor)

Initialize the SchemaFactory

Arguments:

o ambiguity_symbol -- The symbol to use when specifying that a position is arbitrary.

from_motifs(self, motif_repository, motif_percent, num_ambiguous)

Generate schema from a list of motifs.

Arguments:

o motif_repository - A MotifRepository class that has all of the motifs we want to convert to Schema.

o motif_percent - The percentage of motifs in the motif bank which should be matches. We'll try to create schema that match this percentage of motifs.

o num_ambiguous - The number of ambiguous characters to include in each schema. The positions of these ambiguous characters will be randomly selected.

Generated by Epydoc 2.1 on Sat Jul 16 15:49:00 2005 http://epydoc.sf.net