Entering edit mode
6.4 years ago
aarvaBioinfo
▴
10
HI, I want to merge multi sample individual files ( vcf1.vcf.gz, vcf2.vcf.gz.............vcf30.vcf.gz) which has is tabix index and compressed by bgzipp so Is here anyone know the Perl Program for this.
Is perl mandatory in merging VCF files? You can use bcftools to merge vcfs. You can also use picard's MergeVCFs or GATK combinevariants walker.
Here the link to the current version: http://www.htslib.org/doc/bcftools.html#concat
Thank you cpad0112 for valuable links :) actually I need to do this by using Perl
Then you can use perl API from VCFtools posted by JC below.