Code Monkey home page Code Monkey logo

bgcpred's Introduction

bgcpred

We created BGC class-specific models to predict the abundance of biosynthetic genes cluster classes based on the domain annotation of unassembled metagenomic data. Each model was constructed using the abundance of the BGC class and its corresponding protein domains according to the antiSMASH classification rules (Weber et al., 2015), as the response and predictor variables, respectively.

To construct a BGC class abundance model, we applied a two-step zero-inflated process. First, we predicted the presence or absence of the BGC class using a random forest (RF) binary classifier (Breiman, 2001). Second, we used multiple linear regression (MLR) to predict the BGC class abundance, but only if the class was previously predicted as present (see Figure 1). In the cases where the number of zero values was too low (<10) or non-existent, we directly applied a MLR. The models were trained using simulated metagenomic data, where we can accurately compute the real BGC class abundances (i.e., using the complete genome sequences from which the metagenomes were simulated).

bgcpred R package contains the models, functions, and datasets to train and predict the abundance of biosynthetic gene cluster classes in metagenomic data. This package is the core of the BiGMEx BGC class abundance prediction module.

In Data simulation we have a template code that can be used generate your own training dataset. And in Traning-your-data we show the analysis workflow necessary to train and test your models.

Training workflow

Figure 1. a) and b) BGC class abundance model training and predict workflows, respectively.

Installation

devtools::install_github('pereiramemo/bgcpred')
library(bgcpred)

Bibliography

Breiman, L. (2001). Random forests. Machine Learning, 45(1), 5-32. http://doi.org/10.1023/A:1010933404324

Weber, T., & Kim, H. U. (2016). The secondary metabolite bioinformatics portal: Computational tools to facilitate synthetic biology of secondary metabolite production. Synthetic and Systems Biotechnology, 1, 69โ€“79. http://doi.org/10.1016/j.synbio.2015.12.002

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.