Skip to main content

Dip-C

Diploid Chromatin Conformation Capture — reconstruct 3D diploid genomes from single cells.

Installation

Method When to use Install time
conda + pip (recommended) Works everywhere; best for HPC clusters and older Linux ~1 minute
pip only Modern systems: macOS, Ubuntu 20.04+, RHEL 8+ ~15 seconds
pip only (source build) Older Linux (e.g. CentOS/RHEL 7, Stanford Sherlock); not recommended — use conda + pip instead 15–30 minutes

Recommended installation (conda + pip)

The easiest way to ensure that the installation will work on your system, regardless of the age of its software, is to create a conda environment and pre-install the compiled dependencies, then install Dip-C with pip:

conda create -n dipc python=3.11
conda activate dipc
conda install -c conda-forge -c bioconda numpy scipy pysam
pip install run-dipc

Note: If you see Run 'conda init' before 'conda activate' (common on HPC clusters), run this first:

source $(conda info --base)/etc/profile.d/conda.sh

Verify the installation:

dip-c --help

Alternative: pip-only install

On modern systems (macOS, Ubuntu 20.04+, RHEL 8+), pip can install everything directly. This is worth trying, but if it fails for any reason we suggest using the above conda + pip installation method:

pip install run-dipc

Why does pip fail on older Linux? (optional reading): If pip failed, use the conda + pip method above. Older systems like CentOS/RHEL 7 have an old C library (glibc < 2.28), so prebuilt packages for NumPy, SciPy, and pysam are not available. Pip falls back to compiling them from source, which takes 15–30 minutes and requires a C++17-capable compiler. If that build also fails with C++ Compiler does not support -std=c++17, the system's C++ compiler is too old. You can install a newer one with:

conda install -c conda-forge gcc_linux-64 gxx_linux-64

But the simplest path is to skip all of this and use the recommended conda + pip installation above.

Upgrading

If you already have Dip-C installed and want to update to the latest version:

pip install --upgrade run-dipc

Usage

dip-c <command> [options]

Run dip-c with no arguments to see all available commands.

Documentation

Full documentation, workflows, and file format specifications are available on GitHub:

https://github.com/tanlongzhi/dip-c

Citations

Please cite the original Dip-C paper:

Tan, Longzhi*; Xing, Dong*; Chang, Chi-Han; Li, Heng; Xie, X. Sunney "Three-dimensional genome structures of single diploid human cells," Science 361, 924-928 (2018). DOI:10.1126/science.aat5641

License

MIT

Metadata

Release files for run-dipc 1.9.10

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

Source distribution (sdist)

Source distribution for run-dipc 1.9.10
File Size Uploaded
run_dipc-1.9.10.tar.gz 39.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for run-dipc 1.9.10
File Interpreter ABI Platform
run_dipc-1.9.10-py3-none-any.whl Python 3 none any Details

Total release size: 51.2 MB

Release files / run_dipc-1.9.10.tar.gz

Download URL run_dipc-1.9.10.tar.gz
Size 39.0 MB
Tags Source
SHA-256 checksum
How to use checksums
ddb402b00980cdd09c9a0be6a833eaa403fca32aaac0fbaff4f86bec9c618861
BLAKE2b-256 checksum
How to use checksums
0a427b408175995f9b68d244a4d4c59722e9a4f5acd64070aef505916ba9b9f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 11, 2026.

Transparency log

Release files / run_dipc-1.9.10-py3-none-any.whl

Download URL run_dipc-1.9.10-py3-none-any.whl
Size 12.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
27bd8a882e8008c3521f99911f8541c53e80d09ae70bdf910e845f7642aa3a8c
BLAKE2b-256 checksum
How to use checksums
aff76afbdeab67de912460ffbf7d64a02d53e91760e144ffff2f8dde30ee894d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 11, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.9.10 This release

2 release files

1.9.9

2 release files

1.9.8

2 release files

1.9.7

2 release files

1.9.6

2 release files

1.9.5

2 release files

1.9.4

2 release files

1.9.3

2 release files

1.9

2 release files

1.0

2 release files

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