Giter Site home page Giter Site logo

cerebro-paper's Introduction

Cerebro

Cerebro is a machine-learning classifier for somatic mutation detection based on an extremely randomized trees model.

This package includes two scripts for training and executing the Cerebro model for somatic mutation identification from whole- exome next-generation sequencing data. Required input is a set of candidate variants and informative features as described below.

Requirements

This code requires the following dependencies

Training and Testing Datasets

Training data must consist of tab-delimited integers or decimal values, with the exception of the first two columns which are formatted as:

  • a unique identifier per mutation candidate
  • the mutation type (SBS/INS/DEL)
  • a final column consisting of either 0 (for known incorrect calls) or 1 for true somatic mutations

See the file example_points.txt for an example.

Testing data follows the same format as the training data, but without the final column of 0s and 1s.


Usage

To train the model, execute the command:

mkdir trained_model && ./cerebro_train.py example_points.txt trained_model

To run the trained model on new data, execute the command

./cerebro_call.py testing_points.txt trained_model > classifications.txt

README documentation

2017-12-15 -- Source code and example training data for Cerebro somatic mutation confidence scoring.

This package includes two scripts for training and executing the Cerebro model for somatic mutation identification from whole- exome next-generation sequencing data. Required input is a set of candidate variants and informative features.

Training Data Example (example_points.txt) This data must consist of tab-delimited integers or decimal values, with the exception of the first two columns which are formatted as:

  1. a unique identifier per mutation candidate
  2. the mutation type (SBS/INS/DEL)

The final column must consist of either 0 (for incorrect calls) or 1 for true somatic mutations.

To train the model, execute the command: mkdir trained_model && ./cerebro_train.py example_points.txt trained_model

To run the trained model on new data, execute the command ./cerebro_call.py testing_points.txt trained_model

cerebro-paper's People

Contributors

dw-pgdx 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.