Hi Biostars,
I am looking for a tool to introduce variants in a reference genome.
The ideal tool I am looking for:
Takes as input:
genome fasta
a vcf file
What it does:
- Insert some of the variants (randomly) present in the vcf into the reference genome
What is the output
- The ideal output would be a mutated new reference fasta, and a vcf file (The vcf file is not that important).
The reason I am looking for this is because I am working on simulation tool, but I would be happy to rely on a third party software to introduce the mutations.
cheers,
use consensus from bcftools. https://samtools.github.io/bcftools/bcftools.html#consensus IP
copy/pasted from manual: