annotate mgf_formatter.xml @ 2:51ba38ae36c2 draft default tip

planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
author galaxyp
date Wed, 07 Dec 2016 16:36:51 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
1 <tool id="mgf_formatter" name="MGF Formatter" version="1.0.0">
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
2 <description>convert peak lists into MGF files formatted for particular downstream applications</description>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
3 <requirements>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
4 <requirement type="package" version="1.0.0">mgf-formatter</requirement>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
5 </requirements>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
6 <stdio>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
7 <exit_code range="1:" level="fatal" description="Unknown error, exit code non-zero" />
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
8 </stdio>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
9 <command>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
10 <![CDATA[
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
11 mgf-formatter
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
12 --mgf_format $mgf_format
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
13 --output '$output'
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
14 $itraq_filter
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
15 #if $type.input_type == "mgf"
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
16 $type.split_multiple_charge_states
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
17 #end if
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
18 $type.inputs
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
19 ]]>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
20 </command>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
21 <inputs>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
22 <conditional name="type">
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
23 <param name="input_type" type="select" label="Input Type">
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
24 <option value="mzml">mzML</option>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
25 <option value="mzxml">mzXML</option>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
26 <option value="mgf">MGF</option>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
27 </param>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
28 <when value="mzml">
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
29 <param format="mzml" name="inputs" type="data" label="Input mzML" />
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
30 </when>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
31 <when value="mzxml">
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
32 <param format="mzxml" name="inputs" type="data" label="Input mzXML" />
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
33 </when>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
34 <when value="mgf">
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
35 <param format="mgf" name="inputs" type="data" label="Input MGF" />
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
36 <param type="boolean" name="split_multiple_charge_states" truevalue="" falsevalue="--no_split_multiple_charge_states" checked="true"
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
37 label="Split up scans with multiple charge states specified in MGF" />
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
38 </when>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
39 </conditional>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
40 <param name="mgf_format" type="select" label="MGF Format">
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
41 <option value="DEFAULT">Mascot (default, probably should use msconvert instead)</option>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
42 <option value="PROTEIN_PILOT">ProteinPilot</option>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
43 <option value="MS2PREPROC">ms2preproc</option>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
44 <option value="MSM">MSM</option>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
45 </param>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
46 <param name="itraq_filter" type="boolean" label="Preselect iTRAQ reporter ions" truevalue="--itraq_filter" falsevalue=""
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
47 help="Recent versions of ProteinPilot fail to find the correct report ions, this tool filters out extra peaks in that region to circumvent this bug if this is checked. This is an advanced option and should only be checked if you are certain you want it." />
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
48 </inputs>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
49 <outputs>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
50 <data format="mgf" name="output" label="${mgf_format.value_label.split()[0]} formatted MGF of ${on_string}" />
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
51 </outputs>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
52 <tests>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
53 <test>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
54 <param name="input_type" value="mzml"/>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
55 <param name="inputs" value="Test.mzML" ftype="mzml"/>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
56 <param name="mgf_format" value="PROTEIN_PILOT"/>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
57 <output name="output_file">
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
58 <assert_contents>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
59 <has_text text="TITLE=File: Test, Sample: Sample001 (sample number 1), Elution: 0.01 min, Period: 1, Cycle(s): 47 (Experiment 1)" />
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
60 </assert_contents>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
61 </output>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
62 </test>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
63 </tests>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
64 <help>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
65 <![CDATA[
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
66 MGF Formatter convert peak lists into MGF files formatted for particular downstream applications.
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
67 ]]>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
68 </help>
51ba38ae36c2 planemo upload commit b4871f9659a924a68430aed3a93f4f9bad733fd6
galaxyp
parents:
diff changeset
69 </tool>