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-64But 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
Built Distribution
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 run_dipc-1.9.9.tar.gz.
File metadata
- Download URL: run_dipc-1.9.9.tar.gz
- Upload date:
- Size: 39.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fdb77c0e7aaeaa8f085ecf525d025f1ef185b4b091d771f1520f2e1c527b626
|
|
| MD5 |
9c61dfe98c8933768e19b5a4b9ebd145
|
|
| BLAKE2b-256 |
f0f0a56951261f718c769e2374edcacc80a313243370c9bc1b19ec5843b83ae5
|
File details
Details for the file run_dipc-1.9.9-py3-none-any.whl.
File metadata
- Download URL: run_dipc-1.9.9-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3654171ded1722946a85e3775c41cba0b0272e7e3e024281ebd932401e9e1db5
|
|
| MD5 |
7aef81b31d101b22664d991100348a6c
|
|
| BLAKE2b-256 |
1b98c81c78258b87a31f97307921f122abd51d32da264031e23fce38210826a1
|