changeset 2:7a15159140d1 draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/dwt_var_perfeature commit a684fffd461eea5ec33fe806fd2b6052c4321dcc
author devteam
date Tue, 14 Aug 2018 10:32:11 -0400
parents cb1c59d69557
children 6c29c7e347e8
files execute_dwt_var_perFeature.xml
diffstat 1 files changed, 39 insertions(+), 35 deletions(-) [+]
line wrap: on
line diff
--- a/execute_dwt_var_perFeature.xml	Wed Nov 11 12:12:22 2015 -0500
+++ b/execute_dwt_var_perFeature.xml	Tue Aug 14 10:32:11 2018 -0400
@@ -1,31 +1,41 @@
-<tool id="dwt_var1" name="Wavelet variance" version="1.0.0">
-  <description>using Discrete Wavelet Transfoms</description>
-  
-  <command interpreter="perl">
-  	execute_dwt_var_perFeature.pl $inputFile $feature $alpha $outputFile1 $outputFile2
-  </command>
-  
-  <inputs>
-  	<param format="tabular" name="inputFile" type="data" label="Select data"/>	
-	<param name="feature" label="Feature column" type="data_column" data_ref="inputFile" multiple="true" help="Please select at least one column"/>
-	<param name="alpha" type="float" value="0.05" label="alpha (significance level)" />
-  </inputs>
-  
-  <outputs>
-    <data format="tabular" name="outputFile1"/>
-    <data format="pdf" name="outputFile2"/>
-  </outputs>
-  <tests>
-    <test>
-	<param name="inputFile" value="dwt_var_in.interval"/>
-	<param name="feature" value="4"/>
-	<param name="alpha" value="0.05"/>
-	<output name="outputFile1" file="dwt_var_out1.tabular" compare="re_match"/>
-	<output name="outputFile2" file="dwt_var_out2.pdf" compare="sim_size"/>
-    </test>
-  </tests>	    
-  	
-  <help> 
+<tool id="dwt_var1" name="Wavelet variance" version="1.0.1">
+    <description>using Discrete Wavelet Transfoms</description>
+    <requirements>
+        <requirement type="package" version="5.26.2.1">perl</requirement>
+        <requirement type="package" version="3.4.1">r-base</requirement>
+        <requirement type="package" version="1.0_6">r-bitops</requirement>
+        <requirement type="package" version="1.7.5">r-waveslim</requirement>
+        <requirement type="package" version="4.6.8">r-wavethresh</requirement>
+        <requirement type="package" version="2.4_5">r-rwave</requirement>
+    </requirements>
+    <command>
+      perl '$__tool_directory__/execute_dwt_var_perFeature.pl'
+      '$inputFile'
+        $feature
+        $alpha
+        '$outputFile1'
+        '$outputFile2'
+    </command>
+    <inputs>
+        <param format="tabular" name="inputFile" type="data" label="Select data"/>  
+        <param name="feature" label="Feature column" type="data_column" data_ref="inputFile" multiple="true"
+            help="Please select at least one column"/>
+        <param name="alpha" type="float" value="0.05" label="alpha (significance level)" />
+    </inputs>
+    <outputs>
+        <data format="tabular" name="outputFile1"/>
+        <data format="pdf" name="outputFile2"/>
+    </outputs>
+    <tests>
+        <test>
+            <param name="inputFile" value="dwt_var_in.interval"/>
+            <param name="feature" value="4"/>
+            <param name="alpha" value="0.05"/>
+            <output name="outputFile1" file="dwt_var_out1.tabular" compare="re_match"/>
+            <output name="outputFile2" file="dwt_var_out2.pdf" compare="sim_size"/>
+        </test>
+    </tests>
+    <help> 
 
 .. class:: infomark
 
@@ -47,11 +57,5 @@
 **Note**
 In order to obtain empirical p-values, a random perumtation scheme is implemented by the tool, such that the output may generate slightly variations in results each time it is run on the same input file. 
 
------
-
-
-**Example**
-
-  </help>  
-  
+    </help>
 </tool>