samtools / bcftools

This is the official development repository for BCFtools. See installation instructions and other documentation here http://samtools.github.io/bcftools/howtos/install.html
http://samtools.github.io/bcftools/
Other
649 stars 240 forks source link

Combining --merge options in bcftools merge ? #2048

Open yvanw opened 9 months ago

yvanw commented 9 months ago

Hello, When merging VCFs, I would like to not allow multiallelic records and only merge by ID, does combining multiple --merge options works ?

bcftools merge -m none -m id -i VCTYPE:join -O v -o out.vcf in1.vcf in2.vcf in3.vcf ?

My main issue is that I was using -m none, and sometimes identical records with different IDs were merged, the different IDs being concatenated and separated by a semi-column.

Thanks a lot for your feedback ! Yvan