Mercurial > repos > galaxyp > mgf_formatter
comparison 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 |
comparison
equal
deleted
inserted
replaced
1:29e7496f3907 | 2:51ba38ae36c2 |
---|---|
1 <tool id="mgf_formatter" name="MGF Formatter" version="1.0.0"> | |
2 <description>convert peak lists into MGF files formatted for particular downstream applications</description> | |
3 <requirements> | |
4 <requirement type="package" version="1.0.0">mgf-formatter</requirement> | |
5 </requirements> | |
6 <stdio> | |
7 <exit_code range="1:" level="fatal" description="Unknown error, exit code non-zero" /> | |
8 </stdio> | |
9 <command> | |
10 <![CDATA[ | |
11 mgf-formatter | |
12 --mgf_format $mgf_format | |
13 --output '$output' | |
14 $itraq_filter | |
15 #if $type.input_type == "mgf" | |
16 $type.split_multiple_charge_states | |
17 #end if | |
18 $type.inputs | |
19 ]]> | |
20 </command> | |
21 <inputs> | |
22 <conditional name="type"> | |
23 <param name="input_type" type="select" label="Input Type"> | |
24 <option value="mzml">mzML</option> | |
25 <option value="mzxml">mzXML</option> | |
26 <option value="mgf">MGF</option> | |
27 </param> | |
28 <when value="mzml"> | |
29 <param format="mzml" name="inputs" type="data" label="Input mzML" /> | |
30 </when> | |
31 <when value="mzxml"> | |
32 <param format="mzxml" name="inputs" type="data" label="Input mzXML" /> | |
33 </when> | |
34 <when value="mgf"> | |
35 <param format="mgf" name="inputs" type="data" label="Input MGF" /> | |
36 <param type="boolean" name="split_multiple_charge_states" truevalue="" falsevalue="--no_split_multiple_charge_states" checked="true" | |
37 label="Split up scans with multiple charge states specified in MGF" /> | |
38 </when> | |
39 </conditional> | |
40 <param name="mgf_format" type="select" label="MGF Format"> | |
41 <option value="DEFAULT">Mascot (default, probably should use msconvert instead)</option> | |
42 <option value="PROTEIN_PILOT">ProteinPilot</option> | |
43 <option value="MS2PREPROC">ms2preproc</option> | |
44 <option value="MSM">MSM</option> | |
45 </param> | |
46 <param name="itraq_filter" type="boolean" label="Preselect iTRAQ reporter ions" truevalue="--itraq_filter" falsevalue="" | |
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." /> | |
48 </inputs> | |
49 <outputs> | |
50 <data format="mgf" name="output" label="${mgf_format.value_label.split()[0]} formatted MGF of ${on_string}" /> | |
51 </outputs> | |
52 <tests> | |
53 <test> | |
54 <param name="input_type" value="mzml"/> | |
55 <param name="inputs" value="Test.mzML" ftype="mzml"/> | |
56 <param name="mgf_format" value="PROTEIN_PILOT"/> | |
57 <output name="output_file"> | |
58 <assert_contents> | |
59 <has_text text="TITLE=File: Test, Sample: Sample001 (sample number 1), Elution: 0.01 min, Period: 1, Cycle(s): 47 (Experiment 1)" /> | |
60 </assert_contents> | |
61 </output> | |
62 </test> | |
63 </tests> | |
64 <help> | |
65 <![CDATA[ | |
66 MGF Formatter convert peak lists into MGF files formatted for particular downstream applications. | |
67 ]]> | |
68 </help> | |
69 </tool> |