Code Monkey home page Code Monkey logo

basicfiltering's Introduction

basicfiltering

Basic false-positive filters with the following defaults for calls reported by MuTect and VarDict:

  1. (Hard Filter) Tumor Total Depth < 5
  2. (Hard Filter) Tumor Variant Reads < 3
  3. (Hard Filter, VarDict only) Variant call quality < 20 in either tumor or normal
  4. (Soft Filter, f0.01) Tumor Variant Allele Fraction (VAF) < 1%
  5. (Soft Filter, tnr5) For non-hotspot loci, ratio of Tumor:Normal VAFs < 5
  6. (Soft Filter, nm2, VarDict only) Non-hotspot non-SNV with a mean number of mismatches > 2 in tumor
  7. (Soft Filter, mq55, VarDict only) Non-hotspot non-SNV with a mean mapping quality < 55 in tumor

Build Status

Quick Start

# Download and unpack the latest release from GitHub
export GITHUB_URL=`curl -sL https://api.github.com/repos/mskcc/basicfiltering/releases | grep -m1 tarball_url | cut -d\" -f4`
curl -L -o mskcc-basicfiltering.tar.gz $GITHUB_URL; tar -zxf mskcc-basicfiltering.tar.gz; cd mskcc-basicfiltering-*

# Set an environment variable that the cmo package needs
export CMO_RESOURCE_CONFIG=`pwd`/data/cmo_resources.json

# Install dependencies including the mskcc/cmo package needed here
pip install -r requirements.txt

# Read the documentation for required/optional arguments and their default values
python filter_mutect.py --help
python filter_vardict.py --help
python filter_complex.py --help

basicfiltering's People

Contributors

rhshah avatar ckandoth avatar zuojian-tang avatar nikhil avatar lordzappo avatar hisplan avatar kpjonsson 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.