Catalog PyPI
PACKAGE EXPLORERView in registry

acedrg

PyPI

Stereochemical description generator for ligands

Versions collected1
Direct dependencies9From release 0.334.0
Last observed20 Oct, 18:06 UTC

README

Version 0.334.0 documentation

AceDRG

PyPI Python Wheel Platforms Downloads Tests DOI Last commit

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

Bug reports and feature requests are best raised as GitHub issues.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.334.02 Sept 20269

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:06 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:be145f0e816717de1875619661b241d2d71a5deb50643ee873879d0ee2be155f