Coder Social home page Coder Social logo

mgiammar / mine-database Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tyo-nu/mine-database

0.0 0.0 0.0 76.31 MB

Metabolic In silico Network Expansion (MINE) Database Construction and DB Logic

License: MIT License

Python 99.78% Shell 0.22%

mine-database's Introduction

MINE Databases

License: MIT Documentation

The MINE Database contains code for generating (through Pickaxe) and storing and retrieving compounds from a database. Pickaxe applies reaction rules, representing reaction transformation patterns, to a list of user-specified compounds in order to predict reactions.

Documentation

For general information on MINE Databases, please consult JJeffryes et al. 2015..

Documentation is hosted at https://mine-database.readthedocs.io/en/latest/. It gives more detailed descriptions and example uses of the software.

Installation

MINE-Database requires the use of rdkit, which currently is unavailable to install on pip. Thus, we recommend you use conda to create a new environment and then install rdkit into that environment before proceeding:

conda create -n mine

conda activate mine

conda install -c rdkit rdkit

Then, use pip (in your conda environment) to install minedatabase:

pip install minedatabase

Running Pickaxe

Running Pickaxe through a python file (recommended)

An example file, pickaxe_run_template.py, provides a framework for running pickaxe through a python file. Feel free to download it and change it to your needs. The starting compounds, rules and cofactors, optional database information, and Pickaxe run options are specified. After running the results are stored in a specified database or written to .tsv files.

This is all explained in more detail in the documentation.

Pickaxe command-line usage (not recommended - see above section)

Pickaxe.py can be called independently to generate predictions with or without database storage. To list all options call python -m minedatabase.pickaxe -h. Note that due to relative imports, it needs to be run as a module (-m flag) from the MINE-Database directory. To predict metacyc reactions for one generation on compounds in the iML1515 model one would call

python pickaxe.py -C ./data/metacyc_generalized_rules.tsv -r ./data metacyc_coreactants.tsv -g 1 -c ../example_data/iML1515_ecoli_GEM.csv

mine-database's People

Contributors

jamesjeffryes avatar jonstrutz11 avatar josephniwjc avatar kshebek avatar mgiammar avatar tyolabnu 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.