# HG changeset patch # User bgruening # Date 1386974310 18000 # Node ID e43b4015b4ccb6e633aa12c4e7e28212813818b3 # Parent b8ba675a589544ef630564c2d374e54a54add721 Uploaded diff -r b8ba675a5895 -r e43b4015b4cc bamCompare.xml --- a/bamCompare.xml Thu Dec 12 18:13:18 2013 -0500 +++ b/bamCompare.xml Fri Dec 13 17:38:30 2013 -0500 @@ -1,4 +1,4 @@ - + normalizes and compares two BAM files to obtain the ratio, log2ratio or difference. (bam2bigwig) diff -r b8ba675a5895 -r e43b4015b4cc bamCorrelate.xml --- a/bamCorrelate.xml Thu Dec 12 18:13:18 2013 -0500 +++ b/bamCorrelate.xml Fri Dec 13 17:38:30 2013 -0500 @@ -1,4 +1,4 @@ - + correlates pairs of BAM files @@ -6,9 +6,6 @@ deepTools_macros.xml - #import tempfile - #set $temp_dir = os.path.abspath(tempfile.mkdtemp()) - #set files=[] #set labels=[] @@ -22,16 +19,17 @@ --bamfiles #echo " ".join($files) --labels #echo " ".join($labels) - --fragmentLength $fragmentLength --corMethod $corMethod - #set newoutFileName=str($outFileName)+".png" - --plotFile $newoutFileName + --plotFile $outFileName #if $outputOpt.showOutputOpt == "yes" --outRawCounts '$outFileRawCounts' --outFileCorMatrix '$outFileCorMatrix' + --plotFileFormat $output.outFileFormat + #else: + --plotFileFormat 'png' #end if #if $mode.modeOpt == "bins": @@ -65,9 +63,6 @@ --colorMap '$mode.advancedOpt.colorMap' #end if - - ; mv $newoutFileName $outFileName - ; rm $temp_dir -rf @@ -112,6 +107,13 @@ + + + + + + + @@ -119,7 +121,14 @@ - + + + + + + + + (outputOpt['showOutputOpt'] == 'yes' and outputOpt['saveRawCounts'] == True) diff -r b8ba675a5895 -r e43b4015b4cc bamCoverage.xml --- a/bamCoverage.xml Thu Dec 12 18:13:18 2013 -0500 +++ b/bamCoverage.xml Fri Dec 13 17:38:30 2013 -0500 @@ -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) diff -r b8ba675a5895 -r e43b4015b4cc bamFingerprint.xml --- a/bamFingerprint.xml Thu Dec 12 18:13:18 2013 -0500 +++ b/bamFingerprint.xml Fri Dec 13 17:38:30 2013 -0500 @@ -1,4 +1,4 @@ - + plots profiles of BAM files; useful for assesing ChIP signal strength diff -r b8ba675a5895 -r e43b4015b4cc bigwigCompare.xml --- a/bigwigCompare.xml Thu Dec 12 18:13:18 2013 -0500 +++ b/bigwigCompare.xml Fri Dec 13 17:38:30 2013 -0500 @@ -1,4 +1,4 @@ - + normalizes and compares two bigWig files to obtain the ratio, log2ratio or difference diff -r b8ba675a5895 -r e43b4015b4cc computeGCBias.xml --- a/computeGCBias.xml Thu Dec 12 18:13:18 2013 -0500 +++ b/computeGCBias.xml Fri Dec 13 17:38:30 2013 -0500 @@ -1,4 +1,4 @@ - + to see whether your samples should be normalized for GC bias diff -r b8ba675a5895 -r e43b4015b4cc computeMatrix.xml --- a/computeMatrix.xml Thu Dec 12 18:13:18 2013 -0500 +++ b/computeMatrix.xml Fri Dec 13 17:38:30 2013 -0500 @@ -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 b8ba675a5895 -r e43b4015b4cc correctGCBias.xml --- a/correctGCBias.xml Thu Dec 12 18:13:18 2013 -0500 +++ b/correctGCBias.xml Fri Dec 13 17:38:30 2013 -0500 @@ -1,4 +1,4 @@ - + uses the output from computeGCBias to generate corrected BAM files diff -r b8ba675a5895 -r e43b4015b4cc deepTools_macros.xml --- a/deepTools_macros.xml Thu Dec 12 18:13:18 2013 -0500 +++ b/deepTools_macros.xml Fri Dec 13 17:38:30 2013 -0500 @@ -43,7 +43,7 @@ samtools deepTools ucsc_tools - deepTools + deepTools ucsc_tools numpy pysam @@ -172,7 +172,13 @@ - + + + + + + + @@ -181,6 +187,14 @@ + + + + + + + + (( diff -r b8ba675a5895 -r e43b4015b4cc heatmapper.xml --- a/heatmapper.xml Thu Dec 12 18:13:18 2013 -0500 +++ b/heatmapper.xml Fri Dec 13 17:38:30 2013 -0500 @@ -1,184 +1,175 @@ - + creates a heatmap for a score associated to genomic regions deepTools_macros.xml - - heatmapper + + heatmapper + + --matrixFile $matrixFile + --outFileName $outFileName - --matrixFile $matrixFile - #if $output.showOutputSettings == "yes" - #set newoutFileName=str($outFileName)+"."+str($output.outFileFormat) - --outFileName $newoutFileName - #if $outFileNameData: - --outFileNameData '$outFileNameData' - #end if - - #if $outFileNameMatrix: - --outFileNameMatrix '$outFileNameMatrix' - #end if + #if $output.showOutputSettings == "yes" + --plotFileFormat $output.outFileFormat + #if $outFileNameData: + --outFileNameData '$outFileNameData' + #end if - #if $outFileSortedRegions: - --outFileSortedRegions '$outFileSortedRegions' - #end if - #else - #set newoutFileName=str($outFileName)+".png" - --outFileName $newoutFileName - #end if - - #if $advancedOpt.showAdvancedOpt == "yes" - #if $advancedOpt.sortRegions: - --sortRegions '$advancedOpt.sortRegions' - #end if - - #if $advancedOpt.sortUsing: - --sortUsing '$advancedOpt.sortUsing' - #end if - - #if $advancedOpt.averageTypeSummaryPlot: - --averageTypeSummaryPlot '$advancedOpt.averageTypeSummaryPlot' - #end if - - #if str($advancedOpt.missingDataColor.value) != "None": - --missingDataColor '$advancedOpt.missingDataColor' - #end if + #if $outFileNameMatrix: + --outFileNameMatrix '$outFileNameMatrix' + #end if + + #if $outFileSortedRegions: + --outFileSortedRegions '$outFileSortedRegions' + #end if + #else + --plotFileFormat 'png' + #end if + + #if $advancedOpt.showAdvancedOpt == "yes" + #if $advancedOpt.sortRegions: + --sortRegions '$advancedOpt.sortRegions' + #end if - --colorMap '$advancedOpt.colorMap' - - #if $advancedOpt.zMin: - --zMin $advancedOpt.zMin - #end if - #if $advancedOpt.zMax: - --zMax $advancedOpt.zMax - #end if - - #if $advancedOpt.yMin: - --yMin $advancedOpt.yMin - #end if - #if $advancedOpt.yMax: - --yMax $advancedOpt.yMax - #end if + #if $advancedOpt.sortUsing: + --sortUsing '$advancedOpt.sortUsing' + #end if + + #if $advancedOpt.averageTypeSummaryPlot: + --averageTypeSummaryPlot '$advancedOpt.averageTypeSummaryPlot' + #end if - --xAxisLabel '$advancedOpt.xAxisLabel' - --yAxisLabel '$advancedOpt.yAxisLabel' + #if str($advancedOpt.missingDataColor.value) != "None": + --missingDataColor '$advancedOpt.missingDataColor' + #end if + + --colorMap '$advancedOpt.colorMap' + + #if $advancedOpt.zMin: + --zMin $advancedOpt.zMin + #end if + #if $advancedOpt.zMax: + --zMax $advancedOpt.zMax + #end if - --heatmapWidth $advancedOpt.heatmapWidth - --heatmapHeight $advancedOpt.heatmapHeight - - --whatToShow '$advancedOpt.whatToShow' + #if $advancedOpt.yMin: + --yMin $advancedOpt.yMin + #end if + #if $advancedOpt.yMax: + --yMax $advancedOpt.yMax + #end if - --startLabel '$advancedOpt.startLabel' - --endLabel '$advancedOpt.endLabel' - --refPointLabel '$advancedOpt.referencePointLabel' - --regionsLabel '$advancedOpt.regionsLabel' + --xAxisLabel '$advancedOpt.xAxisLabel' + --yAxisLabel '$advancedOpt.yAxisLabel' + + --heatmapWidth $advancedOpt.heatmapWidth + --heatmapHeight $advancedOpt.heatmapHeight + + --whatToShow '$advancedOpt.whatToShow' - #if str($advancedOpt.plotTitle.value) != "None": - --plotTitle '$advancedOpt.plotTitle' - #end if + --startLabel '$advancedOpt.startLabel' + --endLabel '$advancedOpt.endLabel' + --refPointLabel '$advancedOpt.referencePointLabel' + --regionsLabel '$advancedOpt.regionsLabel' - $advancedOpt.onePlotPerGroup - #end if + #if str($advancedOpt.plotTitle.value) != "None": + --plotTitle '$advancedOpt.plotTitle' + #end if - ; mv $newoutFileName $outFileName - - - + $advancedOpt.onePlotPerGroup + #end if + + + - - - + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + - + - + - - - - + + + + - - - - - + + - - - - - - - - + + - - + + + + + + + + - - - - - - - - + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - + **What it does** diff -r b8ba675a5895 -r e43b4015b4cc profiler.xml --- a/profiler.xml Thu Dec 12 18:13:18 2013 -0500 +++ b/profiler.xml Fri Dec 13 17:38:30 2013 -0500 @@ -1,4 +1,4 @@ - + creates a profile plot for a score associated to genomic regions @@ -11,10 +11,10 @@ profiler --matrixFile $matrixFile + --outFileName $outFileName #if $output.showOutputSettings == "yes" - #set newoutFileName = str($outFileName)+"."+str($output.outFileFormat) - --outFileName $newoutFileName + --plotFileFormat $output.outFileFormat #if $output.saveData: --outFileNameData '$outFileNameData' @@ -28,8 +28,7 @@ --outFileSortedRegions '$outFileSortedRegions' #end if #else - #set newoutFileName = str($outFileName)+".png" - --outFileName $newoutFileName + --plotFileFormat 'png' #end if #if $scaleRegions.showScaleRegionsOpt == "yes": @@ -65,7 +64,6 @@ --yAxisLabel '$advancedOpt.yAxisLabel' #end if #end if - ; mv $newoutFileName $outFileName @@ -113,7 +111,6 @@ - @@ -125,14 +122,6 @@ - - - - - - - - diff -r b8ba675a5895 -r e43b4015b4cc tool_dependencies.xml --- a/tool_dependencies.xml Thu Dec 12 18:13:18 2013 -0500 +++ b/tool_dependencies.xml Fri Dec 13 17:38:30 2013 -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 @@ -70,7 +70,7 @@ - git reset --hard fada41ab04f78c4c78d10c7a216e5c3160e8c36e + git reset --hard 6765c227d9628f8e6ba690e6fde7f1d86c497b49 $INSTALL_DIR/lib/python export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &&