Giter VIP home page Giter VIP logo

ml-pre-gspsm's Introduction

ML-pre-GSPSM

Utilize automated machine learning to predict gene synthesis plant specialized metabolites

  1. System requirements
  2. Installation guide
  3. Demo
  4. Instructions for use
  5. License
  6. Reference

1. System requirements

The software was tested on CentOS 7.5.1804 (Core) with Miniconda3. Other packages were used as follows:

python 3.8.12
autogluon 0.3.1
numpy
scipy
pandas

2. Installation guide

Install miniconda:

wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh && bash Miniconda3-latest-Linux-x86_64.sh

Create a new conda environment and update

conda create --name autogluon python==3.8.12 conda update -n base conda

Activate conda environment

conda activate autogluon

Install dependencies: pip install -U setuptools wheel

pip install autogluon==0.3.1

Install ML-pre-GSPSM:

git clone https://github.com/baiwenhuim/ML-pre-GSPSM.git

3. Demo

The directory including in model script is changed into:

cd /ML-pre-GSPSM/model

And you can also download the pre-trained model in three species (Arabidopsis thaliana, maize, and tomato) from Zenodo.

Once downloaded, you can unzip it:

unzip azs.zip

Then, you can use the script predict_unknown_gene.py to predict enzyme genes which you want to predict:

python predict_unknown_gene.py --path /prefix/model_path/azs --input /prefix/input_file.csv --output output.csv

The following results are output into"/Downloaded_directory_path/output.csv":

โ— Cross validation results in the basic models and AutoGluon-Tabular
โ— Test results in the AutoGluon-Tabular mode.

Run time depends on the dataset size.

4. License

This software is released under the MIT License, according to LICENSE.

ml-pre-gspsm's People

Contributors

baiwenhuim avatar

Watchers

 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.