Skip to main content

Chemical Graph Reaction (CGR) Toolkit — representation, manipulation and analysis of molecules, reactions and reaction mechanisms

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

cgrtools_stable-4.2.13-cp312-cp312-win_amd64.whl (931.2 kB view details)

Uploaded CPython 3.12Windows x86-64

cgrtools_stable-4.2.13-cp312-cp312-win32.whl (928.1 kB view details)

Uploaded CPython 3.12Windows x86

cgrtools_stable-4.2.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

cgrtools_stable-4.2.13-cp312-cp312-macosx_11_0_arm64.whl (944.7 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

cgrtools_stable-4.2.13-cp311-cp311-win_amd64.whl (930.5 kB view details)

Uploaded CPython 3.11Windows x86-64

cgrtools_stable-4.2.13-cp311-cp311-win32.whl (927.6 kB view details)

Uploaded CPython 3.11Windows x86

cgrtools_stable-4.2.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

cgrtools_stable-4.2.13-cp311-cp311-macosx_11_0_arm64.whl (944.5 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

cgrtools_stable-4.2.13-cp310-cp310-win_amd64.whl (930.3 kB view details)

Uploaded CPython 3.10Windows x86-64

cgrtools_stable-4.2.13-cp310-cp310-win32.whl (927.5 kB view details)

Uploaded CPython 3.10Windows x86

cgrtools_stable-4.2.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

cgrtools_stable-4.2.13-cp310-cp310-macosx_11_0_arm64.whl (943.6 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file cgrtools_stable-4.2.13-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for cgrtools_stable-4.2.13-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9054509651bd5e9677fe6fea5502af05e77e4f5ec3f365ab4f86f8ae9079b6b7
MD5 91b487e9306f8c7d4ba2b46b859bc05c
BLAKE2b-256 83cf6d1b0e45d7dc84e9a0b5a5b60ed51b8dddce7e61ea04094ad87d65b872bb

See more details on using hashes here.

File details

Details for the file cgrtools_stable-4.2.13-cp312-cp312-win32.whl.

File metadata

File hashes

Hashes for cgrtools_stable-4.2.13-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 4a67ae47d1d5f8b2a0f9661231579ac49d7c0bdc7e8a233a4afda9ec3a64cd0d
MD5 6bfef62da0a4dca4648e816dddab64ef
BLAKE2b-256 eb491334abc1619d3b7077d6d9e122a3b1b3425938c8228e1f9e8789e6cb507c

See more details on using hashes here.

File details

Details for the file cgrtools_stable-4.2.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cgrtools_stable-4.2.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f83ff28334aa6ce8d66515c0095e212235188499db5da937214d75718d024835
MD5 9a979792be48d00889dc40e4e8024fe3
BLAKE2b-256 8cbdb9213280d92ec26cfdd238aabed46eff047a5a4ff96991a1890ee3c942cc

See more details on using hashes here.

File details

Details for the file cgrtools_stable-4.2.13-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cgrtools_stable-4.2.13-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3aa179dd9b621a57b046d4b905cbe610ffa43ef6e8aff96b174f715f966c60be
MD5 fc3b0f6276dd55fd5366f0c9e29127fa
BLAKE2b-256 5c29ac912c6f7cc44993d99e0ef4c3a14f0eda9d4ecbe681f2fc11adbfb1821c

See more details on using hashes here.

File details

Details for the file cgrtools_stable-4.2.13-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for cgrtools_stable-4.2.13-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 177aecb0e5130e5d20509d2fe512ea2c87dba0d70df79a7a57e489ce1fd70454
MD5 c19764302b3af19e875baa4550e515b5
BLAKE2b-256 092ab2a001a23a13381fa142c15a95c58f56683e1bf6a67033751201a45dabf2

See more details on using hashes here.

File details

Details for the file cgrtools_stable-4.2.13-cp311-cp311-win32.whl.

File metadata

File hashes

Hashes for cgrtools_stable-4.2.13-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 be7f66260b924ed5c277a6ca0b8810983999c866f1175ad9fdc0887b01a1e28f
MD5 f3719a5bfcca2c19ef04f889fb67f8a9
BLAKE2b-256 2d7c83f36d2d4f7e172078d8416c305683bf1eb1eb2ce17a87c7154253280e75

See more details on using hashes here.

File details

Details for the file cgrtools_stable-4.2.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cgrtools_stable-4.2.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f8ef51d6ecc84c3abaab62d036ad9e8e592831f894ae8a36c05cdc5f7c230879
MD5 12c9625e19096a3671e7003cdb85621c
BLAKE2b-256 4cb389475551502fa363eaefedafbabe6ebbb4cdfa0dc2e1f31906f4b5d04755

See more details on using hashes here.

File details

Details for the file cgrtools_stable-4.2.13-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cgrtools_stable-4.2.13-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 27c4eeff0725da748bb73f2fd7ff803cdf53eed5ed76dc860c2856059c893704
MD5 9d3e10f8b249089f0aeb8c74d2c931d2
BLAKE2b-256 782417019e4369d7ab80d18d2ea071dd774b761afc1d6d732cb47af2a497bb0e

See more details on using hashes here.

File details

Details for the file cgrtools_stable-4.2.13-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for cgrtools_stable-4.2.13-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c1216b1d267fec8e29998ae84bd81d79103b8f30db98241b2eb84621ddb45f63
MD5 c93f4314525c86e91841d65ff62e3c59
BLAKE2b-256 d9aa597da3e4646e44ca07b678353fa00d523068d448efbba75027bbc84878ac

See more details on using hashes here.

File details

Details for the file cgrtools_stable-4.2.13-cp310-cp310-win32.whl.

File metadata

File hashes

Hashes for cgrtools_stable-4.2.13-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 3bb5d03972512cc1f217f429bcc413f0eec3d3bf6914c03deef204b1ca113770
MD5 40d4febe5978668d802bca4ff16edc7e
BLAKE2b-256 23c1ce8be342cf8f96e345418fca29345e5c615fe5879c0d5b92b5b950deb0d7

See more details on using hashes here.

File details

Details for the file cgrtools_stable-4.2.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cgrtools_stable-4.2.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 78a3db89dc1288b96ddd38ce290e43c75195dfe6e27d7637dc75fe910b0d7e92
MD5 5fd7381cc7167c967db3794b5747f103
BLAKE2b-256 54816bee256363565666410845996c8a71f694a95aa67b750390df391545e0c5

See more details on using hashes here.

File details

Details for the file cgrtools_stable-4.2.13-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cgrtools_stable-4.2.13-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 60285e53116c439ef38b6df60528280d217c792687ed600809907257c549a683
MD5 53c159e288d50a1ad5dd0bfcc3fc6cf4
BLAKE2b-256 258ac8a0b3160e14483f933edc78ff898b55a87dc7454f5b57a17435f5c5c904

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page