# HG changeset patch # User bgruening # Date 1391449080 18000 # Node ID 20f8dafb554f04f59f9b3bfcd6efbf9ba4a120c8 # Parent 62786277147a84cbef7e8c73137098a9d99f9277 Uploaded diff -r 62786277147a -r 20f8dafb554f bamCompare.xml --- a/bamCompare.xml Sat Feb 01 08:09:18 2014 -0500 +++ b/bamCompare.xml Mon Feb 03 12:38:00 2014 -0500 @@ -47,15 +47,15 @@ #end if #end if + #if str(region).strip() != '': + --region 'region' + #end if + #if $advancedOpt.showAdvancedOpt == "yes": #if $advancedOpt.smoothLength: --smoothLength '$advancedOpt.smoothLength' #end if - #if str($advancedOpt.region.value) != '': - --region '$advancedOpt.region' - #end if - $advancedOpt.doNotExtendPairedEnds $advancedOpt.ignoreDuplicates @@ -140,6 +140,8 @@ + + @@ -152,10 +154,6 @@ label="Smooth values using the following length (in bp)" help ="The smooth length defines a window, larger than the bin size, to average the number of reads. For example, if the bin size is set to 20 bp and the smooth length is set to 60 bp, then, for each bin size the average of it and its left and right neighbors is considered. Any value smaller than the bin size will be ignored and no smoothing will be applied."/> - - diff -r 62786277147a -r 20f8dafb554f bamCoverage.xml --- a/bamCoverage.xml Sat Feb 01 08:09:18 2014 -0500 +++ b/bamCoverage.xml Mon Feb 03 12:38:00 2014 -0500 @@ -31,14 +31,15 @@ --scaleFactor $scaling.scaleFactor #end if + #if str(region).strip() != '': + --region 'region' + #end if + #if $advancedOpt.showAdvancedOpt == "yes": #if $advancedOpt.smoothLength: --smoothLength '$advancedOpt.smoothLength' #end if - #if str($advancedOpt.region.value) != '': - --region '$advancedOpt.region' - #end if $advancedOpt.doNotExtendPairedEnds $advancedOpt.ignoreDuplicates @@ -88,6 +89,8 @@ + + @@ -99,10 +102,6 @@ label="Smooth values using the following length (in bp)" help ="The smooth length defines a window, larger than the bin size, to average the number of reads. For example, if the bin size is set to 20 bp and the smooth length is set to 60 bp, then, for each bin size the average of it and its left and right neighbors is considered. Any value smaller than the bin size will be ignored and no smoothing will be applied."/> - - diff -r 62786277147a -r 20f8dafb554f bamFingerprint.xml --- a/bamFingerprint.xml Sat Feb 01 08:09:18 2014 -0500 +++ b/bamFingerprint.xml Mon Feb 03 12:38:00 2014 -0500 @@ -30,12 +30,11 @@ --plotFileFormat 'png' #end if + #if str(region).strip() != '': + --region 'region' + #end if + #if $advancedOpt.showAdvancedOpt == "yes": - - #if str($advancedOpt.region.value) != '': - --region '$advancedOpt.region' - #end if - --binSize '$advancedOpt.binSize' --numberOfSamples '$advancedOpt.numberOfSamples' @@ -54,8 +53,12 @@ + + + + @@ -63,10 +66,6 @@ - - diff -r 62786277147a -r 20f8dafb554f bigwigCompare.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bigwigCompare.xml Mon Feb 03 12:38:00 2014 -0500 @@ -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 62786277147a -r 20f8dafb554f computeGCBias.xml --- a/computeGCBias.xml Sat Feb 01 08:09:18 2014 -0500 +++ b/computeGCBias.xml Mon Feb 03 12:38:00 2014 -0500 @@ -25,10 +25,11 @@ --effectiveGenomeSize $effectiveGenomeSize.effectiveGenomeSize_opt #end if + #if str(region).strip() != '': + --region 'region' + #end if + #if $advancedOpt.showAdvancedOpt == "yes": - #if str($advancedOpt.region.value) != '': - --region '$advancedOpt.region' - #end if --sampleSize '$advancedOpt.sampleSize' --regionSize '$advancedOpt.regionSize' @@ -57,6 +58,9 @@ + + + @@ -64,10 +68,6 @@ - - diff -r 62786277147a -r 20f8dafb554f correctGCBias.xml --- a/correctGCBias.xml Sat Feb 01 08:09:18 2014 -0500 +++ b/correctGCBias.xml Mon Feb 03 12:38:00 2014 -0500 @@ -33,10 +33,11 @@ --effectiveGenomeSize $effectiveGenomeSize.effectiveGenomeSize_opt #end if + #if str(region).strip() != '': + --region 'region' + #end if + #if $advancedOpt.showAdvancedOpt == "yes": - #if str($advancedOpt.region.value) != '': - --region '$advancedOpt.region' - #end if --binSize '$advancedOpt.binSize' #end if @@ -57,6 +58,8 @@ + + @@ -64,10 +67,6 @@ - - diff -r 62786277147a -r 20f8dafb554f deepTools_macros.xml --- a/deepTools_macros.xml Sat Feb 01 08:09:18 2014 -0500 +++ b/deepTools_macros.xml Mon Feb 03 12:38:00 2014 -0500 @@ -1,8 +1,7 @@ - + + @@ -37,6 +36,13 @@ + + + + + --numberOfProcessors "\${GALAXY_SLOTS:-4}" @@ -44,7 +50,7 @@ samtools deepTools ucsc_tools - deepTools + deepTools ucsc_tools numpy pysam diff -r 62786277147a -r 20f8dafb554f tool_dependencies.xml --- a/tool_dependencies.xml Sat Feb 01 08:09:18 2014 -0500 +++ b/tool_dependencies.xml Mon Feb 03 12:38:00 2014 -0500 @@ -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 b2b025a382f00f05c46cabc16d2cbe90dbb5d63a + git reset --hard 1093b2d281576f23ee04740bd5eae3f7b8422f7e $INSTALL_DIR/lib/python export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &&