samtools / bcftools

This is the official development repository for BCFtools. See installation instructions and other documentation here http://samtools.github.io/bcftools/howtos/install.html
http://samtools.github.io/bcftools/
Other
682 stars 240 forks source link

vcfplots error #135

Closed kisun closed 10 years ago

kisun commented 10 years ago

Parsing bcftools stats output: raw.vcf.gz.stats Plotting graphs: python vcfplots/plot.py Traceback (most recent call last): File "vcfplots/plot.py", line 155, in ax1.legend(numpoints=1,markerscale=1,loc='best',prop={'size':10},frameon=False) File "/usr/lib64/python2.6/site-packages/matplotlib/axes.py", line 4044, in legend self.legend_ = mlegend.Legend(self, handles, labels, kwargs) TypeError: init**() got an unexpected keyword argument 'frameon' The command exited with non-zero status 256: python vcfplots/plot.py

at /homeappl/home/kipokh/appl_taito/bcftools-1.1/plot-vcfstats line 77 main::error('The command exited with non-zero status 256:\x{a}\x{9}python vcfplots...') called at /homeappl/home/kipokh/appl_taito/bcftools-1.1/plot-vcfstats line 270 main::plot('HASH(0x104a218)') called at /homeappl/home/kipokh/appl_taito/bcftools-1.1/plot-vcfstats line 66

What's wrong here and what needs to be modified to generate plots of my vcf file? Thanks!

pd3 commented 10 years ago

It looks like an older version of matplotlib which does not support the 'frameon' keyword? http://matplotlib.1069221.n5.nabble.com/legend-border-frameon-keyword-td18467.html

kisun commented 10 years ago

Thanks, problem solved!

Swanthana commented 10 years ago

Could you please tell me how did you resolved this problem? I am getting the same error and I do need to compare only 2 sample in vcf file. What are the options we need to use for stats command