Giter Site home page Giter Site logo

aerinko082 / askcos-core Goto Github PK

View Code? Open in Web Editor NEW

This project forked from askcos/askcos-core

0.0 0.0 0.0 16.58 MB

Python package for the ASKCOS platform for prediction of chemical reactivity

License: Other

Python 99.75% Makefile 0.17% Dockerfile 0.08%

askcos-core's Introduction

askcos-core

askcos-base askcos-data askcos-core askcos-site askcos-deploy

Python package for the prediction of feasible synthetic routes towards a desired compound and associated tasks related to synthesis planning. Originally developed under the DARPA Make-It program and now being developed under the MLPDS Consortium.

Getting Started

This package can be used on its own as a normal Python package without deploying the full ASKCOS application. To do so, make sure that the project directory is on your PYTHONPATH and that the dependencies listed in requirements.txt are satisfied. The data and models must be downloaded separately from the askcos-data repository and placed in askcos-core/askcos/data.

Building a Docker Image

The askcos-core image can be built using the Dockerfile in this repository. It depends on the askcos-data Docker image, which can be built manually or pulled from Docker Hub.

$ cd askcos-core
$ docker build -t <image name> .

A Makefile is also provided to simplify the build command by providing a default image name and tag:

$ cd askcos-core
$ make build

How To Run Individual Modules

Many of the individual modules -- at least the ones that are the most interesting -- can be run "standalone". Examples of how to use them are often found in the if __name__ == '__main__' statement at the bottom of the script definitions. For example...

Using the learned synthetic complexity metric (SCScore):

askcos/prioritization/precursors/scscore.py

Obtaining a single-step retrosynthetic suggestion with consideration of chirality:

askcos/retrosynthetic/transformer.py

Finding recommended reaction conditions based on a trained neural network model:

askcos/synthetic/context/neuralnetwork.py

Using the template-free forward predictor:

askcos/synthetic/evaluation/template_free.py

Using the coarse "fast filter" (binary classifier) for evaluating reaction plausibility:

askcos/synthetic/evaluation/fast_filter.py

Predicting regio-selectivity for a given atom-mapped reaction:

askcos/synthetic/selectivity/general_selectivity.py

Predicting reactivity descriptors for a given list of molecules:

askcos/synthetic/descriptors/descriptors.py

askcos-core's People

Contributors

connorcoley avatar mefortunato avatar mliu49 avatar pieterplehiers avatar thomasstruble avatar yanfeiguan avatar ljn917 avatar murninm avatar wangyuran avatar spenceydelgado avatar jsschreck avatar prithaverma 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.