Skip to content

Given one fasta sequence, creates multifasta files containing mutant fasta sequences

License

Notifications You must be signed in to change notification settings

aramette/FastaMutator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastaMutator

Given one fasta sequence, creates multifasta files containing mutant fasta sequences.

Description

Given one fasta sequence, creates multifasta files containing mutant fasta sequences The script allows only point mutations. See EMBOSS::msbar (not R) for more complex mutation schemes.

Explanations about the filenames generated

e.g. Fasta1_MR0.01_Nmut100.fasta means

Fasta1 original name

MR0.01 mutation rate of 0.01 = 1% = (seqlength of 100 bases x 0.01 = 1 point mutation was introduced)

Nmut100 100 mutated sequences. (the number at the end of each fasta header indicates the mutant id e.g. …._1, …_2

Warning message

"Caution: Cannot create non-redundant mutants for Fasta1.txt and MR=0.01sequence= 622!!!" This indicates that the algorithm could not find a unique mutant (the same mutants occur at least twice in this set) Change "Ntries" to make more (lengthier) search of unique sequences.

Parameters (hard-coded for now; please change as needed)

FILES = c("Fasta1.txt")

MutationRate = c(0.01,0.02,0.03,0.05,0.10)

Nmutants = 100 # number of mutated fasta sequences to create

Ntries= 10 # how many times to try searching for a new sequence of a variant?

About

Given one fasta sequence, creates multifasta files containing mutant fasta sequences

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages