changeset 21:8436c195dd6c draft

Uploaded
author bgruening
date Tue, 10 Dec 2013 11:03:36 -0500
parents 449f962a8007
children 8710187d1eb5
files bamCompare.xml bamCoverage.xml bigwigCompare.xml computeGCBias.xml computeMatrix.xml correctGCBias.xml deepTools_macros.xml
diffstat 7 files changed, 41 insertions(+), 25 deletions(-) [+]
line wrap: on
line diff
--- a/bamCompare.xml	Tue Dec 10 09:08:31 2013 -0500
+++ b/bamCompare.xml	Tue Dec 10 11:03:36 2013 -0500
@@ -70,7 +70,7 @@
         <param name="bamFile1" format="bam" type="data" label="Treatment BAM file"
             help="The BAM file must be sorted."/>
 
-        <param name="bamFile2" format="bam" type="data" label="Input BAM file"
+        <param name="bamFile2" format="bam" type="data" label="BAM file"
             help="The BAM file must be sorted."/>
 
         <param name="fragmentLength" type="integer" value="300" min="1"
--- a/bamCoverage.xml	Tue Dec 10 09:08:31 2013 -0500
+++ b/bamCoverage.xml	Tue Dec 10 11:03:36 2013 -0500
@@ -48,7 +48,7 @@
     </command>
 
     <inputs>
-        <param name="bamInput" format="bam" type="data" label="Input BAM file"
+        <param name="bamInput" format="bam" type="data" label="BAM file"
             help="The BAM file must be sorted."/>
 
         <param name="fragmentLength" type="integer" value="300" min="1"
--- a/bigwigCompare.xml	Tue Dec 10 09:08:31 2013 -0500
+++ b/bigwigCompare.xml	Tue Dec 10 11:03:36 2013 -0500
@@ -35,7 +35,7 @@
     </stdio>
     <inputs>
         <param name="bigwigFile1" format="bigwig" type="data" label="Treatment bigwig file" />
-        <param name="bigwigFile2" format="bigwig" type="data" label="Input bigwig file" />
+        <param name="bigwigFile2" format="bigwig" type="data" label="bigWig file" />
 
         <param name="comparison_type" type="select" 
                 label="How to compare the two files"
--- a/computeGCBias.xml	Tue Dec 10 09:08:31 2013 -0500
+++ b/computeGCBias.xml	Tue Dec 10 11:03:36 2013 -0500
@@ -58,7 +58,7 @@
     </command>
     <inputs>
 
-        <param name="bamInput" format="bam" type="data" label="Input BAM file"
+        <param name="bamInput" format="bam" type="data" label="BAM file"
             help="The BAM file must be sorted."/>
 
         <expand macro="reference_genome_source" />
--- a/computeMatrix.xml	Tue Dec 10 09:08:31 2013 -0500
+++ b/computeMatrix.xml	Tue Dec 10 11:03:36 2013 -0500
@@ -115,10 +115,11 @@
       
       <when value="reference-point">
         <param name="referencePoint" type="select" label="The reference point for the plotting">
-        <option value="TSS" selected="true">region start (TSS)</option>
-        <option value="TES" selected="true">region end (TES)</option>
-        <option value="center" selected="true">center of the region</option>
+            <option value="TSS" selected="true">beginning of region (e.g. TSS)</option>
+            <option value="TES">end of region (e.g. TES)</option>
+            <option value="center">center of region</option>
         </param>
+        
         <param name="nanAfterEnd" type="boolean" truevalue="--nanAfterEnd" falsevalue="" label="Discard any values after the region end" help="This is useful to visualize the region end when not using the scale-regions mode and when the reference-point is set to the TSS."/>
         <param name="beforeRegionStartLength" type="integer" value="1000" min="1" label="Distance upstream of the start site of the regions defined in the region file" help="If the regions are genes, this would be the distance upstream of the transcription start site."/>
         
@@ -128,15 +129,15 @@
     
     <conditional name="output" >
         <param name="showOutputSettings" type="select" label="Show additional output options" >
