0
|
1 <?xml version='1.0' encoding='UTF-8'?>
|
|
2 <tool id="IDMapper" name="IDMapper" version="2.0.0">
|
|
3 <description>Assigns protein/peptide identifications to features or consensus features.</description>
|
|
4 <macros>
|
|
5 <token name="@EXECUTABLE@">IDMapper</token>
|
|
6 <import>macros.xml</import>
|
|
7 </macros>
|
|
8 <expand macro="stdio"/>
|
|
9 <expand macro="requirements"/>
|
|
10 <command>IDMapper
|
|
11
|
|
12 #if $param_id:
|
|
13 -id $param_id
|
|
14 #end if
|
|
15 #if $param_in:
|
|
16 -in $param_in
|
|
17 #end if
|
|
18 #if $param_out:
|
|
19 -out $param_out
|
|
20 #end if
|
|
21 #if $param_rt_tolerance:
|
|
22 -rt_tolerance $param_rt_tolerance
|
|
23 #end if
|
|
24 #if $param_mz_tolerance:
|
|
25 -mz_tolerance $param_mz_tolerance
|
|
26 #end if
|
|
27 #if $param_mz_measure:
|
|
28 -mz_measure
|
|
29 #if " " in str($param_mz_measure):
|
|
30 "$param_mz_measure"
|
|
31 #else
|
|
32 $param_mz_measure
|
|
33 #end if
|
|
34 #end if
|
|
35 #if $param_mz_reference:
|
|
36 -mz_reference
|
|
37 #if " " in str($param_mz_reference):
|
|
38 "$param_mz_reference"
|
|
39 #else
|
|
40 $param_mz_reference
|
|
41 #end if
|
|
42 #end if
|
|
43 #if $param_ignore_charge:
|
|
44 -ignore_charge
|
|
45 #end if
|
|
46 -threads \${GALAXY_SLOTS:-24}
|
|
47 #if $param_feature_use_centroid_rt:
|
|
48 -feature:use_centroid_rt
|
|
49 #end if
|
|
50 #if $param_feature_use_centroid_mz:
|
|
51 -feature:use_centroid_mz
|
|
52 #end if
|
|
53 #if $param_consensus_use_subelements:
|
|
54 -consensus:use_subelements
|
|
55 #end if
|
|
56 #if $adv_opts.adv_opts_selector=='advanced':
|
|
57 #if $adv_opts.param_force:
|
|
58 -force
|
|
59 #end if
|
|
60 #if $adv_opts.param_consensus_annotate_ids_with_subelements:
|
|
61 -consensus:annotate_ids_with_subelements
|
|
62 #end if
|
|
63 #end if
|
|
64 </command>
|
|
65 <inputs>
|
|
66 <param name="param_id" type="data" format="idxml" optional="False" label="Protein/peptide identifications file" help="(-id) "/>
|
|
67 <param name="param_in" type="data" format="featurexml,consensusxml,mzq" optional="False" label="Feature map/consensus map file" help="(-in) "/>
|
|
68 <param name="param_rt_tolerance" type="float" min="0.0" optional="True" value="5.0" label="RT tolerance (in seconds) for the matching of peptide identifications and (consensus) features" help="(-rt_tolerance) <br>Tolerance is understood as 'plus or minus x', so the matching range increases by twice the given value"/>
|
|
69 <param name="param_mz_tolerance" type="float" min="0.0" optional="True" value="20.0" label="m/z tolerance (in ppm or Da) for the matching of peptide identifications and (consensus) features" help="(-mz_tolerance) <br>Tolerance is understood as 'plus or minus x', so the matching range increases by twice the given value"/>
|
|
70 <param name="param_mz_measure" type="select" optional="True" value="ppm" label="Unit of 'mz_tolerance'" help="(-mz_measure) ">
|
|
71 <option value="ppm">ppm</option>
|
|
72 <option value="Da">Da</option>
|
|
73 </param>
|
|
74 <param name="param_mz_reference" type="select" optional="True" value="precursor" label="Source of m/z values for peptide identifications" help="(-mz_reference) If 'precursor', the precursor-m/z from the idXML is used. If 'peptide', <br>masses are computed from the sequences of peptide hits; in this case, an identification matches if any of its hits matches. <br>('peptide' should be used together with 'feature:use_centroid_mz' to avoid false-positive matches.)">
|
|
75 <option value="precursor">precursor</option>
|
|
76 <option value="peptide">peptide</option>
|
|
77 </param>
|
|
78 <param name="param_ignore_charge" type="boolean" truevalue="-ignore_charge" falsevalue="" checked="false" optional="True" label="For feature/consensus maps: Assign an ID independently of whether its charge state matches that of the (consensus) feature" help="(-ignore_charge) "/>
|
|
79 <param name="param_feature_use_centroid_rt" type="boolean" truevalue="-feature:use_centroid_rt" falsevalue="" checked="false" optional="True" label="Use the RT coordinates of the feature centroids for matching, instead of the RT ranges of the features/mass traces" help="(-use_centroid_rt) "/>
|
|
80 <param name="param_feature_use_centroid_mz" type="boolean" truevalue="-feature:use_centroid_mz" falsevalue="" checked="false" optional="True" label="Use the m/z coordinates of the feature centroids for matching, instead of the m/z ranges of the features/mass traces" help="(-use_centroid_mz) <br>(If you choose 'peptide' as 'mz_reference', you should usually set this flag to avoid false-positive matches.)"/>
|
|
81 <param name="param_consensus_use_subelements" type="boolean" truevalue="-consensus:use_subelements" falsevalue="" checked="false" optional="True" label="Match using RT and m/z of sub-features instead of consensus RT and m/z" help="(-use_subelements) A consensus feature matches if any of its sub-features matches"/>
|
|
82 <expand macro="advanced_options">
|
|
83 <param name="param_force" type="boolean" truevalue="-force" falsevalue="" checked="false" optional="True" label="Overwrite tool specific checks" help="(-force) "/>
|
|
84 <param name="param_consensus_annotate_ids_with_subelements" type="boolean" truevalue="-consensus:annotate_ids_with_subelements" falsevalue="" checked="false" optional="True" label="Store the map index of the sub-feature in the peptide ID" help="(-annotate_ids_with_subelements) "/>
|
|
85 </expand>
|
|
86 </inputs>
|
|
87 <outputs>
|
|
88 <data name="param_out" metadata_source="param_in" format="input"/>
|
|
89 </outputs>
|
|
90 <help>**What it does**
|
|
91
|
|
92 Assigns protein/peptide identifications to features or consensus features.
|
|
93
|
|
94
|
|
95 For more information, visit http://ftp.mi.fu-berlin.de/OpenMS/release-documentation/html/TOPP_IDMapper.html</help>
|
|
96 <expand macro="references"/>
|
|
97 </tool>
|