Giter Site home page Giter Site logo

almaaslab / bayesiangem Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sysbiochalmers/bayesiangem

0.0 1.0 0.0 151.86 MB

This repository contains code and data needed to replicate the analysis carried out in the manuscript Pettersen J and Almaas A. 2023.

License: GNU General Public License v3.0

Python 1.19% Jupyter Notebook 98.73% Shell 0.09%

bayesiangem's Introduction

Using Bayesian and evolutionary statistical learning to integrate temperature dependence in enzyme-constrained GEMs

Description of folders

  • code/ contains all scripts and detailed descrition can be found in code/README.md.
  • data/ contains all input data needed, including experimental and estimated thermal parameters.
  • models/ contains a list of yeast genome scale models with different settings used in this study.

Dependences

austin                      3.3.0
cobra                       0.21.0
numpy                       1.21.0  
pandas                      1.3.3
scikit-learn                1.0.0
scipy                       1.7.1
reframed                    1.2.1
dill                        0.3.4  
jupyter                     1.0.0
matplotlib                  3.5.2
Gurobi                      9.1.2
pebble                      5.0.0

The repository was tested with Python 3.8.12 and Ubuntu 20.04.4. The easiest way to install the dependencies is through the Conda package manager. Using Conda, the environment can be set up by running conda env create --file .condaconfig.yml.

Hardware

Since the Bayesian calculation method and evolutionary algorithm are computational expensive, all scripts except the visualization Jupyter notebook may be too heavy to run of a desktop computer. Some of those scripts have been designed for parallel computation through the use of SLURM. The visualization notebook takes several seconds or minutes on a normal PC.

Reproduce the figures

(1) Clone this repository.
(2) Install all required packages. This step takes at most several minutes. (3) Download the pre-computed results from Figshare (doi.org/10.6084/m9.figshare.21436668). Download the results.tar.gz file to the current directory and uncompress with

tar -xzvf results.tar.gz

Then the figures in the manuscript can be reproduced by using Jupyter notebook, Note that the result repository does not contain the heavy intermediate files which are not directly required for creating the figures.

One can also recompute those results by following the introductions in code/README.md, but again this might be infeasible on a usual desktop computer.

bayesiangem's People

Contributors

yaccos avatar gangl2016 avatar haowang-bioinfo avatar

Watchers

Eivind Almaas 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.