Coder Social home page Coder Social logo

molecular-design's Introduction

ML-in-the-loop molecular design with Globus Compute

This repository contains a tutorial showing how Globus Compute can be used to write a machine-learning-guided search for high-performing molecules.

The objective of this application is to identify which molecules have the largest ionization energies (IE, the amount of energy required to remove an electron).

IE can be computed using various simulation packages (here we use xTB); however, execution of these simulations is expensive, and thus, given a finite compute budget, we must carefully select which molecules to explore.

In this example, we use machine learning to predict molecules with high IE based on previous computations (a process often called active learning). We iteratively retrain the machine learning model to improve the accuracy of predictions.

This tutorial is based on a tutorial for Parsl)

Installation

The demo builds on several packages to compute molecular properties and to build the machine learning loop. These dependencies can be easily deployed with Conda or using Docker as shown below.

conda env create --file environment.yml
docker build -t moldesign . 
docker run -it moldesign /bin/bash 

Globus Compute Endpoint

The demo requires deployment of a Globus Compute endpoint. Importantly, the same dependencies must be available in the endpoint's environment. You can use the same Conda or Docker environment as above.

First, configure your Globus Compute endpoint (note, you must be in the conda environment)

conda activate moldesign
globus-compute-endpoint configure

Second, start your endpoint and authenticate via Globus to securely pair your endpoint with your account. Optionally, you may update the endpoint configuration to use additional cores or make use of HPC resources. See the Globus Compute documentation for details on configuring endpoints.

globus-compute-endpoint start default

Make note of the endpoint's UUID to add to your notebook.

molecular-design's People

Contributors

kylechard avatar

Watchers

Ryan avatar Tyler J. Skluzacek 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.