PeakRescue is freely available under a GNU Public License.
PeakRescue is a robust fragment counting method for RNA-seq data.
This tool takes BAM files produced using any splice aware aligner e.g, TopHat, STAR etc., and produces fragment count data per gene.
##Dependencies
Python 2.5+ (< 3) - Please note peakRescue was tested with python 2.6.6 and 2.7.10.
Perl 5.14.2+
Tested on various Unix platforms [ Not tested on Mac OS X].
Please read the Licensing agreement for respective tools before downloading them for commercial use.
peakRescue was tested with numpy version 1.6.2:
https://pypi.python.org/pypi/numpy/1.6.2
peakRescue was tested with cython version 0.22:
https://pypi.python.org/pypi/Cython/0.22
Please install the following tools before running setup.sh script and make sure that the path is set in config/peakrescue.ini file [optional if using 'clipover' as coverage calculation option]
GATK - https://github.com/broadgsa/gatk-protected [ required only if user wants to use algorithm option: gatk for coverage calculation ]
https://github.com/broadgsa/gatk-protected/archive/2.8.tar.gz
Picard - https://github.com/broadinstitute/picard [ required only if user wants to use algorithm option: gatk for coverage calculation ]
https://github.com/broadinstitute/picard/releases/download/1.131/picard-tools-1.131.zip
Samtools - http://samtools.sourceforge.net [ required only if user wants to use algorithm option: mpielup for coverage calculation ]
https://github.com/samtools/samtools/archive/1.2.tar.gz
Bio::DB::Sam - http://search.cpan.org/~lds/Bio-SamTools/lib/Bio/DB/Sam.pm
http://search.cpan.org/CPAN/authors/id/L/LD/LDS/Bio-SamTools-1.42.tar.gz
BamUtil - http://genome.sph.umich.edu/wiki/BamUtils
http://genome.sph.umich.edu/w/images/7/70/BamUtilLibStatGen.1.0.13.tgz
Tabix - http://samtools.sourceforge.net/tabix.shtml
http://sourceforge.net/projects/samtools/files/tabix/tabix-0.2.6.tar.bz2
BedTools - http://bedtools.readthedocs.org/en/latest/
https://bedtools.googlecode.com/files/BEDTools.v2.17.0.tar.gz
Edit your ~/.bashrc and add the following line - replacing 'full_path_to_your_python_installation_dir' to your own python path: alias python='full_path_to_your_python_installation_dir/python'
Save ~/.bashrc & quit.
Update environment variables with the following command: source ~/.bashrc.
Check the use of the correct python path and version: which python && python -V
wget https://github.com/rnaseq/peakRescue/archive/x.x.x.tar.gz
tar -xvzf x.x.x.tar.gz
git clone https://github.com/rnaseq/peakRescue.git
cd peakRescue-x.x.x/
/bin/bash ./setup.sh <path_to_install_dir>
perl ./bin/runPeakRescue.pl -bam datasets/chr21.bam -gtf datasets/chr21.gtf.gz -g datasets/chr21.fa -alg clipover -o output
clipover - uses bamutils clipOverlap option to merge overlapping reads [ fast and gives simialr results to gatk on test data set ]
gatk - uses gatk DepthOfCoverage [ slow but accurate coverage for overlapping read pairs from same fragment ]
mpileup - uses samtools v1.1 and above [ faster than gatk - propelry calculates coverage for overlapping reads ]