# HG changeset patch # User bgruening # Date 1396302530 14400 # Node ID b9feca1f07f018197af853663eca8551873f3c1d # Parent 3fc7efe86cfcfe78059fd0308a967a96137e71a7 Uploaded diff -r 3fc7efe86cfc -r b9feca1f07f0 bamCompare.xml --- a/bamCompare.xml Tue Feb 04 09:11:10 2014 -0500 +++ b/bamCompare.xml Mon Mar 31 17:48:50 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 3fc7efe86cfc -r b9feca1f07f0 bamCorrelate.xml --- a/bamCorrelate.xml Tue Feb 04 09:11:10 2014 -0500 +++ b/bamCorrelate.xml Mon Mar 31 17:48:50 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 3fc7efe86cfc -r b9feca1f07f0 bamCoverage.xml --- a/bamCoverage.xml Tue Feb 04 09:11:10 2014 -0500 +++ b/bamCoverage.xml Mon Mar 31 17:48:50 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) @@ -60,7 +60,7 @@ + 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. If this value is set to the read length or smaller, the read will not be extended. *Warning* the fragment length affects the normalization to 1x (see "normalize coverage to 1x"). Sequencing depth is defined as: (total number of mapped reads * fragment length) / effective genome size. *NOTE*: If the BAM files contain mated and unmated paired-end reads, unmated reads will be extended to match the fragment length."/> + plots profiles of BAM files; useful for assesing ChIP signal strength diff -r 3fc7efe86cfc -r b9feca1f07f0 bigwigCompare.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bigwigCompare.xml Mon Mar 31 17:48:50 2014 -0400 @@ -0,0 +1,102 @@ + + 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 3fc7efe86cfc -r b9feca1f07f0 computeGCBias.xml --- a/computeGCBias.xml Tue Feb 04 09:11:10 2014 -0500 +++ b/computeGCBias.xml Mon Mar 31 17:48:50 2014 -0400 @@ -1,4 +1,4 @@ - + to see whether your samples should be normalized for GC bias diff -r 3fc7efe86cfc -r b9feca1f07f0 computeMatrix.xml --- a/computeMatrix.xml Tue Feb 04 09:11:10 2014 -0500 +++ b/computeMatrix.xml Mon Mar 31 17:48:50 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 3fc7efe86cfc -r b9feca1f07f0 correctGCBias.xml --- a/correctGCBias.xml Tue Feb 04 09:11:10 2014 -0500 +++ b/correctGCBias.xml Mon Mar 31 17:48:50 2014 -0400 @@ -1,4 +1,4 @@ - + uses the output from computeGCBias to generate corrected BAM files @@ -45,6 +45,7 @@ ##--correctedFile $newoutFileName; --correctedFile "corrected.bam"; + ##mv $newoutFileName $outFileName mv "corrected.bam" $outFileName @@ -71,7 +72,7 @@ + help="Size of the bins in bp for the output of the bigwig/bedgraph file."/> diff -r 3fc7efe86cfc -r b9feca1f07f0 deepTools_macros.xml --- a/deepTools_macros.xml Tue Feb 04 09:11:10 2014 -0500 +++ b/deepTools_macros.xml Mon Mar 31 17:48:50 2014 -0400 @@ -44,13 +44,14 @@ --numberOfProcessors "\${GALAXY_SLOTS:-4}" + 1.1 @BINARY@ samtools deepTools ucsc_tools - deepTools + deepTools ucsc_tools numpy pysam @@ -64,7 +65,6 @@ - diff -r 3fc7efe86cfc -r b9feca1f07f0 heatmapper.xml --- a/heatmapper.xml Tue Feb 04 09:11:10 2014 -0500 +++ b/heatmapper.xml Mon Mar 31 17:48:50 2014 -0400 @@ -1,4 +1,4 @@ - + creates a heatmap for a score associated to genomic regions diff -r 3fc7efe86cfc -r b9feca1f07f0 profiler.xml --- a/profiler.xml Tue Feb 04 09:11:10 2014 -0500 +++ b/profiler.xml Mon Mar 31 17:48:50 2014 -0400 @@ -1,4 +1,4 @@ - + creates a profile plot for a score associated to genomic regions diff -r 3fc7efe86cfc -r b9feca1f07f0 readme.rst --- a/readme.rst Tue Feb 04 09:11:10 2014 -0500 +++ b/readme.rst Mon Mar 31 17:48:50 2014 -0400 @@ -25,6 +25,16 @@ 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. + + + ======== Citation ======== diff -r 3fc7efe86cfc -r b9feca1f07f0 tool_dependencies.xml --- a/tool_dependencies.xml Tue Feb 04 09:11:10 2014 -0500 +++ b/tool_dependencies.xml Mon Mar 31 17:48:50 2014 -0400 @@ -1,13 +1,13 @@ - + - + @@ -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 @@ -72,14 +72,14 @@ - + - git reset --hard 3268f7e1458f3a520ab6fea3039971ee9d7a6d5b + git reset --hard 43d3b51b3c3ab71dc07f31fefe6b3492226cc217 $INSTALL_DIR/lib/python export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &&