I checked both wgsim and sherman and I didn't see a way to spike in specific variants (base change and position). Am I missing something?
Hi all,
I am looking to simulate some paired illumina data for a test. What I want to do in order of importance (most important at the top)
- Create fastq files.
- Specify specific SNPs to be in the data
- Control the allelic fractions of the spiked in SNPs
- Have an appropriate error model of illumina sequencing
- Have controllable metrics like duplicate rate, chastity fail rate
There seem to be a number of tools available for simulating illumina - do we know of one that can handle my requirements?
2 answers
Aside from #5, any of the common simulators (wgsim, Sherman, etc.) can do that. For the SNPs, just make a second genome containing them, sample from that as well, and then mix the results in the fraction that you'd like.
Read the entirety of my answer, I mentioned the variants explicitly.
For 1, 2 (maybe 3), 4 we developed a sequencing simulator for ancient DNA: grenaud.github.io/gargammel/ But it can be used to simulate modern DNA. For the PhiX, you can add it as a "microbial contaminant". It automates the process of fragment size distribution, sampling from a diploid genome and generate Illumina-like fastq files. Just give it a "diploid" genome represented by 2 fasta files.
Log in to answer this question.