Giter VIP home page Giter VIP logo

dpclust3p's Introduction

DPClust pre-processing

This R package contains various functions to produce input data for DPClust using SNV variant calls and copy number data from Battenberg. Most importantly, it contains the runGetDirichletProcessInfo function that produces the input data for SNV based clustering.

Installation instructions

dpclust3p is an R package and can be installed with the commands right below. It also requires the alleleCounter tool to be in $PATH.

source("http://bioconductor.org/biocLite.R"); biocLite(c("optparse","VariantAnnotation","GenomicRanges","Rsamtools","ggplot2","IRanges","S4Vectors","reshape2"))'
devtools::install_github("Wedge-Oxford/dpclust3p")

Running pre-processing

The typical usage is to create the DPClust input data. See inst/example for a few example pipelines. A pipeline typically consists of three steps:

  • Transform loci from a VCF file into a loci file
  • Obtain allele counts for all mutations, either by invoking alleleCount or by dumping counts from the VCF file
  • Convert allele counts and copy number information into DPClust input

The R package contains many functions from which one can build their own pipeline

File Description
preprocessing.R Main preprocessing functions to create DPClust input, perform mutation phasing, filter by mutational signature
allelecount.R Functions to count alleles in a BAM file, or dump counts from a range of VCF formats
kataegis.R Functions to identify kataegis events (requires fastPCF.R)
copynumber.R Various functions related to copy number
qualitycontrol.R Create plots that can be used for QCing
interconvertMutationBurdens.R Basic functions for data transformations
util.R Various utility functions

Docker

This package has been Dockerised, build as follows:

docker build -t dpclust3p:1.0.8 .

dpclust3p's People

Contributors

davidwedge avatar hqbdi avatar jdemeul avatar nmns93 avatar sdentro avatar shaiberalon 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.