Error in plotting with vcf compare
1
0
Entering edit mode
6.2 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.2k views
ADD COMMENT
1
Entering edit mode
6.2 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: 2972 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