comparison 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
comparison
equal deleted inserted replaced
2:89f33758ad22 3:a91e186cf294
1 <tool id="msp_split" name="msp_split" version="0.0.1"> 1 <tool id="msp_split" name="msp_split" version="0.0.1">
2 <description>Slit MSP file into n number of files</description> 2 <description>Slit MSP file into n number of files</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6
3 <stdio> 7 <stdio>
4 <exit_code range="1:" /> 8 <exit_code range="1:" />
5 </stdio> 9 </stdio>
6 <command interpreter="python"><![CDATA[ msp_split.py -i $in_msp -o 'spec_out' -n $n ]]></command> 10 <command interpreter="python"><![CDATA[ msp_split.py -i $in_msp -o 'spec_out' -n $n ]]></command>
7 11
11 help="Number of new MSP files to split the original MSP file into"/> 15 help="Number of new MSP files to split the original MSP file into"/>
12 16
13 </inputs> 17 </inputs>
14 <outputs> 18 <outputs>
15 <collection name="multiple" type="list" label="${tool.name} on ${on_string}: multi msp files"> 19 <collection name="multiple" type="list" label="${tool.name} on ${on_string}: multi msp files">
16 <discover_datasets pattern="__designation_and_ext__" ext='msp' directory="spec_out" /> 20 <discover_datasets pattern="__designation_and_ext__" ext='msp' directory="spec_out" format='msp' />
17 </collection> 21 </collection>
18 </outputs> 22 </outputs>
19 <tests> 23 <tests>
24 <test>
25 <param name="in_msp" value="input.msp"/>
26 <output_collection name="multiple" type="list">
27 <element name="file1" file="file01.msp" ftype="msp"/>
28 <element name="file2" file="file02.msp" ftype="msp"/>
29 </output_collection>
30 </test>
20 31
21 </tests> 32 </tests>
22 <help><![CDATA[ 33 <help><![CDATA[
23 34 =============================================================
35 msp split
36 =============================================================
37 Split a MSP file into n MSP files. Where the the spectra will be divided between n files.
24 38
25 ]]></help> 39 ]]></help>
40
41 <expand macro="citations" />
42
26 </tool> 43 </tool>