Giter Site home page Giter Site logo

moskon / pcrduplicates Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vibansal/pcrduplicates

0.0 1.0 0.0 3.34 MB

method to estimate PCR duplication rate from high-throughput sequencing data

Makefile 0.82% C 82.53% Python 4.31% C++ 1.05% TeX 0.40% Perl 7.75% Java 0.64% Roff 2.50%

pcrduplicates's Introduction

Computational method to estimate the PCR duplication rate in high-throughput DNA sequencing experiments

PCR amplification is an important step in the preparation of DNA sequencing libraries prior to high-throughput sequencing. Existing computational methods for analysis of read duplicates assume that all read duplicates arise due to PCR amplification. However, a high rate of read duplicates is observed in deep sequencing experiments or experiments such as RNA-seq. We present a computational method that exploits the heterozygosity in diploid genomes to estimate the PCR duplication rate accounting for read duplicates that are not due to PCR amplification.

A paper describing this method has been published in BMC Bioinformatics, March 2017: http://bmcbioinformatics.biomedcentral.com/articles/10.1186/s12859-017-1471-9

INPUT files for running program

  1. coordinate sorted BAM file with aligned reads
  2. VCF file with heterozygous variants called from BAM file using a variant calling tool such as GATK UnifiedGenotyper or samtools

compile the CODE

run 'make all'

Two step process to extract reads overlapping variant sites and then analyze read clusters to estimate PCR duplication rate

  1. ./extract_duplicates --bam sample.bam --VCF variants.VCF > sample.hetreads
  2. python estimate_PCRduprate.py -i sample.hetreads -f exome > sample.PCRdups

obtain FINAL estimate of the PCR duplication rate

grep FINAL_PCR_RATE sample.PCRdups > sample.PCRduprate.estimate

Sample Data

see DATA folder

FAQ

  1. The program uses samtools (v 0.1.18) to parse BAM files. The source code for samtools is included in the github repository (directory parsebam/samtools-0.1.18).
  2. The program has been tested on exome-seq, targeted DNA seq and RNA-seq datasets. For RNA-seq, an independent set of heterozygous variants is needed.

pcrduplicates's People

Contributors

vibansal avatar

Watchers

James Cloos 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.