Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deacon-0.16.0rc1.tar.gz (3.0 MB view details)

Uploaded Source

Built Distributions

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

deacon-0.16.0rc1-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.17+ x86-64

deacon-0.16.0rc1-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.9 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.17+ ARM64

deacon-0.16.0rc1-cp312-abi3-macosx_11_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

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

Hashes for deacon-0.16.0rc1.tar.gz
Algorithm Hash digest
SHA256 9133b7b52c8e2b2274810dfaf96f48b4ce9f6b2d590d5aa9d0d39894a0ab2670
MD5 8c846c707657bbb05961a3fe508c7973
BLAKE2b-256 fb96a96cd222151050bbb4473f79cec132c018701e70bffe1c5b1a7ac94ab242

See more details on using hashes here.

Provenance

The following attestation bundles were made for deacon-0.16.0rc1.tar.gz:

Publisher: release-pypi.yaml on bede/deacon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file deacon-0.16.0rc1-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for deacon-0.16.0rc1-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e63bd4edc49440f5cd97d16f245de9c504fe66231c1988c6337d5de66a3633fd
MD5 0e7838452129a8d006298d5d3f660a3c
BLAKE2b-256 0704f1de3ad8f326bb57d9995c8e795749a40fa4682af0c1b34f2fca5b935051

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file deacon-0.16.0rc1-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for deacon-0.16.0rc1-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 95e184f33e10db4a0ff9c717e9e6ef3eb6c8b57ef46fce6702bb4284b5e420be
MD5 82a1f74a9e834cb809a405a8d5bbfbcf
BLAKE2b-256 aecd07283ecee002956673d353fe78fdde51806bcf887b9e3abffe690ac2a5f1

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file deacon-0.16.0rc1-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for deacon-0.16.0rc1-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 86ed61830575d9f4ae1de67ae0a564e085a9b9ef4fdf8441308e0199ad74008b
MD5 7fe32c6b4bf778af7bd64b4c38c36df6
BLAKE2b-256 5e72c5abf5228ac8433b0b3d9641b12da8b7554c6e578ff54bcb05e4f0675705

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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