annotate ms_wiff_loader.xml @ 0:5bc64a2d5f91 draft default tip

Uploaded
author galaxyp
date Tue, 10 Mar 2015 18:26:36 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
1 <tool id="ms_wiff_upload" name="MS Wiff Upload" version="1.0.0">
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
2 <description>into a galaxy dataset</description>
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
3 <stdio>
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
4 <exit_code range="1:" err_level="fatal" />
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
5 </stdio>
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
6 <command interpreter="python">ms_wiff_loader.py -w "$wiff"
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
7 #if len(str($scan)) > 0:
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
8 -s "$scan"
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
9 #end if
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
10 #if len(str($mtd)) > 0:
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
11 -m "$mtd"
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
12 #end if
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
13 -f "$out_file"
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
14 -o "${out_file.extra_files_path}"
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
15 </command>
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
16 <inputs>
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
17 <param name="wiff" type="text" value="" size="120" label="URL to .wiff file">
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
18 <validator type="regex" message="Must be a URL">^(ftp://|http://|https://|file:/)?(\\d+\\.\\d+\\.\\d+\\.\\d+|localhost|[a-zA-Z][^/]+)(:\\d+)?/(.*)$</validator>
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
19 </param>
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
20 <param name="scan" type="text" value="" size="120" label="URL to .wiff.scan file (optional)" optional="true">
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
21 <validator type="regex" message="Must be a URL">^(ftp://|http://|https://|file:/)?(\\d+\\.\\d+\\.\\d+\\.\\d+|localhost|[a-zA-Z][^/]+)(:\\d+)?/(.*)$</validator>
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
22 </param>
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
23 <param name="mtd" type="text" value="" size="120" label="URL to .wiff.mtd file (optional)" optional="true">
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
24 <validator type="regex" message="Must be a URL">^(ftp://|http://|https://|file:/)?(\\d+\\.\\d+\\.\\d+\\.\\d+|localhost|[a-zA-Z][^/]+)(:\\d+)?/(.*)$</validator>
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
25 </param>
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
26 <param name="name" type="text" value="" size="40" label="Name for dataset (optional)" optional="true">
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
27 </param>
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
28 </inputs>
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
29 <outputs>
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
30 <data format="wiff" name="out_file" label="$name wiff"/>
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
31 </outputs>
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
32 <tests>
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
33 <test>
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
34 <param name="wiff" value="http://www.ebi.ac.uk/pride/data/archive/2015/01/PXD001010/nselevse_L120327_016.wiff"/>
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
35 <output name="out_file">
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
36 <assert_contents>
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
37 <has_text text="Wiff" />
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
38 </assert_contents>
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
39 </output>
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
40 </test>
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
41 </tests>
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
42 <help>
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
43 Loads AB SCIEX wiff files into a Galaxy Composite dataset.
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
44 </help>
5bc64a2d5f91 Uploaded
galaxyp
parents:
diff changeset
45 </tool>