This is a test version of Biostars. For the public version, visit https://www.biostars.org.
vcf file summary

Hello everyone, I have vcf files for chr 1 to 22. I want to do a summary statistics for these vcf files. Like find out the sample size, no. of SNP,mean and standard deviation. Is there any software or tools which can plot graph for these calculations? Thank You.

vcf summary statistics snp

You should mention that you've tried the vcfstats software and are facing issues; and also point to your post: error related to vcfstats

Yes, I tried vcfstats but its showing error. So now I am trying bcftools stats and then plot-vcfstats to analyse the output produce by bcftools stats. But its showing error the error:

Parsing bcftools stats output: test.vchk
Plotting graphs: python plot.py
Traceback (most recent call last):
  File "plot.py", line 53, in <module>
    import matplotlib as mpl
ModuleNotFoundError: No module named 'matplotlib'
The command exited with non-zero status 256:
        python plot.py

 at /home/kxj190026/anaconda3/envs/chip-seq/bin/plot-vcfstats line 99.
        main::error("The command exited with non-zero status 256:\x{a}\x{9}python plot.py\x{a}\x{a}") called at /home/anaconda3/envs/chip-seq/bin/plot-vcfstats line 287
        main::plot(HASH(0x55a9a5d69e80)) called at /home/anaconda3/envs/chip-seq/bin/plot-vcfstats line 69

Thank you so much. I am able to do it now. I installed matplotlib

I am not really able to understand how to get information from this summary? Like what does n or ts/tv means. Like what does this summary overall predict?

0 answers

No answers yet.

Log in to answer this question.