Fast DNA search and [host] depletion using minimizers
Project description
Deacon Python bindings
Enables index reuse between filtering sessions.
from deacon import Index
index = Index("panhuman-1.k31w15.idx")
stats = [
index.filter(fq, deplete=True, rename=True,
output=fq.replace(".fastq.gz", ".clean.fastq.gz"))
for fq in input_fastqs
]
print(stats[0]["seqs_in"], stats[0]["seqs_out"])
filter accepts single or paired input (fastq2=, output2=), auto-detects .gz/.zst/
.xz output compression from the extension, and returns a dict of summary statistics.
from deacon import filter also exposes filter(index, ...) as a free function.
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 Distributions
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 deacon-0.16.0rc1.tar.gz.
File metadata
- Download URL: deacon-0.16.0rc1.tar.gz
- Upload date:
- Size: 3.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9133b7b52c8e2b2274810dfaf96f48b4ce9f6b2d590d5aa9d0d39894a0ab2670
|
|
| MD5 |
8c846c707657bbb05961a3fe508c7973
|
|
| BLAKE2b-256 |
fb96a96cd222151050bbb4473f79cec132c018701e70bffe1c5b1a7ac94ab242
|
Provenance
The following attestation bundles were made for deacon-0.16.0rc1.tar.gz:
Publisher:
release-pypi.yaml on bede/deacon
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
deacon-0.16.0rc1.tar.gz -
Subject digest:
9133b7b52c8e2b2274810dfaf96f48b4ce9f6b2d590d5aa9d0d39894a0ab2670 - Sigstore transparency entry: 2038155808
- Sigstore integration time:
-
Permalink:
bede/deacon@49292954dfd1dd217e7fa12ebbc3b9248d629925 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/bede
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-pypi.yaml@49292954dfd1dd217e7fa12ebbc3b9248d629925 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file deacon-0.16.0rc1-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: deacon-0.16.0rc1-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.1 MB
- Tags: CPython 3.12+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e63bd4edc49440f5cd97d16f245de9c504fe66231c1988c6337d5de66a3633fd
|
|
| MD5 |
0e7838452129a8d006298d5d3f660a3c
|
|
| BLAKE2b-256 |
0704f1de3ad8f326bb57d9995c8e795749a40fa4682af0c1b34f2fca5b935051
|
Provenance
The following attestation bundles were made for deacon-0.16.0rc1-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
release-pypi.yaml on bede/deacon
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
deacon-0.16.0rc1-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
e63bd4edc49440f5cd97d16f245de9c504fe66231c1988c6337d5de66a3633fd - Sigstore transparency entry: 2038156925
- Sigstore integration time:
-
Permalink:
bede/deacon@49292954dfd1dd217e7fa12ebbc3b9248d629925 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/bede
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-pypi.yaml@49292954dfd1dd217e7fa12ebbc3b9248d629925 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file deacon-0.16.0rc1-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: deacon-0.16.0rc1-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 2.9 MB
- Tags: CPython 3.12+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95e184f33e10db4a0ff9c717e9e6ef3eb6c8b57ef46fce6702bb4284b5e420be
|
|
| MD5 |
82a1f74a9e834cb809a405a8d5bbfbcf
|
|
| BLAKE2b-256 |
aecd07283ecee002956673d353fe78fdde51806bcf887b9e3abffe690ac2a5f1
|
Provenance
The following attestation bundles were made for deacon-0.16.0rc1-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:
Publisher:
release-pypi.yaml on bede/deacon
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
deacon-0.16.0rc1-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl -
Subject digest:
95e184f33e10db4a0ff9c717e9e6ef3eb6c8b57ef46fce6702bb4284b5e420be - Sigstore transparency entry: 2038156362
- Sigstore integration time:
-
Permalink:
bede/deacon@49292954dfd1dd217e7fa12ebbc3b9248d629925 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/bede
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-pypi.yaml@49292954dfd1dd217e7fa12ebbc3b9248d629925 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file deacon-0.16.0rc1-cp312-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: deacon-0.16.0rc1-cp312-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.12+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86ed61830575d9f4ae1de67ae0a564e085a9b9ef4fdf8441308e0199ad74008b
|
|
| MD5 |
7fe32c6b4bf778af7bd64b4c38c36df6
|
|
| BLAKE2b-256 |
5e72c5abf5228ac8433b0b3d9641b12da8b7554c6e578ff54bcb05e4f0675705
|
Provenance
The following attestation bundles were made for deacon-0.16.0rc1-cp312-abi3-macosx_11_0_arm64.whl:
Publisher:
release-pypi.yaml on bede/deacon
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
deacon-0.16.0rc1-cp312-abi3-macosx_11_0_arm64.whl -
Subject digest:
86ed61830575d9f4ae1de67ae0a564e085a9b9ef4fdf8441308e0199ad74008b - Sigstore transparency entry: 2038156057
- Sigstore integration time:
-
Permalink:
bede/deacon@49292954dfd1dd217e7fa12ebbc3b9248d629925 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/bede
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-pypi.yaml@49292954dfd1dd217e7fa12ebbc3b9248d629925 -
Trigger Event:
workflow_dispatch
-
Statement type: