You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
simuG introduces variants to the haploid version of the specified genome, with which you can further simulate reads on top of the variant-carrying genome output by simuG with any read simulators. So you can simulate two different haploid version of variant-carrying genomes by simuG, with some of variants shared between the two simulated haploid genomes (i.e., homozygous variants) and the other variants differ between the two simulated haploid genomes (i.e., heterozygous variants). Here is a potential protocol:
Based on your ref_genome, simulate random variants with simuG to generate sim_genome1 and sim_vcf1.
Take the output vcf file sim_vcf1 generated by simuG in step (1) for modification, during which you can control which variants to keep (which will be homozygous variants) and which variants to change (which will be heterozygous variants). Let's call this modified vcf file as sim_vcf2.
Simulate specified variants with simuG using sim_vcf2 as the input to generate sim_genome_2.
Now you will have sim_genome1 and sim_genome2, which share some homozygous variants relative to the ref_genome but also have some heterozygous variants that segregates between sim_genome1 and sim_genome2.
Does this tool only simulate homozygous SNPs or is there an easy way to specify some proportion as homozygous and some proportion heterozygous?
The text was updated successfully, but these errors were encountered: