Skip to main content

CGRTools

https://zenodo.org/badge/14690494.svg

Tools for processing of reactions based on Condensed Graph of Reaction (CGR) approach.

Basic operations:
  • Read/write/convert formats: MDL .RDF (RXN) and .SDF (MOL), .MRV, SMILES, INCHI (Linux and Windows), .XYZ, .PDB

  • Standardize molecules and reactions and valid structures checker.

  • Duplicate searching.

  • Tetrahedron, Allene and CIS-TRANS stereo checking.

  • Produce CGRs.

  • Perform subgraph search.

  • Build/edit molecules and reactions.

  • Produce template based reactions and molecules.

  • Atom-to-atom mapping checker and rule-based fixer.

  • Perform MCS search.

  • 2d coordinates generation (based on SmilesDrawer)

  • 2d/3d depiction.

Full documentation can be found here

INSTALL

Highly recommended to use python 3.8+. Python 3.6 and 3.7 deprecated.

Linux Debian based

  • Install python3.8, virtualenv and git:

    sudo apt install python3.8 python3.8-dev git python3-virtualenv
  • Create new environment and activate it:

    virtualenv -p python3.8 venv
    source venv/bin/activate

Mac

  • Install python3.8 and git using brew:

    brew install git
    brew install python3
  • Install virtualenv:

    pip install virtualenv
  • Create new environment and activate it:

    virtualenv -p python3.8 venv
    source venv/bin/activate

Windows

  • Install python3.8 and git using Chocolatey:

    choco install git
    choco install python3
  • Install virtualenv:

    pip install virtualenv
  • Create new environment and activate it:

    virtualenv venv
    venv\Scripts\activate

General part

  • stable version available through PyPI:

    pip install CGRTools
  • Install CGRtools with MRV files parsing support:

    pip install CGRTools[mrv]
  • Install CGRtools with structures clean2d support (Note: install NodeJS into system, see details):

    pip install CGRtools[clean2d]
  • Install CGRtools with optimized XYZ parser:

    pip install CGRtools[jit]

If you still have questions, please open issue within github.

PACKAGING

For wheel generation just type next command in source root:

python setup.py bdist_wheel

CONTRIBUTORS

CITE THIS

CGRtools: Python Library for Molecule, Reaction, and Condensed Graph of Reaction Processing. Journal of Chemical Information and Modeling 2019 59 (6), 2516-2521. DOI: 10.1021/acs.jcim.9b00102

Metadata

Release files for cgrtools-stable 4.2.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for cgrtools-stable 4.2.13
File
cgrtools_stable-4.2.13-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
cgrtools_stable-4.2.13-cp312-cp312-win32.whl CPython 3.12 CPython 3.12 Windows x86-32 Details
cgrtools_stable-4.2.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
cgrtools_stable-4.2.13-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
cgrtools_stable-4.2.13-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
cgrtools_stable-4.2.13-cp311-cp311-win32.whl CPython 3.11 CPython 3.11 Windows x86-32 Details
cgrtools_stable-4.2.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
cgrtools_stable-4.2.13-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
cgrtools_stable-4.2.13-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
cgrtools_stable-4.2.13-cp310-cp310-win32.whl CPython 3.10 CPython 3.10 Windows x86-32 Details
cgrtools_stable-4.2.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
cgrtools_stable-4.2.13-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details

Total release size: 11.6 MB

Release files / cgrtools_stable-4.2.13-cp312-cp312-win_amd64.whl

Download URL cgrtools_stable-4.2.13-cp312-cp312-win_amd64.whl
Size 931.2 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
9054509651bd5e9677fe6fea5502af05e77e4f5ec3f365ab4f86f8ae9079b6b7
BLAKE2b-256 checksum
How to use checksums
83cf6d1b0e45d7dc84e9a0b5a5b60ed51b8dddce7e61ea04094ad87d65b872bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release files / cgrtools_stable-4.2.13-cp312-cp312-win32.whl

Download URL cgrtools_stable-4.2.13-cp312-cp312-win32.whl
Size 928.1 kB
Tags CPython 3.12 Windows x86-32
SHA-256 checksum
How to use checksums
4a67ae47d1d5f8b2a0f9661231579ac49d7c0bdc7e8a233a4afda9ec3a64cd0d
BLAKE2b-256 checksum
How to use checksums
eb491334abc1619d3b7077d6d9e122a3b1b3425938c8228e1f9e8789e6cb507c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release files / cgrtools_stable-4.2.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL cgrtools_stable-4.2.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.1 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
f83ff28334aa6ce8d66515c0095e212235188499db5da937214d75718d024835
BLAKE2b-256 checksum
How to use checksums
8cbdb9213280d92ec26cfdd238aabed46eff047a5a4ff96991a1890ee3c942cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release files / cgrtools_stable-4.2.13-cp312-cp312-macosx_11_0_arm64.whl

