Mutate DNA
Introduce random base substitutions into a DNA sequence

Raw DNA sequence or one or more FASTA sequences. Non-DNA characters are removed automatically. Input limit: 1,000,000,000 characters.

💡 Quick Summary

Mutate DNA introduces random base substitutions into a DNA sequence. You can control the number of mutations per sequence and whether the first and last three bases are protected — useful for preserving start and stop codons. Mutated sequences can serve as negative controls or help evaluate the significance of sequence analysis results.

📋 How to Use
  1. Paste a raw DNA sequence or one or more FASTA sequences into the textarea. Input limit: 1,000,000,000 characters.
  2. Set the number of mutations to introduce into each sequence (default: 10). Multiple mutations may land on the same position.
  3. Choose whether the first three bases can or cannot be mutated (default: cannot — preserves the start codon).
  4. Choose whether the last three bases can or cannot be mutated (default: can).
  5. Click Run. Each input sequence is mutated independently and output as a FASTA record. Use Copy to copy the plain-text result.
🔬 Applications
  • Generating negative-control sequences for sequence analysis benchmarks
  • Evaluating how many random mutations are needed to disrupt a motif or binding site
  • Producing synthetic mutant libraries for in silico analysis
  • Testing the robustness of ORF finders, pattern search tools, or alignment algorithms against noisy sequences
⚠️ Common Mistakes & Warnings
Mutations are random and may stack

Each mutation picks a position at random within the allowed range. Multiple mutations can affect the same position, so the actual number of changed bases may be less than the requested mutation count.

Non-DNA characters are stripped before mutation

Numbers, spaces, and any non-IUPAC characters are removed from the input before processing. The mutation count applies to the cleaned sequence.

Protection applies to the first/last 3 bases of each sequence

When "cannot" is selected, positions 1–3 (start) or the final 3 positions (end) are excluded from the random mutation range. This is useful for sequences where the ATG start codon or a stop codon must be preserved.

❓ Frequently Asked Questions

Why does my output have fewer changed bases than the mutation count I entered?
Positions are chosen randomly and independently, so the same position can be mutated more than once. If a position is hit a second time it may receive the same base it was just changed to, or a different one — but either way it counts as one of the requested mutations.
What bases are used for substitutions?
Mutations are always substitutions using the four standard DNA bases (A, T, G, C) in lowercase. The new base is always different from the current base at that position.
Can I mutate multiple sequences at once?
Yes — paste multiple FASTA records and each will be mutated independently with the same settings. The output preserves the original FASTA headers.