diff check_gwas_inputs/CheckGWASInputs.xml @ 4:10627af23f10 draft

planemo upload
author gandres
date Tue, 15 Dec 2015 05:18:02 -0500
parents 345f88a8f483
children ec22fcacb66c
line wrap: on
line diff
--- a/check_gwas_inputs/CheckGWASInputs.xml	Fri Jul 10 10:38:43 2015 -0400
+++ b/check_gwas_inputs/CheckGWASInputs.xml	Tue Dec 15 05:18:02 2015 -0500
@@ -1,30 +1,40 @@
-<tool id="check_GWAS_inputs" name="Check GWAS Inputs" version="1.1">
+<tool id="check_GWAS_inputs" name="Check GWAS Inputs" version="1.0">
 	<description>checks concordance between input files for GWAS analysis</description>
+
+    <!-- [OPTIONAL] 3rd party tools, binaries, modules... required for the tool to work -->
+    <requirements>
+        <requirement type="binary">perl</requirement>
+    </requirements>
+
+    <!-- [STRONGLY RECOMMANDED] Exit code rules -->
+    <stdio>
+        <!-- [HELP] If no exit code rule is defined, the tool will stop if anything is written to STDERR -->
+        <exit_code range="1:" level="fatal" />
+    </stdio>
+
 	<command interpreter="bash">./CheckGWASInputs.sh $hapmap $trait $out_hapmap $out_trait $stats
     </command>
 	<inputs>
-		<param format="txt" name="hapmap" type="data" label="Allelic file in Hapmap format" help="Allelic file in Hapmap format"/>
-		<param format="txt" name="trait" type="data" label="Trait file" help="Phenotypic file"/>
+		<param format="text" name="hapmap" type="data" label="Allelic file in Hapmap format" help="Allelic file in Hapmap format"/>
+		<param format="text" name="trait" type="data" label="Trait file" help="Phenotypic file"/>
 	</inputs>
 	<outputs>
 		<data format="txt" name="out_hapmap" label="Hapmap output"/>
 		<data format="txt" name="out_trait" label="Trait output"/>
 		<data format="txt" name="stats" label="Logfile and statistics"/>
 	</outputs>
-    <!-- [STRONGLY RECOMMANDED] Exit code rules -->
-    <stdio>
-        <!-- [HELP] If no exit code rule is defined, the tool will stop if anything is written to STDERR -->
-        <exit_code range="1:" level="fatal" />
-    </stdio>
     
     <!-- [OPTIONAL] Tests to be run manually by the Galaxy admin -->
     <tests>
         <!-- [HELP] Test files have to be in the ~/test-data directory -->
         <!-- [HELP] Multiple tests can be defined with different parameters -->
-<!--
         <test>
+         <param name="hapmap" value="gwas-hapmap" />
+         <param name="trait" value="gwas-trait" />
+         <output name="out_hapmap" file="gwas-result.hapmap" />
+         <output name="out_trait" file="gwas-result.trait" />
+         <output name="stats" file="gwas-result.stats" />
         </test>
--->
     </tests>
 	<help>