Giter VIP home page Giter VIP logo

vegawes's Introduction

VEGAWES package

This is an R package that implements VEGAWES, a segmentation algorithm based on Mumford and Shah variational model, for copy number segmentation on Whole Exome Sequencing data. The package and the source code can be downloaded here.

To install the package on R:
library(devtools)
install_github("samreenanjum/VEGAWES")
Load the library:
library(VEGAWES)
Dependencies:
  • Hg19 Reference Genome: (ftp://ftp.ncbi.nlm.nih.gov/sra/reports/Assembly/GRCh37-HG19_Broad_variant/Homo_sapiens_assembly19.fasta)
  • Genome Analysis Tool Kit (GATK) jar
Input files required:
  • Paired Tumor-Normal BAM files
  • Exome Interval List (Included in the package under /inst/extdata as "targets.interval_list" )
  • GC Content Data (Included in the package under /data as "GCContent.<chromosome>.RData". Please note that this data is generated for the provided exome list. For new exome lists, GC content will have to be regenerated. Script to create these files in .txt format is in /inst/extdata/ - Requires samtools.)

In addition, "parameters.txt" must be modified to include all the required paths. See Examples below and VEGAWES.pdf under /inst/doc for further details.

The file "parameters.txt" contains the following information:

* Path to the working directory
* Reference genome file path
* Path to the GATK jar
* List of exons filepath to run GATK
* Name of the sample (to create an output folder under the working directory to save GATK results and the segmentation results)
* Normal input BAM file path
* Tumor input BAM file path
* Path to the GC Content Data folder

Example of "parameters.txt":

/home/VEGAWES
/home/VEGAWES/Homo\_sapiens\_assembly19.fasta
/home/tools/GATK/GenomeAnalysisTK.jar
/home/VEGAWES/inst/extdata/targets.interval_list
06-0125
/home/data/TCGA/GBM/TCGA-06-0125/6f138046-a805-489a-a335-6686173d6505/C484.TCGA-06-0125-10A-01D-1490-08.6.bam
/home/data/TCGA/GBM/TCGA-06-0125/ced14238-6593-4648-b3bb-ca7711f71346/C484.TCGA-06-0125-01A-01D-1490-08.6.bam
/home/VEGAWES/data/GCC
Run the pipeline

To run the pipeline, the user needs to run the runVEGAWES function giving atleast two parameters - "parameters.txt" and the list of chromosomes to be analyzed (Note: Please provide the chromosome numerically as 1, 2, etc, and not with characters like in "chr1"). In addition, Java must be in the current path to run GATK.

This function first runs GATK to compute average read counts from the BAM files, normalizes the counts based on GC Content, computes log-ratio values for each exome, and finally runs VEGAWES segmentation on the required chromosomes. The average read counts and other output files are stored in a new output directory named after the sample-name.

The function can be called in the following way:

runVEGAWES( "parameters.txt", chr.list = c(1:22) )

The segmentation results for each chromosome are stored in the output directory as "Segmentation.<chromosome>.txt".

Please refer to the VEGAWES.pdf under /inst/doc for further details and descriptions.

Copyright © [2015] QCRI a member of Qatar Foundation. All Rights Reserved;

vegawes's People

Contributors

samreenanjum avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

vegawes's Issues

GC Content

Hello,
I've used your bash script to create the GC content files and got them as txt files.
However, the runVEGAWES script seems to require RData files.

What should I do?

Best,
-E

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.