Dear Sir/Madam,

I have two VCF file and I would like to two them using the following command:

bcftools merge -m none -i 'AC:sum,AN:sum' -O z -o merge.vcf.gz file1.vcf.gz 
file2.vcf.gz

But I couldn't figure out now the get the summary INFO field to work?

For example:

File1.vcf:
chr1    914876  rs13302983      T       C       100     PASS    
AC=4842;AF=0.966853;AN=5008
File2.vcf:
chr1    914876  24      T       C       100     PASS    
AC=1446;AF=0.723000;AN=2000

then the,

merge.vcf
chr1    914876  rs13302983;24   T       C       100     PASS    AF=0.723

Please help
Cheers,

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Samtools-help mailing list
Samtools-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/samtools-help

Reply via email to