Skip to main content

CapCruncher

Documentation Codecov Anaconda-Server Badge Anaconda-Server Badge License DOI Downloads

CapCruncher Logo

The CapCruncher package is designed to process Capture-C, Tri-C and Tiled-C data. Unlike other pipelines that are designed to process Hi-C or Capture-HiC data, the filtering steps in CapCruncher are specifically optimized for these datasets. The package consists of a configurable data processing pipeline and a supporting command line interface to enable fine-grained control over the analysis. The pipeline is fast, robust and scales from a single workstation to a large HPC cluster. It is designed to be run on an HPC cluster and can be configured to use a variety of package management systems, such as conda and singularity. For more information, see the documentation.

Note: The current version of CapCruncher is in beta. Please report any issues you encounter to the issue tracker

Quick Start

Installation

Warning:

CapCruncher is currently only availible for linux with MacOS support planned in the future.

CapCruncher is available on conda and PyPI. To install the latest version, run:

pip install capcruncher

or

mamba install -c bioconda capcruncher

Please note that it is highly recommended to install CapCruncher in a conda environment. If you do not have conda installed, please follow the instructions here to install mambaforge.

See the installation guide for more detailed instructions.

Usage

CapCruncher commands are run using the capcruncher command. To see a list of available commands, run:

capcruncher --help

To see a list of available options for a command, run:

capcruncher <command> --help

See the CLI Reference for more detailed information regarding the various subcommands.

Pipeline

The CapCruncher pipeline handles the processing of raw data from the sequencer to the generation of a contact matrix, generation of plots and production of a UCSC genome browser track hub. See the pipeline guide for more detailed instructions including how to configure the pipeline to run on HPC clusters and use various package management systems conda and singularity.

Pipeline Configuration

The pipeline is configured using a YAML file but it is strongly recommended to use the capcruncher pipeline-config command to generate a tailored config file. To use the command, run:

capcruncher pipeline-config

Simply follow the prompts to generate a config file. See the pipeline configuration guide for more detailed instructions.

Running the pipeline

The pipeline is run using the capcruncher pipeline command. Ensure that you have a configuration file and the fastq files to process are in the current working directory.

# Basic usage
capcruncher pipeline --cores <NUMBER OF CORES TO USE>

# Real example running the pipeline with 8 cores, using the slurm profile for running on a cluster with a SLURM workflow management system and using singularity for dependency management
capcruncher pipeline --cores 8 --profile slurm --use-singularity

Note: In order to avoid disconnecting from the cluster, it is recommended to run the pipeline in a tmux session. Alternatively, nohup can be used to run the pipeline in the background. For example:

# tmux example
tmux new -s capcruncher
capcruncher pipeline --cores 8 --profile slurm --use-singularity

# nohup example
nohup capcruncher pipeline --cores 8 --profile slurm --use-singularity &

See the pipeline guide for more detailed instructions.

Metadata

Release files for capcruncher 0.3.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for capcruncher 0.3.14
File Size Uploaded Provenance
capcruncher-0.3.14.tar.gz 85.8 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for capcruncher 0.3.14
File Interpreter ABI Platform
capcruncher-0.3.14-py3-none-any.whl Python 3 none any Details

Total release size: 85.9 MB

Release files / capcruncher-0.3.14.tar.gz

Download URL capcruncher-0.3.14.tar.gz
Size 85.8 MB
Tags Source
SHA-256 checksum
How to use checksums
149a582b49d6206d44e1dd25b824a1c0e2db83ff84cd3561cf293c3afc36b537
BLAKE2b-256 checksum
How to use checksums
12c8550fd3c9b00884f5dee725d618c43227bc2a84dfc573d410c12c0706ff16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21

Release files / capcruncher-0.3.14-py3-none-any.whl

Download URL capcruncher-0.3.14-py3-none-any.whl
Size 153.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1d007d0ddb10ae948cf2d360fc7f27f5dc8e4d56cd786177a842b37e38ae662
BLAKE2b-256 checksum
How to use checksums
b78a239bb0e2d7629f0a98edf681ca67d7e8869eebab92ba4f5c55ec844971e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21

Security for capcruncher 0.3.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page