This is a test version of Biostars. For the public version, visit https://www.biostars.org.
not able to get the actual information of VCF file from vcf-stats

Hi all,

I am not able to get the information from vcftools-stats tools,please let me know how to get the output in the tabular format so I can read it.

some example command is

perl vcf-stats test.vcf

Thanks

snp

What is the output that you get and how would you like it to be formatted instead?

1 answer

By default, vcf-stats outputs the stats as a Perl Data::Dumper string.

If you want a collection of text files with the statistics, you need to provide a output file prefix with -p.

eg. perl vcf-stats -p mystats/test test.vcf

Then look at the files in the mystats/ folder.

Log in to answer this question.