comparison id_mapper.xml @ 2:cf0d72c7b482 draft

Update.
author galaxyp
date Fri, 10 May 2013 17:31:05 -0400
parents
children
comparison
equal deleted inserted replaced
1:5c65f8116244 2:cf0d72c7b482
1 <tool id="openms_id_mapper" version="0.1.0" name="ID Mapper">
2 <description>
3 Assigns protein/peptide identifications to features or consensus features.
4 </description>
5 <macros>
6 <import>macros.xml</import>
7 </macros>
8 <expand macro="stdio" />
9 <expand macro="requires" />
10 <command interpreter="python">
11 openms_wrapper.py --executable 'IDMapper' --config $config
12 </command>
13 <configfiles>
14 <configfile name="config">[simple_options]
15 id=$id_input
16 in=$type.map_input
17 #set $input_type = str($type.input_type)
18 #if $input_type == "consensusxml"
19 consensusfeature!use_subelements=$type.use_subelements
20 #end if
21 #if $input_type == "featurexml"
22 feature!use_centroid_rt=$type.use_centroid_rt
23 feature!use_centroid_mz=$type.use_centroid_mz
24 #end if
25 out=$map_output
26 rt_tolerance=$rt_tolerance
27 mz_tolerance=$mz_tolerance
28 mz_measure=$mz_measure
29 mz_reference=$mz_reference
30 ignore_charge=$ignore_charge
31 </configfile>
32 </configfiles>
33 <inputs>
34 <param name="id_input" label="Protein/Peptide Identifications Input" type="data" format="idxml" />
35 <conditional name="type">
36 <param name="input_type" type="select" label="Map Input Type">
37 <option value="consensusxml">Consensus</option>
38 <option value="featurexml">Feature</option>
39 </param>
40 <when value="consensusxml">
41 <param format="consensusxml" name="map_input" type="data" label="Input Consensus File"/>
42 <param name="use_subelements" label="Use Sub-features" help="Match using RT and m/z of sub-features instead of consensus RT and m/z. A consensus feature matches if any of its sub-features matches." truevalue="true" falsevalue="false" type="boolean" />
43 </when>
44 <when value="featurexml">
45 <param format="featurexml" name="map_input" type="data" label="Input Feature File"/>
46 <param name="use_centroid_rt" label="Use Centroid RT" help="Use the RT coordinates of the feature centroids for matching, instead of the RT ranges of the features/mass traces." truevalue="true" falsevalue="false" type="boolean" />
47 <param name="use_centroid_mz" label="Use Centroid m/z" help="Use the m/z coordinates of the feature centroids for matching, instead of the m/z ranges of the features/mass traces. (If you choose 'peptide' as 'mz_reference', you should usually set this flag to avoid false-positive matches.)" truevalue="true" falsevalue="false" type="boolean" />
48 </when>
49 </conditional>
50 <param name="rt_tolerance" value="5" label="RT Tolerance (seconds)" type="float" />
51 <param name="mz_tolerance" value="20" label="m/z Tolerance" type="float" />
52 <param name="mz_measure" label="m/z Tolerance Units" type="select">
53 <option value="ppm">ppm</option>
54 <option value="Da">Da</option>
55 </param>
56 <param name="mz_reference" label="m/z Reference" type="select" help="Source of m/z values for peptide identifications. If 'precursor', the precursor-m/z from the idXML is used. If 'peptide', masses are computed from the sequences of peptide hits; in this case, an identification matches if any of its hits matches. ('peptide' should be used together with 'feature:use_centroid_mz' to avoid false-positive matches.)">
57 <option value="precursor">precursor</option>
58 <option value="peptide">peptide</option>
59 </param>
60 <param name="ignore_charge" label="Ignore Charge" help="For feature/consensus maps: Assign an ID independently of whether its charge state matches that of the (consensus) feature." truevalue="true" falsevalue="false" type="boolean" />
61 </inputs>
62 <outputs>
63 <data format="consensusxml" name="map_output">
64 <change_format>
65 <when input="input_type" value="featurexml" format="featurexml" />
66 </change_format>
67 </data>
68 </outputs>
69 <help>
70 **What it does**
71
72 The mapping is based on retention times and mass-to-charge values. Roughly, a peptide identification is assigned to a (consensus) feature if its position lies within the boundaries of the feature or close enough to the feature centroid. Peptide identifications that don't match anywhere are still recorded in the resulting map, as "unassigned peptides". Protein identifications are annotated to the whole map, i.e. not to any particular (consensus) feature.
73
74 In all cases, tolerance in RT and m/z dimension is applied according to the parameters rt_tolerance and mz_tolerance. Tolerance is understood as "plus or minus x", so the matching range is actually increased by twice the tolerance value.
75
76 If several features or consensus features overlap the position of a peptide identification (taking the allowed tolerances into account), the identification is annotated to all of them.
77
78 Annotation of feature maps (featureXML input):
79 If all features have at least one convex hull, peptide positions are matched against the bounding boxes of the convex hulls (of individual mass traces, if available) by default. If not, the positions of the feature centroids are used. The respective coordinates of the centroids are also used for matching (in place of the corresponding ranges from the bounding boxes) if feature:use_centroid_rt or feature:use_centroid_mz are true.
80
81 Annotation of consensus maps (consensusXML input):
82 Peptide positions are always matched against centroid positions. By default, the consensus centroids are used. However, if consensusfeature:use_subelements is set, the centroids of sub-features are considered instead. In this case, a peptide identification is mapped to a consensus feature if any of its sub-features matches.
83
84 **Citation**
85
86 For the underlying tool, please cite ``Marc Sturm, Andreas Bertsch, Clemens Gröpl, Andreas Hildebrandt, Rene Hussong, Eva Lange, Nico Pfeifer, Ole Schulz-Trieglaff, Alexandra Zerck, Knut Reinert, and Oliver Kohlbacher, 2008. OpenMS – an Open-Source Software Framework for Mass Spectrometry. BMC Bioinformatics 9: 163. doi:10.1186/1471-2105-9-163.``
87
88 If you use this tool in Galaxy, please cite Chilton J, et al. https://bitbucket.org/galaxyp/galaxyp-toolshed-openms
89 </help>
90 </tool>