Giter Site home page Giter Site logo

jyarger / cgrtools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cimm-kzn/cgrtools

0.0 0.0 0.0 3.62 MB

CGRs, molecules and reactions manipulation

License: GNU Lesser General Public License v3.0

JavaScript 0.08% Python 99.17% Cython 0.75%

cgrtools's Introduction

CGRTools

image

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

COPYRIGHT

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.