AceDRG
AceDRG generates stereochemical descriptions (restraint dictionaries) for ligands and links, for use in macromolecular refinement.
Installation
pip install acedrg
Prebuilt wheels are available for Linux (x86_64), macOS (Apple silicon) and
Windows (x64); each wheel bundles the C++ engine (libmol) and the AceDRG
stereochemistry tables, so no separate CCP4 installation is required at run
time.
Optional extras:
pip install "acedrg[tautomer]" # tautomer handling via molvs
Usage
acedrg -i "CCO" -o ethanol # from a SMILES string (or a file of one)
acedrg -m ligand.mol -o my_ligand # from an MDL mol file
acedrg -s ligand.sdf -o my_ligand # from an SDF file
acedrg -c ligand.cif -o my_ligand # from an mmCIF file
acedrg -L link_instructions.txt -o my_link # covalent link description
acedrg --help # full option list
The bundled engine and tables are located automatically under the environment
prefix (<prefix>/libexec/libmol, <prefix>/share/acedrg/tables). If a CCP4
environment is active it is used as a fallback.
Building from source
On platforms without a wheel, pip builds from the sdist; you can also install from a clone:
git clone https://github.com/MonomerLibrary/AceDRG
cd AceDRG
pip install .
Requirements:
- A C++17 compiler and CMake (>= 3.15)
- Python >= 3.8
- An internet connection — the stereochemistry tables are fetched during the build from the aceDRG-tables repository
Python dependencies (rdkit, gemmi, networkx, numpy, future,
pdbecif, servalcat) are installed automatically.
Tests
pip install ".[tautomer]" pytest
pytest -v python-tests --run-extra
Citation
Long F, Nicholls RA, Emsley P, Gražulis S, Merkys A, Vaitkus A, Murshudov GN (2017). AceDRG: a stereochemical description generator for ligands. Acta Cryst. D 73, 112–122. doi: 10.1107/S2059798317000067
Contributions
AceDRG
Fei Long, Robert A. Nicholls, Paul Emsley, Saulius Gražulis, Andrius Merkys, Antanas Vaitkus, Garib N. Murshudov
Pip installation of AceDRG
Jordan Dialpuri, Lucrezia Catapano, Paul Emsley
Contact
- AceDRG: Fei Long — flong@mrclmb.ac.uk
- Pip packaging and installation: Jordan Dialpuri — jdialpuri@mrclmb.ac.uk
Bug reports and feature requests are best raised as GitHub issues.
Metadata
Release files for acedrg 0.334.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 | |
|---|---|---|---|
| acedrg-0.334.0.tar.gz | 81.2 MB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| acedrg-0.334.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| acedrg-0.334.0-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl | Python 3 | none | Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 | Details |
| acedrg-0.334.0-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
Total release size: 323.0 MB
Release files / acedrg-0.334.0.tar.gz
| Download URL | acedrg-0.334.0.tar.gz |
|---|---|
| Size | 81.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7c79c05be8cdda2b5d7cf6a3dda81a425d6797f71dff7ac2e560d40dd2460e24
|
|
BLAKE2b-256 checksum How to use checksums |
0117af7811d499d105f046075799acc58f031738abc81af41ce04e7971e2e393
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 2, 2026.
Transparency logRelease files / acedrg-0.334.0-py3-none-win_amd64.whl
| Download URL | acedrg-0.334.0-py3-none-win_amd64.whl |
|---|---|
| Size | 80.2 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
6df83a732b88a0aced499880fe3bf6ee906856e7ffe359cf3c27bf98ddaeac2c
|
|
BLAKE2b-256 checksum How to use checksums |
e864de3baa2fe6675e295a5573995b0a496d135227380a3803e5fb4186fce593
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 2, 2026.
Transparency logRelease files / acedrg-0.334.0-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | acedrg-0.334.0-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 80.8 MB |
| Tags | Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
84305dd8893c2d082dbf0795f7ad193f7ebbca5138a825307ac1fdfc1c07a942
|
|
BLAKE2b-256 checksum How to use checksums |
a8d994ea5af527d13a7e50753c5fac3b64cefb8b925b68d3ca894b9a327c35f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 2, 2026.
Transparency logRelease files / acedrg-0.334.0-py3-none-macosx_11_0_arm64.whl
| Download URL | acedrg-0.334.0-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 80.9 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
bf9e77725b396793139bbf629391cad23f305dc326c8bfebb7ac636f761092fd
|
|
BLAKE2b-256 checksum How to use checksums |
571859082eed591cedb856000fd14e44cc02a28c88c02a5b72256e601b7334d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 2, 2026.
Transparency log