sndrtj / afplot Goto Github PK
View Code? Open in Web Editor NEWPlot allele frequencies in VCF files
License: MIT License
Plot allele frequencies in VCF files
License: MIT License
The defaults are quite ok, but it would be nicer if users can also set the plot colors via a command line flag.
Hello,
I am working with transcriptomic data. I have tried to plot allele frequency per individual from a combined VCF file and got the following error:
Traceback (most recent call last):
File "/userhome/vinciane/anaconda3/bin/afplot", line 10, in <module>
sys.exit(main())
File "/userhome/vinciane/anaconda3/lib/python3.7/site-packages/afplot/cli.py", line 315, in main
cli()
File "/userhome/vinciane/anaconda3/lib/python3.7/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/userhome/vinciane/anaconda3/lib/python3.7/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/userhome/vinciane/anaconda3/lib/python3.7/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/userhome/vinciane/anaconda3/lib/python3.7/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/userhome/vinciane/anaconda3/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/userhome/vinciane/anaconda3/lib/python3.7/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/userhome/vinciane/anaconda3/lib/python3.7/site-packages/afplot/cli.py", line 197, in whole_genome_histogram
contigs, output, kde_only=kde, dpi=dpi)
File "/userhome/vinciane/anaconda3/lib/python3.7/site-packages/afplot/whole_genome.py", line 128, in histogram_main
aspect=1, col_wrap=4, sharey=False)
File "/userhome/vinciane/anaconda3/lib/python3.7/site-packages/seaborn/axisgrid.py", line 382, in __init__
fig.tight_layout()
File "/userhome/vinciane/anaconda3/lib/python3.7/site-packages/matplotlib/figure.py", line 2472, in tight_layout
renderer = get_renderer(self)
File "/userhome/vinciane/anaconda3/lib/python3.7/site-packages/matplotlib/tight_layout.py", line 224, in get_renderer
renderer = canvas.get_renderer()
File "/userhome/vinciane/anaconda3/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 399, in get_renderer
self.renderer = RendererAgg(w, h, self.figure.dpi)
File "/userhome/vinciane/anaconda3/lib/python3.7/site-packages/matplotlib/backends/backend_agg.py", line 86, in __init__
self._renderer = _RendererAgg(int(width), int(height), dpi)
ValueError: Image size of 1200x1647600 pixels is too large. It must be less than 2^16 in each direction.
Could you please help me with this error?
Best regards,
Vinciane
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.