merging of multi samples tabix and bzipped vcf files into one vcf file using Perl program.
1
1
Entering edit mode
5.8 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.

Perl vcf • 2.4k views
ADD COMMENT
1
Entering edit mode

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.

ADD REPLY
0
Entering edit mode

Here the link to the current version: http://www.htslib.org/doc/bcftools.html#concat

ADD REPLY
0
Entering edit mode

Thank you cpad0112 for valuable links :) actually I need to do this by using Perl

ADD REPLY
0
Entering edit mode

Then you can use perl API from VCFtools posted by JC below.

ADD REPLY
1
Entering edit mode
5.8 years ago
JC 13k

You can use VCFtools https://vcftools.github.io/index.html, it also contains Perl modules

ADD COMMENT
0
Entering edit mode

thank you JC for links.

ADD REPLY

Login before adding your answer.

Traffic: 1539 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6