A python package for parsing, merging, and analyzing Kraken2 output files.
Project description
kraut
A python package for parsing, merging, and analyzing Kraken2 output files.
Installation
From PyPI:
pip install krautils
From a local checkout:
pip install .
For developer's dependencies:
pip install .[dev]
pytest
Command
kraut parses, filters, merges, tabulates, splits, and plots Kraken2 reports.
single-report: filter or reformat one Kraken report.merge-reports: merge reports into a simple comparison table.make-table: build a configurable multi-sample abundance table.alpha: calculate alpha diversity from Kraken or Bracken reports.split-combine-table: split a KrakenTools combined table into ALL/LVL tables.plot-single: plot one sample as an HTML or static composition chart.plot-multi: plot multiple samples as an HTML or static stacked/bubble chart.
kraut alpha reports/*.tsv -o alpha.tsv -p alpha.html --metrics core --add-metrics chao1,ace
Example plots:
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file krautils-0.3.0.tar.gz.
File metadata
- Download URL: krautils-0.3.0.tar.gz
- Upload date:
- Size: 25.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73b4ad5ac120d56f18d4dbc841761807bc3d9f0c0d8bd2becf18498783cdb9e8
|
|
| MD5 |
6c3c034c8a60c8dd1cde799ec64a3788
|
|
| BLAKE2b-256 |
74332aa9a65e45d4f806bf1d13fafb51c718fb7ec8b3dccd66b36985f3edd088
|
Provenance
The following attestation bundles were made for krautils-0.3.0.tar.gz:
Publisher:
publish.yml on quadram-institute-bioscience/kraut
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
krautils-0.3.0.tar.gz -
Subject digest:
73b4ad5ac120d56f18d4dbc841761807bc3d9f0c0d8bd2becf18498783cdb9e8 - Sigstore transparency entry: 1400088522
- Sigstore integration time:
-
Permalink:
quadram-institute-bioscience/kraut@1a263813b1350882fb3691d6dac2188231964bb5 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/quadram-institute-bioscience
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1a263813b1350882fb3691d6dac2188231964bb5 -
Trigger Event:
release
-
Statement type:
File details
Details for the file krautils-0.3.0-py3-none-any.whl.
File metadata
- Download URL: krautils-0.3.0-py3-none-any.whl
- Upload date:
- Size: 24.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1d15c416797e42497855ee407b360f591b1923d94ba7333340414d858ae3a9b
|
|
| MD5 |
a46788b4168bc73012e6e6515c36705c
|
|
| BLAKE2b-256 |
73d96838a34db3969015d33e5b201e67b871b7d6810b5dfa93ac252ab7e7b9ca
|
Provenance
The following attestation bundles were made for krautils-0.3.0-py3-none-any.whl:
Publisher:
publish.yml on quadram-institute-bioscience/kraut
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
krautils-0.3.0-py3-none-any.whl -
Subject digest:
f1d15c416797e42497855ee407b360f591b1923d94ba7333340414d858ae3a9b - Sigstore transparency entry: 1400088589
- Sigstore integration time:
-
Permalink:
quadram-institute-bioscience/kraut@1a263813b1350882fb3691d6dac2188231964bb5 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/quadram-institute-bioscience
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1a263813b1350882fb3691d6dac2188231964bb5 -
Trigger Event:
release
-
Statement type: