Git Product home page Git Product logo

esp_prediction_function's Introduction

Description

This repository contains an easy-to-use Python function for the ESP prediction model from our paper A general model to predict small molecule substrates of enzymes based on machine and deep learning.

Downloading data folder

Before you can run the ESP prediction function, you need to download and unzip a data folder from Zenodo. Afterwards, this repository should have the following strcuture:

├── code                   
├── data                    
└── README.md

How to use the ESP prediction function

There is a Jupyter notebook "Tutorial ESP prediction.ipynb" in the folder "code" that contains an example on how to use the ESP prediction function.

Requirements

  • python 3.8
  • jupyter
  • pandas 1.3.1
  • torch 1.12.1
  • numpy 1.23.1
  • rdkit 2022.09.5
  • fair-esm 0.4.0
  • py-xgboost 1.3.3

The listed packages can be installed using micromamba (or conda or anaconda) and pip as follows:

micromamba create -n esp -c conda-forge pandas==1.3.1 python=3.8 jupyter  numpy==1.23.1 fair-esm==0.4.0 py-xgboost=1.3.3 rdkit=2022.09.5
micromamba activate esp
micromamba remove py-xgboost
pip install xgboost

You can use conda instead of micromamba. This method is tested on Macbook pro 2021 Intel Chip on 14.02.2024.

Problems/Questions

If you face any issues or problems, please open an issue.

esp_prediction_function's People

Contributors

alexanderkroll avatar dadrasarmin 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.