Install
Get the Chr3D pipeline running locally.
Prerequisites
- Conda (Miniconda or Anaconda)
- Git
1. Clone the repository
Terminal
git clone https://github.com/rudrajoshi2481/Chr3D.git
cd Chr3D2. Run the install script
The repository includes an automated install script that sets up everything.
Terminal
chmod +x install.sh
./install.shWhat the script does:
- Configures conda channels (defaults, bioconda, conda-forge)
- Creates a conda environment named
chr3dwith Python 3.12 - Installs bioinformatics tools:
- BWA (alignment)
- SAMtools (BAM processing)
- MACS3 (peak calling)
- pairtools (Hi-C pairs processing)
- cooler (Hi-C matrix generation)
- cooltools (Hi-C analysis)
- Installs Python dependencies (numpy, pandas, scipy, biopython, pysam, etc.)
- Installs the Chr3D package in editable mode
Customize the environment name
To use a different environment name, edit the install.sh file:
install.sh
ENV_NAME="your_env_name" # Change this line3. Activate and use
Terminal
conda activate chr3d
chr3d --helpOr use the Python API:
Python
import chr3d as c3d
print(c3d.__version__)Installed Tools
| Tool | Purpose |
|---|---|
| BWA | Sequence alignment |
| SAMtools | BAM file processing |
| MACS3 | Peak calling |
| pairtools | Hi-C pairs processing |
| cooler | Hi-C matrix generation |
| cooltools | Hi-C analysis |
| parasail | SIMD-accelerated alignment |
| clodius | HiGlass tileset generation |
| polars | Fast DataFrames |
Troubleshooting
- Conda not found: Make sure conda is installed and initialized in your shell
- Permission denied: Run
chmod +x install.shbefore executing - Environment conflicts: Remove existing environment with
conda env remove -n chr3dbefore reinstalling
Last updated on