Download URL cgrtools_stable-4.2.13-cp312-cp312-macosx_11_0_arm64.whl
Size 944.7 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3aa179dd9b621a57b046d4b905cbe610ffa43ef6e8aff96b174f715f966c60be
BLAKE2b-256 checksum
How to use checksums
5c29ac912c6f7cc44993d99e0ef4c3a14f0eda9d4ecbe681f2fc11adbfb1821c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release files / cgrtools_stable-4.2.13-cp311-cp311-win_amd64.whl

Download URL cgrtools_stable-4.2.13-cp311-cp311-win_amd64.whl
Size 930.5 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
177aecb0e5130e5d20509d2fe512ea2c87dba0d70df79a7a57e489ce1fd70454
BLAKE2b-256 checksum
How to use checksums
092ab2a001a23a13381fa142c15a95c58f56683e1bf6a67033751201a45dabf2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release files / cgrtools_stable-4.2.13-cp311-cp311-win32.whl

Download URL cgrtools_stable-4.2.13-cp311-cp311-win32.whl
Size 927.6 kB
Tags CPython 3.11 Windows x86-32
SHA-256 checksum
How to use checksums
be7f66260b924ed5c277a6ca0b8810983999c866f1175ad9fdc0887b01a1e28f
BLAKE2b-256 checksum
How to use checksums
2d7c83f36d2d4f7e172078d8416c305683bf1eb1eb2ce17a87c7154253280e75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release files / cgrtools_stable-4.2.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL cgrtools_stable-4.2.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.1 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
f8ef51d6ecc84c3abaab62d036ad9e8e592831f894ae8a36c05cdc5f7c230879
BLAKE2b-256 checksum
How to use checksums
4cb389475551502fa363eaefedafbabe6ebbb4cdfa0dc2e1f31906f4b5d04755
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release files / cgrtools_stable-4.2.13-cp311-cp311-macosx_11_0_arm64.whl

Download URL cgrtools_stable-4.2.13-cp311-cp311-macosx_11_0_arm64.whl
Size 944.5 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
27c4eeff0725da748bb73f2fd7ff803cdf53eed5ed76dc860c2856059c893704
BLAKE2b-256 checksum
How to use checksums
782417019e4369d7ab80d18d2ea071dd774b761afc1d6d732cb47af2a497bb0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release files / cgrtools_stable-4.2.13-cp310-cp310-win_amd64.whl

Download URL cgrtools_stable-4.2.13-cp310-cp310-win_amd64.whl
Size 930.3 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
c1216b1d267fec8e29998ae84bd81d79103b8f30db98241b2eb84621ddb45f63
BLAKE2b-256 checksum
How to use checksums
d9aa597da3e4646e44ca07b678353fa00d523068d448efbba75027bbc84878ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release files / cgrtools_stable-4.2.13-cp310-cp310-win32.whl

Download URL cgrtools_stable-4.2.13-cp310-cp310-win32.whl
Size 927.5 kB
Tags CPython 3.10 Windows x86-32
SHA-256 checksum
How to use checksums
3bb5d03972512cc1f217f429bcc413f0eec3d3bf6914c03deef204b1ca113770
BLAKE2b-256 checksum
How to use checksums
23c1ce8be342cf8f96e345418fca29345e5c615fe5879c0d5b92b5b950deb0d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release files / cgrtools_stable-4.2.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL cgrtools_stable-4.2.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.1 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
78a3db89dc1288b96ddd38ce290e43c75195dfe6e27d7637dc75fe910b0d7e92
BLAKE2b-256 checksum
How to use checksums
54816bee256363565666410845996c8a71f694a95aa67b750390df391545e0c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release files / cgrtools_stable-4.2.13-cp310-cp310-macosx_11_0_arm64.whl

Download URL cgrtools_stable-4.2.13-cp310-cp310-macosx_11_0_arm64.whl
Size 943.6 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
60285e53116c439ef38b6df60528280d217c792687ed600809907257c549a683
BLAKE2b-256 checksum
How to use checksums
258ac8a0b3160e14483f933edc78ff898b55a87dc7454f5b57a17435f5c5c904
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release history Release notifications | RSS feed

This release

4.2.13 This release

12 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page