Code Monkey home page Code Monkey logo

chemoton's Introduction

SCINE Chemoton

Introduction

With Chemoton you can explore complex chemical reaction networks in an automated fashion. Based on a Python framework, workflows can be built that probe reactivity of chemical systems with quantum chemical methods. Various quantum chemical software programs and job schedulers are supported via the back-end software SCINE Puffin.

License and Copyright Information

Chemoton is distributed under the BSD 3-clause "New" or "Revised" License. For more license and copyright information, see the file LICENSE.txt in the repository.

Installation

Prerequisites

The key requirements for Chemoton are the Python packages scine_utilities, scine_database, and scine_molassember. These packages are available from PyPI and can be installed using pip. However, these packages can also be compiled from sources. For the latter case please visit the repositories of each of the packages and follow their guidelines or bootstrap a puffin which will install the same dependencies.

Installation

Chemoton can be installed using pip (pip3) once the repository has been cloned:

git clone https://github.com/qcscine/chemoton.git
cd chemoton
pip install -r requirements.txt
pip install .

A non-root user can install the package using a virtual environment, or the --user flag.

The documentation can be found online, or it can be built using:

make -C docs html

It is then available at:

<browser-name> docs/build/html/index.html

In order to build the documentation, you need a few extra Python packages, which are not installed automatically together with Chemoton. In order to install them, run

pip install -r requirements-dev.txt

Tutorial

Minimal Example

Assuming that Chemoton has successfully been installed, a small example exploration can be started by running Chemoton's main function. It requires a database running on localhost listening to the default mongodb port 27017; additionally a puffin instance has to be running and checking the database named default.

Setting up these things may look somewhat like this:

1. Start a mongodb server. Limit its memory usage and maybe customize where to log and store the data.

mongod --fork --port=27017 -dbpath=<path to db storage dir> -wiredTigerCacheSizeGB=1 --logpath=mongo.log
  1. Configure and bootstrap a puffin:
pip install scine-puffin
python3 -m scine_puffin configure
# Edit the generated puffin.yaml here
python3 -m scine_puffin -c puffin.yaml bootstrap

3. Source the puffin settings and tell it to listen to the correct DB. (Hostname and port should be the default ones.) Then start it.

source puffin.sh
export PUFFIN_DATABASE_NAME=default
python3 -m scine_puffin -c puffin.yaml start
  1. Run the Chemoton exploration defined in the __main__ function:
python3 -m scine_chemoton wipe

The optional wipe argument will start the example exploration with a clean default DB; giving the continue argument will reuse old data.

Expanding on the Minimal Example

The functionalities used in Chemoton's __main__.py are a good starting point for most simple explorations. The file contains a lot of settings that are explicitly set to their defaults in order to show their existence.

While we recommend to read the documentation of Chemoton, tinkering with explorations can be as simple as:

cp <chemoton-git>/scine_chemoton/__main__.py my_awesome_exploration.py

and editing the file to your liking: disabling gears, adding filters or just changing methods.

How to Cite

When publishing results obtained with Chemoton, please cite the corresponding release as archived on Zenodo (DOI 10.5281/zenodo.6695583; please use the DOI of the respective release).

In addition, we kindly request you to cite the following article when using Chemoton:

J. P. Unsleber, S. A. Grimmel, M. Reiher, "Chemoton 2.0: Autonomous Exploration of Chemical Reaction Networks", J. Chem. Theory Comput., 2022, 18, 5393.

Support and Contact

In case you should encounter problems or bugs, please write a short message to [email protected].

chemoton's People

Contributors

reiher-research-group avatar

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.