sourmash plugin to calculate abundance profiles.
Project description
sourmash_plugin_abundhist
Installation
pip install sourmash_plugin_abundhist
Usage
Example
Basic command-line usage:
% sourmash scripts abundhist examples/SRR606249-abund-100k.sig.zip
== This is sourmash version 4.8.3.dev0. ==
== Please cite Brown and Irber (2016), doi:10.21105/joss.00027. ==
loaded 1 total that matched ksize & molecule type
36 [3487] ****************************************
72 [ 485] ******
107 [ 171] **
143 [ 38] *
178 [ 5]
214 [ 3]
249 [ 7] *
285 [ 0]
320 [ 2]
356 [ 2]
Create a nice histogram figure for an isolate reads data set
sourmash scripts abundhist --max 100 --min 1 --bins 100 examples/reads.sig.gz --figure examples/ecoli-reads.png --ymax=200
will create:
Create a nice histogram figure for a metagenome:
% sourmash scripts abundhist examples/SRR606249-abund-100k.sig.zip --figure hist.png
will create this figure:
Support
We suggest filing issues in the main sourmash issue tracker as that receives more attention!
Dev docs
abundhist
is developed at https://github.com/ctb/sourmash_plugin_abundhist.
Testing
Run:
pytest tests
Generating a release
Bump version number in pyproject.toml
and push.
Make a new release on github.
Then pull, and:
python -m build
followed by twine upload dist/...
.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for sourmash_plugin_abundhist-0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1f9946af87e85ea5a496b107b40334969b9d3a9acbd27f9fd8842384210b1ed |
|
MD5 | ae9aa284422707dd67ba8887618f0017 |
|
BLAKE2b-256 | 36326793affb9b2f9c57173d030312868998aa38a7550769fcd7a88465062df4 |
Close
Hashes for sourmash_plugin_abundhist-0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5aae7e7b3d32e34403263b2c11a0d4a118bee2927a7d24c03decc978af9edddb |
|
MD5 | 50a71857dc3d47f2f347c97b3e349c8d |
|
BLAKE2b-256 | ca0cda21eb4c41963e98524e3c3170005333e1d2b123d64dfb94c6d7066e6448 |