Skip to main content

Diploid chromatin conformation capture analysis

Project description

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

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

run_dipc-1.9.8.tar.gz (38.9 MB view details)

Uploaded Source

Built Distribution

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

run_dipc-1.9.8-py3-none-any.whl (12.2 MB view details)

Uploaded Python 3

File details

Details for the file run_dipc-1.9.8.tar.gz.

File metadata

  • Download URL: run_dipc-1.9.8.tar.gz
  • Upload date:
  • Size: 38.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.15

File hashes

Hashes for run_dipc-1.9.8.tar.gz
Algorithm Hash digest
SHA256 2aaecc3b320cbcecc31bf278dd4fee1859c5c6e7e584773d60f0146426827f01
MD5 94fb71d10dee55b608bee04cfdde260c
BLAKE2b-256 6129e136419a5927d88e583091836ad29d8b65ce75a17786ebef831c30c44471

See more details on using hashes here.

File details

Details for the file run_dipc-1.9.8-py3-none-any.whl.

File metadata

  • Download URL: run_dipc-1.9.8-py3-none-any.whl
  • Upload date:
  • Size: 12.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.15

File hashes

Hashes for run_dipc-1.9.8-py3-none-any.whl
Algorithm Hash digest
SHA256 7c4e0b68d3d37c342bf9ab4a4f5c3ef3e3a6cabbdc38c5bc42629b199f69df26
MD5 e5c195d74f34c4d8ca95fcb0e5f53804
BLAKE2b-256 06b55c209e7f8843e6b3cc9082e30d1cf8f7482aa7875f978a19b77d78ba6ae0

See more details on using hashes here.

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