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 example/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 example/reads.sig.gz --figure example/ecoli-reads.png --ymax=200
will create:
Create a nice histogram figure for a metagenome:
% sourmash scripts abundhist example/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.
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.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6210128b8159cb6b40773f3f8e47beabce0e4ea16b41d6c99b106da4df26bdb |
|
MD5 | 0325a2dfa2cd1bc2a03ecd4ce9d3583c |
|
BLAKE2b-256 | c8576eb6628763118d22997d1261ce8c8bdb435a1d0c0d26f7be1eb30d3cbbcb |
Close
Hashes for sourmash_plugin_abundhist-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5c6bb6472d5da9894d190cc0fc92302dad0cfcd7b9ea46bc52defdb89b739ac |
|
MD5 | b65484231d7f9706ea02ff6a04a302a4 |
|
BLAKE2b-256 | 5db74f9bc4e374610f5511f08fa1cc978ce7d408c9dbe4c396b86cbf32952dc2 |