Installation¶
System Requirements¶
- Python: 3.12 or 3.13 (3.14+ not yet supported due to PyO3 compatibility)
- OS: Linux, macOS, or WSL on Windows
- Disk: Sufficient space for BAM files and output Zarr datasets
- RAM: 4 GB minimum (8+ GB recommended for large files)
Installation¶
Via Conda (Recommended)¶
conda create -n quantnado python=3.13
conda activate quantnado
conda install -c conda-forge quantnado
Or with mamba (faster):
Via Pip¶
From Source (Development)¶
git clone https://github.com/Milne-Group/QuantNado.git
cd QuantNado
# Install in editable mode with dev dependencies
pip install -e ".[dev]"
Verify Installation¶
Dependencies¶
Key dependencies installed automatically:
- pysam - BAM file handling
- pyBigWig - BigWig track handling
- zarr - Data storage
- dask - Parallel processing
- xarray - Multidimensional arrays
- pandas - Metadata handling
Troubleshooting Installation¶
Python 3.14 Compatibility Issue¶
If you see PyO3's maximum supported version (3.13) error, downgrade to Python 3.13:
BAM Indexing Requirement¶
Your BAM files must be indexed (.bai files). If missing:
Missing Chromsizes File¶
Download chromsizes for your genome:
# Human hg38
curl -O ftp://hgdownload.cse.ucsc.edu/goldenPath/hg38/bigZips/hg38.chrom.sizes
# Or generate from FASTA
faidx --fetch-order genome.fasta | cut -f1,2 > genome.chrom.sizes
Optional Dependencies¶
Development tools:
Verify Installation¶
Check that QuantNado is properly installed:
Next Steps¶
After installation, see:
- Quick Start - Get running in 5 minutes
- Basic Usage - Learn core concepts
- Examples - Full workflow examples