bcftools icon indicating copy to clipboard operation
bcftools copied to clipboard

Combining --merge options in bcftools merge ?

Open yvanw opened this issue 1 year ago • 0 comments

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

yvanw avatar Nov 28 '23 08:11 yvanw