Skip to main content

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:

histogram

Create a nice histogram figure for a metagenome:

% sourmash scripts abundhist examples/SRR606249-abund-100k.sig.zip --figure hist.png

will create this figure:

histogram

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

sourmash_plugin_abundhist-0.3.3.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sourmash_plugin_abundhist-0.3.3-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file sourmash_plugin_abundhist-0.3.3.tar.gz.

File metadata

File hashes

Hashes for sourmash_plugin_abundhist-0.3.3.tar.gz
Algorithm Hash digest
SHA256 c83bfc34fb326536bbb98c1b54696841c4d6a8af54cc47b7f85cc529877ad2e1
MD5 ff0bfedf8a92d28f90d90e09558333ac
BLAKE2b-256 8cf0bf96452084617ddcc2a255791236517a13ccd2981b780feef61657f198da

See more details on using hashes here.

File details

Details for the file sourmash_plugin_abundhist-0.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for sourmash_plugin_abundhist-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 98374b1807418d3fd5958bc78d3c35a5b1e2b2ef75d613a3c8afcf5f67b98983
MD5 d2845b9b0da99f50b301a7e13c593869
BLAKE2b-256 9a6b1ebbb74ed168b0737dd7f23ce35317e40c90358fc415069d486c05ad5d2e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page