Installation¶
Quick Install¶
System Requirements
PyPI wheels require glibc 2.34+ (Ubuntu 22.04+, RHEL 9+, Debian 12+). For older systems, see Legacy Linux.
Requirements¶
| Component | Requirement |
|---|---|
| Python | 3.10+ |
| OS | Linux (glibc 2.34+), macOS, Windows (WSL2) |
| Memory | 4GB+ (8GB for large BAMs) |
For Nextflow Workflow¶
- Nextflow 21.10.3+
- Docker or Singularity
Legacy Linux (RHEL 8)¶
For RHEL 8, CentOS 8, or other systems with glibc < 2.34:
Why not pip install?
The PyPI wheels require glibc 2.34+. On RHEL 8 (glibc 2.28), pip would fall back to source compilation which requires Rust and OpenSSL 3.0 dev libraries. Using conda provides these dependencies automatically.
Verification¶
Docker Usage¶
docker run --rm \
-v $(pwd):/data \
ghcr.io/msk-access/py-gbcms:2.3.0 \
gbcms run \
--variants /data/variants.vcf \
--bam /data/sample.bam \
--fasta /data/reference.fa \
--output-dir /data/results/
Docker Volume
Use -v to mount your data directory.
Troubleshooting¶
Module Not Found¶
BAM Index Missing¶
Docker Permission Denied¶
glibc Version Error¶
If you see GLIBC_2.34 not found, use the Legacy Linux instructions.
Upgrade¶
Next Steps¶
- CLI Quick Start — Command examples
- Nextflow Guide — HPC pipeline