Skip to main content

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/....

Release files for sourmash-plugin-abundhist 0.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sourmash-plugin-abundhist 0.3.4
File Size Uploaded
sourmash_plugin_abundhist-0.3.4.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sourmash-plugin-abundhist 0.3.4
File Interpreter ABI Platform
sourmash_plugin_abundhist-0.3.4-py3-none-any.whl Python 3 none any Details

Total release size: 12.5 kB

Release files / sourmash_plugin_abundhist-0.3.4.tar.gz

Download URL sourmash_plugin_abundhist-0.3.4.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1675e0074cbe0eab51d08c4f614c2df68cbc906a96108fb9d0c30efade652e97
BLAKE2b-256 checksum
How to use checksums
a2ae03baa445acc5ae1e2fe289249be33cca92f4a6afb601de631238550f21f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.8

Release files / sourmash_plugin_abundhist-0.3.4-py3-none-any.whl

Download URL sourmash_plugin_abundhist-0.3.4-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d033529a3f3720eb6025c083e72c63cae995846d10eb0b31481f01d2fce10fc6
BLAKE2b-256 checksum
How to use checksums
f790be045a4fc08b9db6520aeb81132f5c60554df1b872f2e7355aa0134770fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.8

Release history Release notifications | RSS feed

This release

0.3.4 This release

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3

2 release files

0.2.1

2 release files

0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page