mutate_random(DNA,
AminoAcid,
distance,
pdic,
rev,
header,
Random,
outputpath)
| source code
|
Mutates a given DNA(AminoAcid) Genomesequence on several positions
(distance based on DISTANCE var. If one mutation is done a compareable
Triplet is searched to "reverse" the changes made in AA
distribution, N distribution, AA neighborhood
- Parameters:
DNA (list) - DNA sequence of the reference genome.
AminoAcid (list) - AA sequence of the reference genome.
rev (Bool) - Boolean which decides if unbalanced mutations are allowed (only
initial mutation is performed)
pdic (dictionary) - Diciontary containing mutations and start/ stop codons..
header (string) - Header for the resulting artificial reference file (fasta
format).
Random (Bool) - Boolean for choosing on of the mutation modes (linear = 0,random
= 1)
distance (int) - User defined parameter which limits the distance between two
mutations.
- Returns: list
- Artificial reference genome sequence.
|