Introduction
The full potential of cryo-EM in drug discovery remains limited by poor density resolvability at ligand-binding interfaces. Although recent advances in deep learning have transformed cryo- EM map enhancement, existing approaches largely focus on protein regions and often neglect ligand-containing sites. Here, we present CryoLigATE, an AI framework specifically designed to enhance the density resolvability of protein–ligand interfaces. We trained and evaluated CryoLigATE across a structurally diverse dataset including pharmaceutical drugs, lipids, steroids, and carbohydrates.
CryoLigATE features a streamlined, single-command interface. It automatically isolates the target sub-volume using a preliminary atomic model as a spatial reference, requiring no manual box curation. The pipeline is computationally efficient, with localized refinement completed in seconds on standard desktop-grade GPU hardware.
Installation
Note: We strongly recommend installing CryoLigATE in a fresh Python or Conda environment to avoid dependency conflicts.
Option A: Install CryoLigATE via PyPI (Recommended):
1. Create a clean environment with Python
conda create -n cryoligate python=3.10 -y
conda activate cryoligate
2. Install the package
pip install cryoligate -U
Option B: Install directly from GitHub for the latest development updates:
1. Clone the repository and step into it
git clone https://github.com/nandanhaloi123/CryoLigATE.git
cd CryoLigATE
2. Create the environment using the local file
conda env create -f environment.yml
conda activate cryoligate
3. Link your local directory in editable mode
pip install -e .
If you are installing on CPU-only or non-CUDA GPU hardware, the pipeline will automatically fall back to CPU processing. Note that the CPU version is significantly slower than the GPU version for 3D volumetric refinement.
Inference
Before running inference or fine-tuning, download the pre-trained weights:
mkdir weights
wget -O weights/cryoligate_v2.0.0.pth https://github.com/nandanhaloi123/CryoLigATE/releases/download/v2.0.0/cryoligate_v2.0.0.pth
Download the example data used in the inference command:
mkdir -p example/8si9
wget -O 8si9.zip https://github.com/nandanhaloi123/CryoLigATE/releases/download/v2.0.0/8si9.zip
unzip 8si9.zip -d example/8si9/
rm 8si9.zip
Run inference using CryoLigATE (load conda enviornment with conda activate cryoligateif you have not already):
Note: Although the user provides an aligned PDB model containing the ligand, this coordinate information is utilized solely to localize the region of interest. Only the localized experimental density and the derived protein occupancy mask are used as input for CryoLigATE.
cryoligate-infer --weights weights/cryoligate_v2.0.0.pth --map example/8si9/emd_40503.map --pdb example/8si9/8si9.cif --resname Y4B --resid 402
Contact
For any questions, discussions, or collaboration inquiries, please reach out:
- Nandan Haloi: nandanhaloi123@gmail.com, nandan.haloi@scilifelab.se
- Lab Website: Nandan's Personal Webpage
Bug Reports & Feature Requests: If you encounter any issues while using CryoLigATE or have ideas for new features, please open an issue on our GitHub Issues page rather than sending an email. This helps us track problems efficiently and allows the entire community to benefit from the solutions!
License
Our model and code are released under MIT License, and can be freely used for both academic and commercial purposes.
Cite
If you use this code, dataset or the models in your research, please cite the following papers:
@article{haloi2026cryoligate,
title={CryoLigATE: enhancing the resolvability of cryo-EM maps in protein-ligand complexes using deep learning},
author={Nandan Haloi1, Rebecca J. Howard, and Erik Lindahl},
journal={In Prep},
year={2026},
}
Metadata
Release files for cryoligate 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cryoligate-2.0.0.tar.gz | 12.4 kB | With provenance | Details for cryoligate-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cryoligate-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for cryoligate-2.0.0-py3-none-any.whl |
Total release size: 23.0 kB
Release files / cryoligate-2.0.0.tar.gz
| Download URL | cryoligate-2.0.0.tar.gz |
|---|---|
| Size | 12.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
efb1b9b4c4e7f2c3e3f3827a47efaa3b6483f71d62c9d5f5f3cc0ea6d2a068e8
|
|
BLAKE2b-256 checksum How to use checksums |
19de062d1c547f0958d2bd941a2800d72911d79a3f4e94ee5c792727e5423a2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 2, 2026.
Transparency logRelease files / cryoligate-2.0.0-py3-none-any.whl
| Download URL | cryoligate-2.0.0-py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d13da5cd972027ffd75b6b6d857ca03d4433d93fd85d5fd3d0ed097c03edd2c0
|
|
BLAKE2b-256 checksum How to use checksums |
5bf511827f7288f0cd21102ef03edb78d20096e09fd9dae3ab92dad5cc375beb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 2, 2026.
Transparency logSecurity for cryoligate 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for cryoligate-2.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 2, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.