biopython v1.71.0 Bio.NeuralNetwork.Gene.Schema.RandomMotifGenerator
Generate a random motif within given parameters.
Link to this section Summary
Link to this section Functions
Link to this function
__init__()
Initialize with the motif parameters.
Arguments:
- alphabet - An alphabet specifying what letters can be inserted in a motif.
- min_size, max_size - Specify the range of sizes for motifs.
Link to this function
random_motif()
Create a random motif within the given parameters.
This returns a single motif string with letters from the given alphabet. The size of the motif will be randomly chosen between max_size and min_size.