Skip to main content

No project description provided

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

Download files

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

Source Distribution

CGRtools-4.1.35.tar.gz (1.5 MB view details)

Uploaded Source

Built Distributions

CGRtools-4.1.35-cp310-cp310-win_amd64.whl (924.3 kB view details)

Uploaded CPython 3.10 Windows x86-64

CGRtools-4.1.35-cp310-cp310-macosx_10_9_x86_64.whl (280.9 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

CGRtools-4.1.35-cp39-cp39-win_amd64.whl (925.1 kB view details)

Uploaded CPython 3.9 Windows x86-64

CGRtools-4.1.35-cp39-cp39-macosx_10_9_x86_64.whl (280.6 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

CGRtools-4.1.35-cp38-cp38-win_amd64.whl (925.1 kB view details)

Uploaded CPython 3.8 Windows x86-64

CGRtools-4.1.35-cp38-cp38-macosx_10_9_x86_64.whl (281.6 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

CGRtools-4.1.35-cp37-cp37m-win_amd64.whl (925.1 kB view details)

Uploaded CPython 3.7m Windows x86-64

CGRtools-4.1.35-cp37-cp37m-macosx_10_9_x86_64.whl (281.1 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

File details

Details for the file CGRtools-4.1.35.tar.gz.

File metadata

  • Download URL: CGRtools-4.1.35.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for CGRtools-4.1.35.tar.gz
Algorithm Hash digest
SHA256 907436c0f12af7b8a6b5baadfc62dffd4a29ae1802416fd76ab410d3cf95c340
MD5 b0833267c88ba5cc9f21eca77b334301
BLAKE2b-256 6a5ecc29dec8f6da3a62167057cb7a8695ff72958a84f70619351c443745b6c0

See more details on using hashes here.

File details

Details for the file CGRtools-4.1.35-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: CGRtools-4.1.35-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 924.3 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for CGRtools-4.1.35-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 7eea8dfc1939aecb86b17fc7f2e969f0d4c516c2ad9fe29c0640c842030cad67
MD5 cf12a0c7edb67f22366449d30ffb2c04
BLAKE2b-256 f61b44b178ec77fe1c8b0ab36e77ec179bb2619a630c82314260ba74da4eda89

See more details on using hashes here.

File details

Details for the file CGRtools-4.1.35-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: CGRtools-4.1.35-cp310-cp310-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 280.9 kB
  • Tags: CPython 3.10, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for CGRtools-4.1.35-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3fc830fba455359b47dc926707f9d27f5168fadfba8b34ddffb4e82943f4423e
MD5 33137bd08b98b4e939d40abce769f104
BLAKE2b-256 b199295a06cd283be14bfc0f01b7e7b121c81593364cbd9de9b8026469fdba10

See more details on using hashes here.

File details

Details for the file CGRtools-4.1.35-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: CGRtools-4.1.35-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 925.1 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for CGRtools-4.1.35-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 9acc26cf90947fd661d605337614f7de8f07770b0f454e446015e6ebfb9e4d69
MD5 8c166ba50d0db25349198f955220405a
BLAKE2b-256 e8a56f4ff72e0ba5b663fa5c0dd005cc9c6afa6db534ca799d4d148a2d803527

See more details on using hashes here.

File details

Details for the file CGRtools-4.1.35-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: CGRtools-4.1.35-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 280.6 kB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for CGRtools-4.1.35-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5f64df716f8c2b25327654eb8df5a675476db13afac17c818d3920e7472f7745
MD5 7263ca4ddc333622ae6e6458aa4374a5
BLAKE2b-256 bedeb4e058a2189dc5dc36362a8289c1a496cc79e186fff819bcbbe42510cd54

See more details on using hashes here.

File details

Details for the file CGRtools-4.1.35-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: CGRtools-4.1.35-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 925.1 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for CGRtools-4.1.35-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 5fc7aaafaf9ea08f781de006fe2831279bb407f25adaede65219f602a55155d6
MD5 a45f94686185154b150bde152200d7a6
BLAKE2b-256 a21683bf7986da0686f7a16da8947cc5235e47a6c5cc558371f919147cad4cea

See more details on using hashes here.

File details

Details for the file CGRtools-4.1.35-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: CGRtools-4.1.35-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 281.6 kB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for CGRtools-4.1.35-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3d198d1efd58fc183b28caa751c6bbae1ee98e1f27e28c328293a865a639dedd
MD5 3e2a96024019f1a7e31eb6c4998eebdd
BLAKE2b-256 106bc4c6a365fb141f8b3152678c72f0846c4dbae0394c9940f545a7bcc9d670

See more details on using hashes here.

File details

Details for the file CGRtools-4.1.35-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: CGRtools-4.1.35-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 925.1 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for CGRtools-4.1.35-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 beff037f20852cbbc6ddb8fe5d047e83d5f520afa20620770757bb862c8e22bf
MD5 7076600f56503361a3a0aec0af0b23f0
BLAKE2b-256 88e1a029d6e34ae0363f99073f15dc6405270879793a966d635804cf9b3920fc

See more details on using hashes here.

File details

Details for the file CGRtools-4.1.35-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: CGRtools-4.1.35-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 281.1 kB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for CGRtools-4.1.35-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 44f90b51ff9a7d62860a42bf6fbcef1dec2a2404eadff4525f944d2465ec0241
MD5 554d2dad130f2a12070bec6f2a865bd8
BLAKE2b-256 b127a1827c4aaee81d2274f0624b16e48b211cf5ca270b847b5857bba9d8e6e7

See more details on using hashes here.

Supported by

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