Table of Contents

Class: SchemaFinder Bio/NeuralNetwork/Gene/Schema.py

Find schema in a set of sequences using a genetic algorithm approach.

Finding good schemas is very difficult because it takes forever to enumerate all of the potential schemas. This finder using a genetic algorithm approach to evolve good schema which match many times in a set of sequences.

The default implementation of the finder is ready to find schemas in a set of DNA sequences, but the finder can be customized to deal with any type of data.

Methods   
__init__
find
find_differences
  __init__ 
__init__ (
        self,
        num_schemas=100,
        schema_finder=GeneticAlgorithmFinder(),
        )

  find 
find ( self,  seq_records )

Find well-represented schemas in the given set of SeqRecords.

  find_differences 
find_differences (
        self,
        first_records,
        second_records,
        )

Find schemas which differentiate between the two sets of SeqRecords.


Table of Contents

This document was automatically generated on Mon Jul 1 12:03:11 2002 by HappyDoc version 2.0.1