# HG changeset patch # User bgruening # Date 1396444544 14400 # Node ID f7712a05744095264e762ca687a259ab202674bf # Parent bf1b1dcdd67b48b3cb06e322e217a74d0b6937ec new bugfix release diff -r bf1b1dcdd67b -r f7712a057440 bamCompare.xml --- a/bamCompare.xml Mon Mar 17 16:23:58 2014 -0400 +++ b/bamCompare.xml Wed Apr 02 09:15:44 2014 -0400 @@ -1,4 +1,4 @@ - + normalizes and compares two BAM files to obtain the ratio, log2ratio or difference. (bam2bigwig) @@ -191,15 +191,20 @@ **What it does** This tool compares two BAM files based on the number of mapped reads. To -compare the BAM files, the genome is partitioned into bins of equal size, -the reads are counted for each bin and each BAM file and finally, a summarizing value is reported. -This value can be the ratio of the number of reads per bin, the log2 of the ratio or the difference. -This tool can normalize the number of reads on each BAM file using the SES method -proposed by Diaz et al. (2012). Stat Appl Genet Mol Biol 11(3). Normalization based on read counts is also available. The -output is either a bedGraph or a bigWig file containing the bin location and -the resulting comparison values. -If paired-end reads are present, the fragment -length reported in the BAM file is used by default. +compare the BAM files, the genome is partitioned into bins of equal size, then +the number of reads found in each BAM file is counted for such bins and +finally a summarizing value is reported. This value can be the ratio of the +number of reads per bin, the log2 of the ratio or the difference. This tool +can normalize the number of reads on each BAM file using the SES method +proposed by Diaz et al. (2012). "Normalization, bias correction, and peak +calling for ChIP-seq". Statistical applications in genetics and molecular +biology, 11(3). Normalization based on read counts is also available. The +output is either a bedgraph or a bigwig file containing the bin location and +the resulting comparison values. By default, if reads are mated, the fragment +length reported in the BAM file is used. In the case of paired-end mapping +each read mate is treated independently to avoid a bias when a mixture of +concordant and discordant pairs is present. This means that *each end* will be +extended to match the fragment length. .. image:: $PATH_TO_IMAGES/norm_IGVsnapshot_indFiles.png diff -r bf1b1dcdd67b -r f7712a057440 bamCorrelate.xml --- a/bamCorrelate.xml Mon Mar 17 16:23:58 2014 -0400 +++ b/bamCorrelate.xml Wed Apr 02 09:15:44 2014 -0400 @@ -1,4 +1,4 @@ - + correlates pairs of BAM files @@ -35,7 +35,9 @@ #if $mode.modeOpt == "bins": --binSize '$mode.binSize' - --numberOfSamples '$mode.numberOfSamples' + --distanceBetweenBins '$mode.distanceBetweenBins' + $mode.doNotRemoveOutliers + #else: --BED $mode.region_file #end if @@ -74,8 +76,8 @@ help ="Reads will be extended to match this length unless they are paired-end, in which case they will be extended to match the fragment length. *NOTE*: If the BAM files contain mated and unmated paired-end reads, unmated reads will be extended to match the fragment length."/> + - @@ -89,9 +91,28 @@ label="Bin size in bp" help="Length in base pairs for a window used to sample the genome."/> - + + + + diff -r bf1b1dcdd67b -r f7712a057440 bamCoverage.xml --- a/bamCoverage.xml Mon Mar 17 16:23:58 2014 -0400 +++ b/bamCoverage.xml Wed Apr 02 09:15:44 2014 -0400 @@ -1,4 +1,4 @@ - + generates a coverage bigWig file from a given BAM file. Multiple options are available to count reads and normalize coverage. (bam2bigwig) @@ -133,11 +133,15 @@ **What it does** -Given a BAM file, this tool generates a bigWig or bedGraph file with genome-wide coverage of fragment or read coverages. -The way the method works is by first calculating all the number of reads (either extended to match the fragment length or not) -that overlap each bin (a region of fixed length, i.e. 25 bp) in the genome. Bins with zero counts are skipped, i.e. not added to the output file. -The resulting read counts can be normalized using either a given scaling factor, the RPKM formula or to get a 1x depth of coverage (RPGC). - +Given a BAM file, this tool generates a bigWig or bedGraph file of fragment or +read coverages. The way the method works is by first calculating all the +number of reads (either extended to match the fragment length or not) that +overlap each bin in the genome. The resulting read counts can be normalized +using either a given scaling factor, the RPKM formula or to get a 1x depth of +coverage (RPGC). In the case of paired-end mapping each read mate is treated +independently to avoid a bias when a mixture of concordant and discordant +pairs is present. This means that *each end* will be extended to match the +fragment length. .. image:: $PATH_TO_IMAGES/norm_IGVsnapshot_indFiles.png diff -r bf1b1dcdd67b -r f7712a057440 bamFingerprint.xml --- a/bamFingerprint.xml Mon Mar 17 16:23:58 2014 -0400 +++ b/bamFingerprint.xml Wed Apr 02 09:15:44 2014 -0400 @@ -1,4 +1,4 @@ - + plots profiles of BAM files; useful for assesing ChIP signal strength diff -r bf1b1dcdd67b -r f7712a057440 bigwigCompare.xml --- a/bigwigCompare.xml Mon Mar 17 16:23:58 2014 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,102 +0,0 @@ - - normalizes and compares two bigWig files to obtain the ratio, log2ratio or difference - - - - bigwigCompare - deepTools_macros.xml - - - bigwigCompare - - @THREADS@ - - --bigwig1 '$bigwigFile1' - --bigwig2 '$bigwigFile2' - - --outFileName '$outFileName' - --outFileFormat '$outFileFormat' - - --ratio $comparison_type - - #if str($region).strip() != '': - --region '$region' - #end if - - #if $advancedOpt.showAdvancedOpt == "yes": - - --missingDataAsZero $advancedOpt.missingDataAsZero - --scaleFactors '$advancedOpt.scaleFactor1:$advancedOpt.scaleFactor2' - --pseudocount '$advancedOpt.pseudocount' - --binSize $advancedOpt.binSize - - #end if - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -**What it does** - -This tool compares two bigwig files based on the number of mapped reads. To -compare the bigwig files the genome is partitioned into bins of equal size, -then the number of reads found in each BAM file are counted for such bins and -finally a summarizing value is reported. This value can be the ratio of the -number of reads per bin, the log2 of the ratio, the sum or the difference. - - ------ - -@REFERENCES@ - - - diff -r bf1b1dcdd67b -r f7712a057440 computeGCBias.xml --- a/computeGCBias.xml Mon Mar 17 16:23:58 2014 -0400 +++ b/computeGCBias.xml Wed Apr 02 09:15:44 2014 -0400 @@ -1,4 +1,4 @@ - + to see whether your samples should be normalized for GC bias diff -r bf1b1dcdd67b -r f7712a057440 computeMatrix.xml --- a/computeMatrix.xml Mon Mar 17 16:23:58 2014 -0400 +++ b/computeMatrix.xml Wed Apr 02 09:15:44 2014 -0400 @@ -1,4 +1,4 @@ - + summarizes and prepares an intermediary file containing scores associated with genomic regions that can be used afterwards to plot a heatmap or a profile diff -r bf1b1dcdd67b -r f7712a057440 correctGCBias.xml --- a/correctGCBias.xml Mon Mar 17 16:23:58 2014 -0400 +++ b/correctGCBias.xml Wed Apr 02 09:15:44 2014 -0400 @@ -1,4 +1,4 @@ - + uses the output from computeGCBias to generate corrected BAM files diff -r bf1b1dcdd67b -r f7712a057440 deepTools_macros.xml --- a/deepTools_macros.xml Mon Mar 17 16:23:58 2014 -0400 +++ b/deepTools_macros.xml Wed Apr 02 09:15:44 2014 -0400 @@ -44,13 +44,14 @@ --numberOfProcessors "\${GALAXY_SLOTS:-4}" + 1.1 @BINARY@ samtools deepTools ucsc_tools - deepTools + deepTools ucsc_tools numpy pysam @@ -64,12 +65,11 @@ - - + diff -r bf1b1dcdd67b -r f7712a057440 heatmapper.xml --- a/heatmapper.xml Mon Mar 17 16:23:58 2014 -0400 +++ b/heatmapper.xml Wed Apr 02 09:15:44 2014 -0400 @@ -1,4 +1,4 @@ - + creates a heatmap for a score associated to genomic regions diff -r bf1b1dcdd67b -r f7712a057440 profiler.xml --- a/profiler.xml Mon Mar 17 16:23:58 2014 -0400 +++ b/profiler.xml Wed Apr 02 09:15:44 2014 -0400 @@ -1,4 +1,4 @@ - + creates a profile plot for a score associated to genomic regions diff -r bf1b1dcdd67b -r f7712a057440 readme.rst --- a/readme.rst Mon Mar 17 16:23:58 2014 -0400 +++ b/readme.rst Wed Apr 02 09:15:44 2014 -0400 @@ -25,6 +25,18 @@ For support, questions, or feature requests contact: deeptools@googlegroups.com +============ +Installation +============ + +Requirements: python-2.7 + +Galaxy should be able to automatically install all other dependencies, such as numpy or scipy. + +For the best performance we recommend to install blas/lapack/atlas in your environment before +installing deepTools from the Tool Shed. + + ======== Citation ======== diff -r bf1b1dcdd67b -r f7712a057440 tool_dependencies.xml --- a/tool_dependencies.xml Mon Mar 17 16:23:58 2014 -0400 +++ b/tool_dependencies.xml Wed Apr 02 09:15:44 2014 -0400 @@ -57,7 +57,7 @@ The tools downloaded by this dependency definition are free for academic use. TODO: UCSC tools are only available with their latest version. That is not good for reproducibility. - + git clone --recursive https://github.com/fidelram/deepTools.git @@ -79,7 +79,7 @@ - git reset --hard 43d3b51b3c3ab71dc07f31fefe6b3492226cc217 + git reset --hard 09023018b96c23f922aa2ea553090e9df8ecf41e $INSTALL_DIR/lib/python export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &&