GithubHelp home page GithubHelp logo

jagarridotorres / syntheseus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from microsoft/syntheseus

0.0 0.0 0.0 266 KB

Benchmarking Chemical Synthesis Planning Algorithms

License: MIT License

Shell 0.07% Python 56.39% Jupyter Notebook 43.54%

syntheseus's Introduction

Syntheseus

CI Python Version code style License

Syntheseus is a package for retrosynthetic planning. It contains implementations of common search algorithms and a simple API to wrap custom reaction models and write custom algorithms. It is meant to allow for simple benchmarking of the components of retrosynthesis algorithms.

Installation

Currently syntheseus is not hosted on PyPI (although this will likely change in the future). To install, please run:

# Clone and cd into the repository.
git clone https://github.com/microsoft/syntheseus.git
cd syntheseus

# Create and activate a new conda environment (or use your own).
conda env create -f environment.yml
conda activate syntheseus

# Install into the current environment.
pip install -e .

Syntheseus contains two subpackages: reaction_prediction, which deals with benchmarking single-step reaction models, and search, which can use any single-step model to perform multi-step search. Each is designed to have minimal dependencies, allowing it to run in a wide range of environments. While specific components (single-step models, policies, or value functions) can make use of Deep Learning libraries, the core of syntheseus does not depend on any.

If you only want to use either of the two subpackages, you can limit the dependencies further by installing the dependencies separately and then running

pip install -e .  --no-dependencies

See pyproject.toml for a list of dependencies tied to each subpackage.

Development

Syntheseus is currently under active development and does not have a fixed API (but we will fix it very soon). If you want to help us develop syntheseus please install and run pre-commit checks before committing code.

We use pytest for testing. Please make sure tests pass on your branch before submitting a PR (and try to maintain high test coverage).

python -m pytest --cov syntheseus/tests

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

syntheseus's People

Contributors

kmaziarz avatar austint 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.