# HG changeset patch
# User bgruening
# Date 1387187501 18000
# Node ID 1e5fcb1555de04f378d59fbf91f83b5eab8fc18d
# Parent f996339050ac85733322535cdb641efe280d6248
Uploaded
diff -r f996339050ac -r 1e5fcb1555de bamFingerprint.xml
--- a/bamFingerprint.xml Sat Dec 14 16:13:11 2013 -0500
+++ b/bamFingerprint.xml Mon Dec 16 04:51:41 2013 -0500
@@ -26,12 +26,16 @@
#set newoutFileName=str($outFileName)+".png"
--plotFile $newoutFileName
- #if $outputOpt.showOutputOpt == "yes"
- #if $outputOpt.saveRawCounts:
+ #if $output.showOutputSettings == "yes"
+ --plotFileFormat $output.outFileFormat
+ #if $output.saveRawCounts:
--outRawCounts '$outFileRawCounts'
#end if
+ #else
+ --plotFileFormat 'png'
#end if
+
#if $advancedOpt.showAdvancedOpt == "yes":
#if str($advancedOpt.region.value) != '':
@@ -95,22 +99,28 @@
-
-
+
+
+
-
+
- (outputOpt['showOutputOpt'] == 'yes' and outputOpt['saveRawCounts'] == True)
+
+ ((
+ outputOpt['showOutputOpt'] == 'yes' and
+ outputOpt['saveRawCounts'] is True
+ ))
+
diff -r f996339050ac -r 1e5fcb1555de computeGCBias.xml
--- a/computeGCBias.xml Sat Dec 14 16:13:11 2013 -0500
+++ b/computeGCBias.xml Mon Dec 16 04:51:41 2013 -0500
@@ -10,7 +10,6 @@
ln -s $bamInput.metadata.bam_index local_bamInput.bam.bai;
computeGCBias
-
@THREADS@
--bamfile 'local_bamInput.bam'
@@ -42,79 +41,73 @@
#end if
#end if
- #if $saveBiasPlot:
- --biasPlot $biasPlot
+ #if str($image_format) != 'none':
+ --biasPlot $outImageName
+ --plotFileFormat $image_format
#end if
-
- ## #if $output.showOutputSettings == "yes"
- ## #if $output.saveBiasPlot:
- ## --biasPlot biasPlot.png ;
- ## mv biasPlot.png $biasPlot
- ## #end if
- ## #end if
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- saveBiasPlot is True
-
-
-
-
+
+
+
+
+
+ ((
+ image_format != 'none'
+ ))
+
+
+
+
+
+
+
+
+
+
**What it does**
diff -r f996339050ac -r 1e5fcb1555de correctGCBias.xml
--- a/correctGCBias.xml Sat Dec 14 16:13:11 2013 -0500
+++ b/correctGCBias.xml Mon Dec 16 04:51:41 2013 -0500
@@ -5,91 +5,84 @@
deepTools_macros.xml
-
- #import tempfile
- #set $temp_dir = os.path.abspath(tempfile.mkdtemp())
+
+ #import tempfile
+ #set $temp_dir = os.path.abspath(tempfile.mkdtemp())
- #set $temp_bam_handle = tempfile.NamedTemporaryFile( dir=$temp_dir )
- #set $temp_bam_path = $temp_bam_handle.name + '.bam'
- #silent $temp_bam_handle.close()
- #silent os.system("ln -s %s %s" % (str($bamInput), $temp_bam_path))
- #silent os.system("ln -s %s %s.bai" % (str($bamInput.metadata.bam_index), $temp_bam_path))
+ #set $temp_bam_handle = tempfile.NamedTemporaryFile( dir=$temp_dir )
+ #set $temp_bam_path = $temp_bam_handle.name + '.bam'
+ #silent $temp_bam_handle.close()
+ #silent os.system("ln -s %s %s" % (str($bamInput), $temp_bam_path))
+ #silent os.system("ln -s %s %s.bai" % (str($bamInput.metadata.bam_index), $temp_bam_path))
- correctGCBias
+ correctGCBias
- @THREADS@
+ @THREADS@
- --bamfile '$temp_bam_path'
- --GCbiasFrequenciesFile $GCbiasFrequenciesFile
+ --bamfile '$temp_bam_path'
+ --GCbiasFrequenciesFile $GCbiasFrequenciesFile
- @reference_genome_source@
+ @reference_genome_source@
- #if $effectiveGenomeSize.effectiveGenomeSize_opt == "specific":
- --effectiveGenomeSize $effectiveGenomeSize.effectiveGenomeSize
- #else:
- --effectiveGenomeSize $effectiveGenomeSize.effectiveGenomeSize_opt
- #end if
-
+ #if $effectiveGenomeSize.effectiveGenomeSize_opt == "specific":
+ --effectiveGenomeSize $effectiveGenomeSize.effectiveGenomeSize
+ #else:
+ --effectiveGenomeSize $effectiveGenomeSize.effectiveGenomeSize_opt
+ #end if
- #if $advancedOpt.showAdvancedOpt == "yes":
- #if str($advancedOpt.region.value) != '':
- --region '$advancedOpt.region'
- #end if
-
- --binSize '$advancedOpt.binSize'
- #end if
-
- #set newoutFileName="corrected."+str($outFileFormat)
-
- --correctedFile $newoutFileName; mv $newoutFileName $outFileName
+ #if $advancedOpt.showAdvancedOpt == "yes":
+ #if str($advancedOpt.region.value) != '':
+ --region '$advancedOpt.region'
+ #end if
+ --binSize '$advancedOpt.binSize'
+ #end if
-
-
-
+ #set newoutFileName="corrected."+str($outFileFormat)
+ --correctedFile $newoutFileName;
-
-
-
-
+ mv $newoutFileName $outFileName
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
**What it does**
diff -r f996339050ac -r 1e5fcb1555de deepTools_macros.xml
--- a/deepTools_macros.xml Sat Dec 14 16:13:11 2013 -0500
+++ b/deepTools_macros.xml Mon Dec 16 04:51:41 2013 -0500
@@ -43,7 +43,7 @@
samtools
deepTools
ucsc_tools
- deepTools
+ deepTools
ucsc_tools
numpy
pysam
diff -r f996339050ac -r 1e5fcb1555de tool_dependencies.xml
--- a/tool_dependencies.xml Sat Dec 14 16:13:11 2013 -0500
+++ b/tool_dependencies.xml Mon Dec 16 04:51:41 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
@@ -79,7 +79,7 @@
- git reset --hard 6765c227d9628f8e6ba690e6fde7f1d86c497b49
+ git reset --hard 74aac0843a956ca352e3e85087f20c8f158e2f7d
$INSTALL_DIR/lib/python
export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &&