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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b0e79e5c0baebecbb7f455d97f402343be329407773a1b77ce76c1c770e32a4
|
|
| MD5 |
dc3cdf6d06fbac2f061eb8898dacf1c8
|
|
| BLAKE2b-256 |
763f12b7d2951a96acecb444237dfb14e451930e668a718507fbcc1ab1cbbd6c
|
Provenance
The following attestation bundles were made for capcruncher_tools-0.2.5.tar.gz:
Publisher:
ci_workflow.yml on alsmith151/CapCruncherTools
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
capcruncher_tools-0.2.5.tar.gz -
Subject digest:
6b0e79e5c0baebecbb7f455d97f402343be329407773a1b77ce76c1c770e32a4 - Sigstore transparency entry: 1396713681
- Sigstore integration time:
-
Permalink:
alsmith151/CapCruncherTools@a7a38122d334c69b05f9948dc7842ac3353b0c02 -
Branch / Tag:
refs/tags/v0.2.5 - Owner: https://github.com/alsmith151
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci_workflow.yml@a7a38122d334c69b05f9948dc7842ac3353b0c02 -
Trigger Event:
push
-
Statement type:
File details
Details for the file capcruncher_tools-0.2.5-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: capcruncher_tools-0.2.5-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 6.1 MB
- Tags: CPython 3.7+, 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 |
ce3b8bbaf29d41c95b82de6d0ca0ea6e5cce2cb230f3f92f7af5f3e12b23e484
|
|
| MD5 |
62ba5a4c7bcbe1fe983185986c95136c
|
|
| BLAKE2b-256 |
b58a1480773ea75bf4c8ebd038bc9a8ddcd334ac7a6eac441bafa2d7de2ac4e6
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
capcruncher_tools-0.2.5-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
ce3b8bbaf29d41c95b82de6d0ca0ea6e5cce2cb230f3f92f7af5f3e12b23e484 - Sigstore transparency entry: 1396713691
- Sigstore integration time:
-
Permalink:
alsmith151/CapCruncherTools@a7a38122d334c69b05f9948dc7842ac3353b0c02 -
Branch / Tag:
refs/tags/v0.2.5 - Owner: https://github.com/alsmith151
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci_workflow.yml@a7a38122d334c69b05f9948dc7842ac3353b0c02 -
Trigger Event:
push
-
Statement type:
File details
Details for the file capcruncher_tools-0.2.5-cp37-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: capcruncher_tools-0.2.5-cp37-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 5.2 MB
- Tags: CPython 3.7+, 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 |
d46c1b861176f821679f2f6e7309e61ae909bc7d7b0d3db15bafcc247d4c5708
|
|
| MD5 |
5be9368fb5ebda9388ad0943090ef6a1
|
|
| BLAKE2b-256 |
468a17c0b0f31b88f4c88b48603863c12c33fd5c09745674952ef6531b719a00
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
capcruncher_tools-0.2.5-cp37-abi3-macosx_11_0_arm64.whl -
Subject digest:
d46c1b861176f821679f2f6e7309e61ae909bc7d7b0d3db15bafcc247d4c5708 - Sigstore transparency entry: 1396713702
- Sigstore integration time:
-
Permalink:
alsmith151/CapCruncherTools@a7a38122d334c69b05f9948dc7842ac3353b0c02 -
Branch / Tag:
refs/tags/v0.2.5 - Owner: https://github.com/alsmith151
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci_workflow.yml@a7a38122d334c69b05f9948dc7842ac3353b0c02 -
Trigger Event:
push
-
Statement type: