diff msp_split.xml @ 3:a91e186cf294 draft

planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit a598583947118bd50cfe5ae12d955c20d6e502a6
author tomnl
date Tue, 17 Jul 2018 12:27:53 -0400
parents aa55ff1d76d4
children f2683ec717fe
line wrap: on
line diff
--- a/msp_split.xml	Thu Jun 14 09:09:58 2018 -0400
+++ b/msp_split.xml	Tue Jul 17 12:27:53 2018 -0400
@@ -1,5 +1,9 @@
 <tool id="msp_split" name="msp_split" version="0.0.1">
     <description>Slit MSP file into n number of files</description>
+    <macros>
+        <import>macros.xml</import>
+    </macros>
+        
     <stdio>
         <exit_code range="1:" />
     </stdio>
@@ -13,14 +17,27 @@
     </inputs>
     <outputs>
        <collection name="multiple" type="list" label="${tool.name} on ${on_string}: multi msp files">
-            <discover_datasets pattern="__designation_and_ext__" ext='msp' directory="spec_out" />
+            <discover_datasets pattern="__designation_and_ext__" ext='msp' directory="spec_out" format='msp' />
        </collection>
     </outputs>
     <tests>
+       <test>
+            <param name="in_msp" value="input.msp"/>
+            <output_collection name="multiple" type="list">
+                <element name="file1" file="file01.msp" ftype="msp"/>
+                <element name="file2" file="file02.msp" ftype="msp"/>
+            </output_collection>
+      </test>
 
     </tests>
     <help><![CDATA[
-
+=============================================================
+msp split
+=============================================================
+Split a MSP file into n MSP files. Where the the spectra will be divided between n files.
 
     ]]></help>
+    
+<expand macro="citations" />
+    
 </tool>