Error in plotting with vcf compare
1
0
Entering edit mode
6.8 years ago

Hello! I am running vcftools to compare two VCFs, but when I try to plot the results, I have always the same error Use of uninitialized value $out in print at /usr/local/Cellar/vcftools/0.1.15/libexec/bin/vcf-compare line 858.. I revised the line 858: print $fh $out;. The command that I use to run the program is: vcf-compare -p FreeBayes_VT.vcf.gz Manta_VT.vcf.gz. Can somebody help me, please? Thank you!

software error • 1.3k views
ADD COMMENT
1
Entering edit mode
6.8 years ago

From what I gather, VCFtools is now more or less superceded by BCFtools. Particularly for vcf-compare, you should try bcftools stats, followed by plot-vcfstats for the plotting part.

See also the example on the 'new' VCFtools page: https://vcftools.github.io/htslib.html

Kevin

ADD COMMENT
1
Entering edit mode

Thanks, I'm using BCFTools and it works!

ADD REPLY
0
Entering edit mode

De nada amigo.

ADD REPLY

Login before adding your answer.

Traffic: 1641 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