diff computeMatrix.xml @ 5:345a9a2281e0 draft

planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 8b9cdb8dc4a8fedd2b2286e7afab6529e49a9d22-dirty
author bgruening
date Tue, 22 Dec 2015 13:47:40 -0500
parents 2f2dd609644f
children 451e73bf38fe
line wrap: on
line diff
--- a/computeMatrix.xml	Mon Dec 21 19:10:24 2015 -0500
+++ b/computeMatrix.xml	Tue Dec 22 13:47:40 2015 -0500
@@ -1,5 +1,5 @@
 <tool id="deeptools_compute_matrix" name="computeMatrix" version="@WRAPPER_VERSION@.0">
-    <description>preparation step to plot a heatmap or a profile</description>
+    <description>prepares data for plotting a heatmap or a profile of given regions</description>
     <macros>
         <token name="@BINARY@">computeMatrix</token>
         <import>deepTools_macros.xml</import>
@@ -9,28 +9,22 @@
 <![CDATA[
         #import tempfile
 
-        #for $rf in $regionsFiles:
-            cat "$rf.regionsFile" >> ./temp_input_path;
-            #if str($rf.label.value).strip():
-                echo "\#$rf.label.value" >> ./temp_input_path;
-            #else:
-                echo "\#$rf.regionsFile.name" >> ./temp_input_path;
-            #end if
-        #end for
-
         @BINARY@
 
             $mode.mode_select
-            --regionsFileName ./temp_input_path
-            --scoreFileName '$scoreFile'
+            --regionsFileName
+            #for $rf in $regionsFiles:
+                '$rf.regionsFile' 
+            #end for
+            --scoreFileName
+            #for $bw in $scoreFileName:
+                '$bw' 
+            #end for
             --outFileName '$outFileName'
 
             @THREADS@
 
             #if $output.showOutputSettings == "yes"
-                #if $output.saveData:
-                    --outFileNameData '$outFileNameData' 
-                #end if
                 #if $output.saveMatrix:
                 --outFileNameMatrix '$outFileNameMatrix'
                 #end if
@@ -85,12 +79,12 @@
                 help="Label to use in the output."/>
         </repeat>
 
-        <param name="scoreFile" format="bigwig" type="data"
-            label="Score file"
+        <param name="scoreFileName" format="bigwig" type="data"
+            label="Score file" multiple="True"
             help="Should be a bigWig file (containing a score, usually covering
             the whole genome). You can generate a bigWig file either from a
             bedGraph or WIG file using UCSC tools or from a BAM file using the
-            deepTool bamCoverage. (-scoreFile)"/>
+            deepTool bamCoverage. (--scoreFileName)"/>
 
         <conditional name="mode" >
             <param name="mode_select" type="select"
@@ -214,12 +208,12 @@
         <expand macro="output_save_matrix_values" />
     </outputs>
     <!--
-    computeMatrix -S test.bw -R test2.bed -a 100 -b 100 -bs 1 
+    computeMatrix -S test.bw -R test2.bed -a 100 -b 100 -bs 1
     -->
     <tests>
         <test>
             <param name="regionsFile" value="computeMatrix1.bed" ftype="bed" />
-            <param name="scoreFile" value="bamCoverage_result4.bw" ftype="bigwig" />
+            <param name="scoreFileName" value="bamCoverage_result4.bw" ftype="bigwig" />
             <param name="showAdvancedOpt" value="yes" />
             <param name="mode_select" value="reference-point" />
             <param name="binSize" value="10" />
@@ -232,7 +226,7 @@
         </test>
         <test>
             <param name="regionsFile" value="computeMatrix2.bed" ftype="bed" />
-            <param name="scoreFile" value="computeMatrix2.bw" ftype="bigwig" />
+            <param name="scoreFileName" value="computeMatrix2.bw" ftype="bigwig" />
             <param name="showAdvancedOpt" value="yes" />
             <param name="mode_select" value="reference-point" />
             <param name="binSize" value="10" />
@@ -242,7 +236,7 @@
         </test>
         <test>
             <param name="regionsFile" value="computeMatrix2.bed" ftype="bed" />
-            <param name="scoreFile" value="computeMatrix2.bw" ftype="bigwig" />
+            <param name="scoreFileName" value="computeMatrix2.bw" ftype="bigwig" />
             <param name="showAdvancedOpt" value="yes" />
             <param name="mode_select" value="scale-regions" />
             <param name="endLabel" value="END" />
@@ -271,7 +265,7 @@
    :alt: Relationship between computeMatrix, heatmapper and profiler
 
 
-You can find more details on the computeMatrix wiki page: https://github.com/fidelram/deepTools/wiki/Visualizations#wiki-computeMatrix
+You can find more details on the computeMatrix doc page: https://deeptools.readthedocs.org/en/release-1.6/content/tools/computeMatrix.html
 
 
 -----