Thank you! That was helpful, and I didn't encounter any issues with the command:
bcftools merge -m snps -O v -o merged.vcf a.vcf.gz b.vcf.gz
However, when merging two VCFs—one with 2000 SNPs and the other with 1200— I ended up with a merged VCF containing only 1100 SNPs. Ideally, I'd like to generate a VCF with 2000 SNPs or more, with all the variants in the two vcfs.
• 0 views
•
link