Installation¶
Requirements¶
- Python 3.8 or higher
- Linux or macOS
- Conda (recommended) or pip
Conda (recommended)¶
cgatcore is available on the Bioconda channel:
pip¶
Development installation¶
To install from source for development:
To update:
Verify installation¶
DRMAA support (for HPC clusters)¶
To submit jobs to a cluster via DRMAA, install the Python DRMAA bindings and point the environment variable at your cluster's DRMAA shared library:
Add the export line to your ~/.bashrc (or your conda environment's
activation script) so it is set every session.
If DRMAA is not available, cgatcore falls back to direct CLI job submission
(sbatch, qsub, etc.) — see Cluster configuration.
Troubleshooting¶
- Conda channel priority: ensure
conda-forgeandbiocondaare listed in your.condarcand thatconda-forgeis first. - Missing dependencies: with a bare
pip install, you may need to install optional dependencies (e.g.drmaa,gevent,ruffus) manually. DRMAA_LIBRARY_PATHnot set: jobs will silently fall back to local execution unless the CLI fallback is configured (cluster.queue_managerin.cgat.yml).