Skip to main content

Extra utilities to enhance CapCruncher

Project description

CapCruncherTools

Overview

A collection of Rust tools to speed up the Python-based functionality of the CapCruncher project. Python bindings have been generated to allow for easy integration into the existing Python code base.

Development

This project uses uv for Python dependency management and environment setup. Dependencies are declared in pyproject.toml and resolved in uv.lock.

Create or update the local environment:

uv sync --dev

Build the Rust extension into the uv environment:

uv run maturin develop --release

Run the test suite:

uv run pytest

Refresh locked dependencies after editing pyproject.toml:

uv lock --upgrade

Release version bumps are managed by release-plz. After conventional commits land on the default branch, the release workflow opens or updates a release PR that bumps Cargo.toml, updates Cargo.lock, and maintains the changelog. Merge that PR, then create a vX.Y.Z GitHub release from the merged commit to publish the Python distributions.

Runtime dependency ranges are intentionally broad so capcruncher-tools can install inside CapCruncher pipeline environments without forcing shared libraries such as Click, pandas, or Polars to a single version. Build and development tools remain pinned for reproducible local builds. CapCruncher itself is expected to be supplied by the parent pipeline or CLI environment.

Current Accelerators

FASTQ deduplication

This tool takes paired FASTQ files and removes any duplicate fragments.

Use it through the CapCruncher CLI or Python API; this package provides the compiled acceleration layer.

Restriction digestion of FASTA

This tool takes a FASTA file and a list of restriction enzymes and produces a list of fragments in BED format.

Use it through the CapCruncher CLI or Python API; this package does not install a separate capcruncher-tools command.

Count restriction fragments

This tool counts the number of interactions between a fragment (in silico digested read).

Use it through CapCruncher's interaction-counting API; cooler creation and workflow orchestration live in CapCruncher.

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

capcruncher_tools-0.2.6.tar.gz (2.9 MB view details)

Uploaded Source

Built Distributions

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

capcruncher_tools-0.2.6-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.1 MB view details)

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

capcruncher_tools-0.2.6-cp37-abi3-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.7+macOS 11.0+ ARM64

File details

Details for the file capcruncher_tools-0.2.6.tar.gz.

File metadata

  • Download URL: capcruncher_tools-0.2.6.tar.gz
  • Upload date:
  • Size: 2.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for capcruncher_tools-0.2.6.tar.gz
Algorithm Hash digest
SHA256 b1abc4a0e75a2e90955a900f724bf32ab2510751cd3ea108e34d1ae40e2db334
MD5 b564e93affbd0c2f349769a70f3ba4a0
BLAKE2b-256 310e525312f99c5b8079085ce6c4865d808bf3751fbe021811cc237e72e06bf7

See more details on using hashes here.

Provenance

The following attestation bundles were made for capcruncher_tools-0.2.6.tar.gz:

Publisher: ci_workflow.yml on alsmith151/CapCruncherTools

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

File details

Details for the file capcruncher_tools-0.2.6-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for capcruncher_tools-0.2.6-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d6974d9328420ddb0a989451b7c81b1f970cf04c879939d32b173c14eb817785
MD5 0395ce44f455ba7da209b17e2fa6124d
BLAKE2b-256 e9a61fcb0957b6b9e9e2c245da2a716efc7fbfb352f0767530f639b06bed1388

See more details on using hashes here.

Provenance

The following attestation bundles were made for capcruncher_tools-0.2.6-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: ci_workflow.yml on alsmith151/CapCruncherTools

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

File details

Details for the file capcruncher_tools-0.2.6-cp37-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for capcruncher_tools-0.2.6-cp37-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 021bb4c5d419473cb71a985224fe1876509e3dc97e3ec369019c81870c68e95d
MD5 fcfe048ee883f326738fd4d737f70873
BLAKE2b-256 6a281af737e4fd9c8ddcd318ffd411185ebfe9e696d24238cb65f63cc723cfe6

See more details on using hashes here.

Provenance

The following attestation bundles were made for capcruncher_tools-0.2.6-cp37-abi3-macosx_11_0_arm64.whl:

Publisher: ci_workflow.yml on alsmith151/CapCruncherTools

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