Code Monkey home page Code Monkey logo

chsqm's Introduction

CHSQM

Prediction of labile carbon hydrogens using semiempirical methods

CHSQM consists of two bash scripts, CHSQM1 and CHSQM2. CHSQM1 and CHSQM2 call other python scripts and bash scripts and calls OpenBabel. Some of the python scripts use RDKit. The method makes use of the semiempirical quantum chemistry program MOPAC.

The very first time you use the scripts type chmod +x CHSQM1 CHSQM2

Try example:

./CHSQM1 example pm3_mop rm_proton

"example" refers to the text file example.smiles and "pm3_mop" refer to the text file pm3_mop.header. You can also use rm_hydride and rm_hydrogen instead of rm_proton

CHSQM creates a folder called example_rm_proton+pm3_mop with the mopac input files and submits to a slurm queue using the bash script submit_bactches_mopac.

Once all calculations finish:

./CHSQM2 example_rm_proton+pm3_mop

This creates example_rm_proton+pm3_mop_1.pka and example_rm_proton+pm3_mop_3.pka which contains the atom number(s) of the carbon atoms with the most labile hydrogen and the name of the mopac output file for the corresponding isomer using a 1 and 3 pH unit cutoff.

highlight_atoms.py creates svg files with pictures of the molecules where atom centers listed in the .pka file are highlighted. These two svg files are then merged into a single file using merge_svg.py, which also changes the colors of the highlighted atoms. Note that highlight_atoms.py reguires the installation of ipython.

The resulting svg file (marked combined) can be opened in a browser or converted to pdf by third party software

chsqm's People

Contributors

jhjensen2 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

pk-organics

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.