annotate msp_split.xml @ 5:f2683ec717fe draft default tip

planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit a164f06c09dc1614c2909c247ebf390aab433527-dirty
author tomnl
date Wed, 18 Sep 2019 05:46:09 -0400
parents a91e186cf294
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
f2683ec717fe planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit a164f06c09dc1614c2909c247ebf390aab433527-dirty
tomnl
parents: 3
diff changeset
1 <tool id="msp_split" name="msp_split" version="0.0.2">
0
aa55ff1d76d4 planemo upload for repository https://github.com/computational-metabolomics/dma-tools-galaxy commit dcfc95273101a7ef0405c2efb8d83f5d456ccd15
tomnl
parents:
diff changeset
2 <description>Slit MSP file into n number of files</description>
5
f2683ec717fe planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit a164f06c09dc1614c2909c247ebf390aab433527-dirty
tomnl
parents: 3
diff changeset
3
0
aa55ff1d76d4 planemo upload for repository https://github.com/computational-metabolomics/dma-tools-galaxy commit dcfc95273101a7ef0405c2efb8d83f5d456ccd15
tomnl
parents:
diff changeset
4 <stdio>
aa55ff1d76d4 planemo upload for repository https://github.com/computational-metabolomics/dma-tools-galaxy commit dcfc95273101a7ef0405c2efb8d83f5d456ccd15
tomnl
parents:
diff changeset
5 <exit_code range="1:" />
aa55ff1d76d4 planemo upload for repository https://github.com/computational-metabolomics/dma-tools-galaxy commit dcfc95273101a7ef0405c2efb8d83f5d456ccd15
tomnl
parents:
diff changeset
6 </stdio>
5
f2683ec717fe planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit a164f06c09dc1614c2909c247ebf390aab433527-dirty
tomnl
parents: 3
diff changeset
7 <command interpreter="python"><![CDATA[ msp_split.py -i $in_msp -o 'spec_out' -n $n -x $x ]]></command>
0
aa55ff1d76d4 planemo upload for repository https://github.com/computational-metabolomics/dma-tools-galaxy commit dcfc95273101a7ef0405c2efb8d83f5d456ccd15
tomnl
parents:
diff changeset
8
aa55ff1d76d4 planemo upload for repository https://github.com/computational-metabolomics/dma-tools-galaxy commit dcfc95273101a7ef0405c2efb8d83f5d456ccd15
tomnl
parents:
diff changeset
9 <inputs>
aa55ff1d76d4 planemo upload for repository https://github.com/computational-metabolomics/dma-tools-galaxy commit dcfc95273101a7ef0405c2efb8d83f5d456ccd15
tomnl
parents:
diff changeset
10 <param name="in_msp" type="data" label="Input MSP file" format="txt,msp" help='MSP file (must have NAME: as the first element in each spectra entry'/>
aa55ff1d76d4 planemo upload for repository https://github.com/computational-metabolomics/dma-tools-galaxy commit dcfc95273101a7ef0405c2efb8d83f5d456ccd15
tomnl
parents:
diff changeset
11 <param name="n" type="integer" label="Number of new files" value="2"
5
f2683ec717fe planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit a164f06c09dc1614c2909c247ebf390aab433527-dirty
tomnl
parents: 3
diff changeset
12 help="Number of new MSP files to split the original MSP file into"/>
f2683ec717fe planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit a164f06c09dc1614c2909c247ebf390aab433527-dirty
tomnl
parents: 3
diff changeset
13 <param name="x" type="text" label="Starting parameter for each spectra" value="RECORD_TITLE:"
f2683ec717fe planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit a164f06c09dc1614c2909c247ebf390aab433527-dirty
tomnl
parents: 3
diff changeset
14 help="Parameter in the MSP file that indicates the start of a each spectra"/>
0
aa55ff1d76d4 planemo upload for repository https://github.com/computational-metabolomics/dma-tools-galaxy commit dcfc95273101a7ef0405c2efb8d83f5d456ccd15
tomnl
parents:
diff changeset
15 </inputs>
aa55ff1d76d4 planemo upload for repository https://github.com/computational-metabolomics/dma-tools-galaxy commit dcfc95273101a7ef0405c2efb8d83f5d456ccd15
tomnl
parents:
diff changeset
16 <outputs>
5
f2683ec717fe planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit a164f06c09dc1614c2909c247ebf390aab433527-dirty
tomnl
parents: 3
diff changeset
17 <collection name="multiple" type="list" label="${tool.name} on ${on_string}: multi msp files">
3
a91e186cf294 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit a598583947118bd50cfe5ae12d955c20d6e502a6
tomnl
parents: 0
diff changeset
18 <discover_datasets pattern="__designation_and_ext__" ext='msp' directory="spec_out" format='msp' />
5
f2683ec717fe planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit a164f06c09dc1614c2909c247ebf390aab433527-dirty
tomnl
parents: 3
diff changeset
19 </collection>
0
aa55ff1d76d4 planemo upload for repository https://github.com/computational-metabolomics/dma-tools-galaxy commit dcfc95273101a7ef0405c2efb8d83f5d456ccd15
tomnl
parents:
diff changeset
20 </outputs>
aa55ff1d76d4 planemo upload for repository https://github.com/computational-metabolomics/dma-tools-galaxy commit dcfc95273101a7ef0405c2efb8d83f5d456ccd15
tomnl
parents:
diff changeset
21 <tests>
5
f2683ec717fe planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit a164f06c09dc1614c2909c247ebf390aab433527-dirty
tomnl
parents: 3
diff changeset
22 <test>
3
a91e186cf294 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit a598583947118bd50cfe5ae12d955c20d6e502a6
tomnl
parents: 0
diff changeset
23 <param name="in_msp" value="input.msp"/>
a91e186cf294 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit a598583947118bd50cfe5ae12d955c20d6e502a6
tomnl
parents: 0
diff changeset
24 <output_collection name="multiple" type="list">
a91e186cf294 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit a598583947118bd50cfe5ae12d955c20d6e502a6
tomnl
parents: 0
diff changeset
25 <element name="file1" file="file01.msp" ftype="msp"/>
a91e186cf294 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit a598583947118bd50cfe5ae12d955c20d6e502a6
tomnl
parents: 0
diff changeset
26 <element name="file2" file="file02.msp" ftype="msp"/>
a91e186cf294 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit a598583947118bd50cfe5ae12d955c20d6e502a6
tomnl
parents: 0
diff changeset
27 </output_collection>
5
f2683ec717fe planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit a164f06c09dc1614c2909c247ebf390aab433527-dirty
tomnl
parents: 3
diff changeset
28 </test>
0
aa55ff1d76d4 planemo upload for repository https://github.com/computational-metabolomics/dma-tools-galaxy commit dcfc95273101a7ef0405c2efb8d83f5d456ccd15
tomnl
parents:
diff changeset
29 </tests>
aa55ff1d76d4 planemo upload for repository https://github.com/computational-metabolomics/dma-tools-galaxy commit dcfc95273101a7ef0405c2efb8d83f5d456ccd15
tomnl
parents:
diff changeset
30 <help><![CDATA[
3
a91e186cf294 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit a598583947118bd50cfe5ae12d955c20d6e502a6
tomnl
parents: 0
diff changeset
31 =============================================================
a91e186cf294 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit a598583947118bd50cfe5ae12d955c20d6e502a6
tomnl
parents: 0
diff changeset
32 msp split
a91e186cf294 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit a598583947118bd50cfe5ae12d955c20d6e502a6
tomnl
parents: 0
diff changeset
33 =============================================================
a91e186cf294 planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit a598583947118bd50cfe5ae12d955c20d6e502a6
tomnl
parents: 0
diff changeset
34 Split a MSP file into n MSP files. Where the the spectra will be divided between n files.
0
aa55ff1d76d4 planemo upload for repository https://github.com/computational-metabolomics/dma-tools-galaxy commit dcfc95273101a7ef0405c2efb8d83f5d456ccd15
tomnl
parents:
diff changeset
35
aa55ff1d76d4 planemo upload for repository https://github.com/computational-metabolomics/dma-tools-galaxy commit dcfc95273101a7ef0405c2efb8d83f5d456ccd15
tomnl
parents:
diff changeset
36 ]]></help>
5
f2683ec717fe planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit a164f06c09dc1614c2909c247ebf390aab433527-dirty
tomnl
parents: 3
diff changeset
37
f2683ec717fe planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit a164f06c09dc1614c2909c247ebf390aab433527-dirty
tomnl
parents: 3
diff changeset
38 <citations>
f2683ec717fe planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit a164f06c09dc1614c2909c247ebf390aab433527-dirty
tomnl
parents: 3
diff changeset
39 <!-- <citation type="doi">10.1021/acs.analchem.6b04358</citation> -->
f2683ec717fe planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit a164f06c09dc1614c2909c247ebf390aab433527-dirty
tomnl
parents: 3
diff changeset
40 </citations>
f2683ec717fe planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit a164f06c09dc1614c2909c247ebf390aab433527-dirty
tomnl
parents: 3
diff changeset
41
0
aa55ff1d76d4 planemo upload for repository https://github.com/computational-metabolomics/dma-tools-galaxy commit dcfc95273101a7ef0405c2efb8d83f5d456ccd15
tomnl
parents:
diff changeset
42 </tool>