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.5.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.5-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.5-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.5.tar.gz.

File metadata

  • Download URL: capcruncher_tools-0.2.5.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.5.tar.gz
Algorithm Hash digest
SHA256 6b0e79e5c0baebecbb7f455d97f402343be329407773a1b77ce76c1c770e32a4
MD5 dc3cdf6d06fbac2f061eb8898dacf1c8
BLAKE2b-256 763f12b7d2951a96acecb444237dfb14e451930e668a718507fbcc1ab1cbbd6c

See more details on using hashes here.

Provenance

The following attestation bundles were made for capcruncher_tools-0.2.5.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.5-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for capcruncher_tools-0.2.5-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ce3b8bbaf29d41c95b82de6d0ca0ea6e5cce2cb230f3f92f7af5f3e12b23e484
MD5 62ba5a4c7bcbe1fe983185986c95136c
BLAKE2b-256 b58a1480773ea75bf4c8ebd038bc9a8ddcd334ac7a6eac441bafa2d7de2ac4e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for capcruncher_tools-0.2.5-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.5-cp37-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for capcruncher_tools-0.2.5-cp37-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d46c1b861176f821679f2f6e7309e61ae909bc7d7b0d3db15bafcc247d4c5708
MD5 5be9368fb5ebda9388ad0943090ef6a1
BLAKE2b-256 468a17c0b0f31b88f4c88b48603863c12c33fd5c09745674952ef6531b719a00

See more details on using hashes here.

Provenance

The following attestation bundles were made for capcruncher_tools-0.2.5-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