Giter VIP home page Giter VIP logo

smi2gcs's Introduction

SMI2GCS

With SMI2GCS you can generate atomic descriptors from SMILES. The atomic descriptors are based on convolutions of CM5 atomic charges computed using semiempirical tight binding (GFN1-xTB).

More information about the method is available in the RegioML paper. Including: 1, 2, 3, 4, and 5.

Open In Colab

Installation

We recommend using anaconda to install the Python 3 environment:

conda env create -f environment.yml && conda activate smi2gcs

Then download the binaries of xtb version 6.4.0:

mkdir dep; cd dep; wget https://github.com/grimme-lab/xtb/releases/download/v6.4.0/xtb-210201.tar.xz; tar -xvf ./xtb-210201.tar.xz; cd ..

Details on the sorting algorithm

Sort each shell according to a modified version of the Cahn-Ingold-Prelog (CIP) priority rules and the CM5 charges if CIP is unambiguous:

  1. Sort according to atomic number in descending order.
  2. If (1) is not unique, for each atom with the same priority (A*):
    1. Go to bound and yet not included atoms and sum up atomic numbers. Set the priority of A* according to the sum of the atomic numbers.
    2. If (2i) did not give an unambiguous result expand the shell of each atom A* by one bond.
    3. Repeat (2ii) until a unique order is found.
  3. If no unique order is found in (2) and all bound atoms are included, then sort atoms according to the CM5 charges in descending order.

Citation

@article{Ree2022,
  title = {RegioML: predicting the regioselectivity of electrophilic aromatic substitution reactions using machine learning},
  volume = {1},
  ISSN = {2635-098X},
  url = {http://dx.doi.org/10.1039/D1DD00032B},
  DOI = {10.1039/d1dd00032b},
  number = {2},
  journal = {Digital Discovery},
  publisher = {Royal Society of Chemistry (RSC)},
  author = {Nicolai Ree and Andreas H. G\"{o}ller and Jan H. Jensen},
  year = {2022},
  pages = {108–114}
}

smi2gcs's People

Contributors

nicolairee avatar

Stargazers

 avatar Julian Greb avatar Jan Wollschläger avatar Emil Thyge Skaaning Kjær avatar

Watchers

 avatar

Forkers

chemrmb

smi2gcs's Issues

The attribute MutableMapping from the module collections got moved into collections.abc in Python 3.10

Problem with "/DescriptorCreator/PartialChargeDict.py" when using Python 3.10 as the attribute MutableMapping from the module collections got moved into collections.abc**

Solution:

Change the following in "/DescriptorCreator/PartialChargeDict.py":

import collections

class PartialChargeDict(collections.MutableMapping): 

Into:

import sys
import collections 

if sys.version_info.major == 3 and sys.version_info.minor >= 10:
    from collections.abc import MutableMapping
else:
    from collections import MutableMapping


class PartialChargeDict(MutableMapping):

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.