-        <option value="no" selected="true">no</option>
-        <option value="yes">yes</option>
-      </param>
-      <when value="no" />
-      <when value="yes">
-        <param name="saveData" type="boolean" label="Save the averages per matrix column into a text file" help="This corresponds to the underlying data used to plot a summary profile."/>
-        <param name="saveMatrix" type="boolean" label="Save the matrix of values underlying the heatmap" help="This matrix can easily be loaded into R or other programs."/>
-        <param name="saveSortedRegions" type="boolean" label="Save the regions after skiping zeros or min/max threshold values" help="The order of the regions in the file follows the sorting order selected. This is useful, for example, to generate other heatmaps keeping the sorting of the first heatmap."/>
-    </when>
+            <option value="no" selected="true">no</option>
+            <option value="yes">yes</option>
+        </param>
+          <when value="no" />
+          <when value="yes">
+            <param name="saveData" type="boolean" label="Save the averages per matrix column into a text file" help="This corresponds to the underlying data used to plot a summary profile."/>
+            <param name="saveMatrix" type="boolean" label="Save the matrix of values underlying the heatmap" help="This matrix can easily be loaded into R or other programs."/>
+            <param name="saveSortedRegions" type="boolean" label="Save the regions after skiping zeros or min/max threshold values" help="The order of the regions in the file follows the sorting order selected. This is useful, for example, to generate other heatmaps keeping the sorting of the first heatmap."/>
+        </when>
     </conditional>
 
     <conditional name="advancedOpt" >
@@ -182,17 +183,32 @@
     
     </inputs>
   <outputs>
-    <data format="bgzip" name="outFileName" label="${tool.name} on ${on_string}: matrix">
+    <data format="bgzip" name="outFileName" label="${tool.name} on ${on_string}: Matrix">
     </data>
-    <data format="tabular" name="outFileNameData" label="${tool.name} on ${on_string}: raw data">
-      <filter>(output['showOutputSettings'] == 'yes' and output['saveData'] == True)</filter>
+    <data format="tabular" name="outFileNameData" label="${tool.name} on ${on_string}: averages per matrix column">
+        <filter>
+        ((
+            output['showOutputSettings'] == 'yes' and 
+            output['saveData'] is True
+        ))
+        </filter>
     </data>
-    <data format="tabular" name="outFileNameMatrix" label="${tool.name} on ${on_string}: matrix of values">
-      <filter>(output['showOutputSettings'] == 'yes' and output['saveMatrix'] == True)</filter>
+    <data format="tabular" name="outFileNameMatrix" label="${tool.name} on ${on_string}: Heatmap values">
+        <filter>
+        ((
+            output['showOutputSettings'] == 'yes' and 
+            output['saveMatrix'] is True
+        ))
+        </filter>
     </data>
     <data format="bed" name="outFileSortedRegions" label="${tool.name} on ${on_string}: sorted/filtered regions">
-      <filter>(output['showOutputSettings'] == 'yes' and output['saveSortedRegions'] == True)</filter>
-    </data>  
+        <filter>
+        ((
+            output['showOutputSettings'] == 'yes' and 
+            output['saveSortedRegions'] is True
+        ))
+        </filter>
+    </data>
   </outputs>
     <!--
     computeMatrix -S test.bw -R test2.bed -a 100 -b 100 -bs 1 
--- a/correctGCBias.xml	Tue Dec 10 09:08:31 2013 -0500
+++ b/correctGCBias.xml	Tue Dec 10 11:03:36 2013 -0500
@@ -50,7 +50,7 @@
 
   <param name="GCbiasFrequenciesFile" type="data" format="tabular" label="Output of computeGCBias" />
 
-  <param name="bamInput" format="bam" type="data" label="Input BAM file" help="This should be same file that was used for computeGCbias. The BAM file must be sorted."/>
+  <param name="bamInput" format="bam" type="data" label="BAM file" help="This should be same file that was used for computeGCbias. The BAM file must be sorted."/>
 
         <expand macro="reference_genome_source" />
         <expand macro="effectiveGenomeSize" />
--- a/deepTools_macros.xml	Tue Dec 10 09:08:31 2013 -0500
+++ b/deepTools_macros.xml	Tue Dec 10 11:03:36 2013 -0500
@@ -70,7 +70,7 @@
     </token>
 
     <macro name="multiple_input_bams">
-        <repeat name="input_files" title="Input files" min="2">
+        <repeat name="input_files" title="BAM files" min="2">
             <param name="bamfile" type="data" format="bam" 
                 label="Bam file" 
                 help="The BAM file must be sorted."/>