Coder Social home page Coder Social logo

rowling2392 / g2s Goto Github PK

View Code? Open in Web Editor NEW

This project forked from simonerampelli/g2s

0.0 0.0 0.0 116 KB

Deep learning predictor of stool microbiome configuration from oral microbiome data

License: GNU General Public License v3.0

R 100.00%

g2s's Introduction

g2s

Deep learning predictor of stool microbiome configuration from oral microbiome data

README

SPACE REQUIREMENTS : g2s needs 32 GB of free space and 16 GB of RAM memory to work on your device

OTHER REQUIREMENTS:

  • R > version 3.5.0
  • keras for R
  • tensorflow for R

First steps

  1. Download the g2s folder.

  2. R settings and keras/tensorflow initialization

R
install.packages(keras)
library(keras)

Install tensorflow (It's only necessary to run this once.)

-> for GPU

install_keras(tensorflow = "gpu")

-> or CPU:

install_keras() 
quit()

Usage and Help

Rscript g2s.R otu_table_oral_microbiome.txt names_gingival_bacteria3.txt model_260719.h5 output_folder
  • otu_table_oral_microbiome.txt: genus level (L6) relative abundance table with samples in the columns and the full taxonomy following the greengens 05_2013 style in the rows. Rel. Ab. must be 0 to 1. (INPUT)
  • names_gengival_bacteria3.txt: this file is provided together with the g2s script and is necessary for automatically formatting the input file.
  • model_260719.h5: this is the deep neural network implemented for doing the prediction
  • output_folder: name of the output directory

Expected outputs

The tool provides two files within the output folder.

  1. (.txt) Tabular outputs report the predicted structure of the stool microbiome in term of relative abundances.
  2. (.pdf) Graphical representations (bar plots) of the predicted microbiome structures

Examples

For verifing the correct installation use the data within the test folder and compare the results you obtain with the files test_g2s.txt and test_g2s.pdf

Rscript g2s.R test/test.txt names_gingival_bacteria3.txt model_260719.h5 test_results

g2s's People

Contributors

simonerampelli 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.