2
|
1 <macros>
|
|
2 <macro name="stdio">
|
|
3 <stdio>
|
|
4 <exit_code range="1:" level="fatal" description="Error running OpenMS tool." />
|
|
5 </stdio>
|
|
6 </macro>
|
|
7 <macro name="requires">
|
|
8 <requirements>
|
|
9 <requirement type="package">openms</requirement>
|
|
10 <yield />
|
|
11 </requirements>
|
|
12 </macro>
|
|
13 <macro name="sampling_rate_param">
|
|
14 <param name="sampling_rate_param" label="Sampling Rate" help="New sampling rate in m/z dimension." value="0.1" type="float" />
|
|
15 </macro>
|
|
16 <macro name="id_inputs">
|
|
17 <param name="input1" label="Input Peak List (mzML)" type="data" format="mzml" />
|
|
18 <param name="database" label="Database" type="data" format="fasta" />
|
|
19 </macro>
|
|
20 <macro name="id_outputs">
|
|
21 <outputs>
|
|
22 <data format="idxml" name="out" />
|
|
23 </outputs>
|
|
24 </macro>
|
|
25 <macro name="precursor_mass_tolerance_param">
|
|
26 <param name="precursor_mass_tolerance" label="Precursor Mass Tolerance" value="1.5" type="float" />
|
|
27 </macro>
|
|
28 <macro name="precursor_mass_tolerance_unit_param">
|
|
29 <param name="precursor_mass_tolerance_unit" label="Precursor Mass Tolerance Units" type="select">
|
|
30 <option value="Da" selected="true">Daltons</option>
|
|
31 <option value="ppm">ppm</option>
|
|
32 </param>
|
|
33 </macro>
|
|
34 <macro name="fragment_mass_tolerance_param">
|
|
35 <param name="fragment_mass_tolerance" label="Fragment Mass Tolerance" value="0.3" type="float" />
|
|
36 </macro>
|
|
37 <macro name="fragment_mass_tolerance_unit_param">
|
|
38 <param name="fragment_mass_tolerance_unit" label="Fragment Mass Tolerance Units" type="select">
|
|
39 <option value="Da" selected="true">Daltons</option>
|
|
40 <option value="ppm">ppm</option>
|
|
41 </param>
|
|
42 </macro>
|
|
43 <macro name="fixed_modifications_param">
|
|
44 <param name="fixed_modifications" type="select" label="Fixed Modification" multiple="true">
|
|
45 <options from_file="openms_mods.loc">
|
|
46 <column name="name" index="0" />
|
|
47 <column name="value" index="0" />
|
|
48 </options>
|
|
49 </param>
|
|
50 </macro>
|
|
51 <macro name="variable_modifications_param">
|
|
52 <param name="variable_modifications" type="select" label="Variable Modification" multiple="true">
|
|
53 <options from_file="openms_mods.loc">
|
|
54 <column name="name" index="0" />
|
|
55 <column name="value" index="0" />
|
|
56 </options>
|
|
57 </param>
|
|
58 </macro>
|
|
59 <macro name="precursor_charge_params">
|
|
60 <param name="min_precursor_charge" label="Minimum Precursor Charge" value="1" type="integer" />
|
|
61 <param name="max_precursor_charge" label="Maximum Precursor Charge" value="4" type="integer" />
|
|
62 </macro>
|
|
63 <macro name="raw_feature_finder_params">
|
|
64 <param name="rt_threshold" type="float" value="30" label="RT Threshold" help="Upper bound for the retention time [s] over which a characteristic peptide elutes." />
|
|
65 <param name="rt_min" type="float" value="0" label="RT Minimum" help="Lower bound for the retention time [s]." />
|
|
66 <param name="intensity_cutoff" type="float" value="10000" label="Intensity Cutoff" help="Lower bound for the intensity of isotopic peaks in a SILAC pattern." />
|
|
67 <param name="intensity_correlation" type="float" value="0.7" label="Intensity Correlation" help="Lower bound for the Pearson correlation coefficient, which measures how well intensity profiles of different isotopic peaks correlate." />
|
|
68 <param name="model_deviation" type="float" value="3" label="Model Deviation" help="Upper bound on the factor by which the ratios of observed isotopic peaks are allowed to differ from the ratios of the theoretic averagine model, i.e. ( theoretic_ratio / model_deviation ) < observed_ratio < ( theoretic_ratio * model_deviation )." />
|
|
69 <param name="min_charge" type="integer" value="2" label="Minimum Charge" />
|
|
70 <param name="max_charge" type="integer" value="4" label="Maximum Charge" />
|
|
71 <param name="min_peaks_per_peptide" type="integer" value="3" label="Minimum Number of Peaks Per Peptide" />
|
|
72 <param name="max_peaks_per_peptide" type="integer" value="5" label="Maximum Number of Peaks Per Peptide" />
|
|
73 </macro>
|
|
74 <macro name="map_input">
|
|
75 </macro>
|
|
76 <macro name="map_output">
|
|
77 <data format="consensusxml" name="map_output">
|
|
78 <change_format>
|
|
79 <when input="input_type" value="featurexml" format="featurexml" />
|
|
80 </change_format>
|
|
81 </data>
|
|
82 </macro>
|
4
|
83 <macro name="aligner_model">
|
|
84 <conditional name="model">
|
|
85 <param name="model_type" type="select" label="Model Type">
|
|
86 <option value="linear">Linear</option>
|
|
87 <option value="b_spline" selected="true">Smoothing spline (non-linear)</option>
|
|
88 <option value="interpolated">Interpolated</option>
|
|
89 </param>
|
|
90 <when value="linear">
|
|
91 <!-- TODO: Add symmetric_regression -->
|
|
92 </when>
|
|
93 <when value="b_spline">
|
|
94 <!-- TODO: Add num_breakpoints, break_positions -->
|
|
95 </when>
|
|
96 <when value="interpolated">
|
|
97 <param name="interpolation_type" type="select" label="Interpolation Type">
|
|
98 <option value="cspline" selected="true">cspline</option>
|
|
99 <option value="linear">linear</option>
|
|
100 <option value="akima">akima</option>
|
|
101 </param>
|
|
102 </when>
|
|
103 </conditional>
|
|
104 </macro>
|
|
105 <macro name="feature_linker_input">
|
|
106 <conditional name="type">
|
|
107 <param name="input_type" type="select" label="Input Type">
|
|
108 <option value="featurexml">Features (FeatureXML)</option>
|
|
109 <option value="consensusxml">Consensus (ConsensusXML)</option>
|
|
110 </param>
|
|
111 <when value="featurexml">
|
|
112 <param format="featurexml" name="inputs" type="data" label="Input Features" multiple="true" />
|
|
113 </when>
|
|
114 <when value="consensusxml">
|
|
115 <param format="consensusxml" name="inputs" type="data" label="Input Consensus" multiple="true" />
|
|
116 <param name="keep_subelements" type="boolean" label="Transfer sub-features of the inputs to the output." truevalue="keep_subelements=true" falsevalue="" />
|
|
117 </when>
|
|
118 </conditional>
|
|
119 </macro>
|
|
120 <macro name="feature_linker_algorithm_options">
|
|
121 <param name="use_identifications" type="boolean" truevalue="algorithm!use_identifications=true" falsevalue="" label="Use Identifications" checked="false" help="Never link features that are annotated with different peptides (only the best hit per peptide identification is taken into account)." />
|
|
122 <param name="ignore_charge" type="boolean" truevalue="algorithm!ignore_charge=true" falsevalue="" label="Use Charge" help="Compare features normally even if their charge states are different." checked="false" />
|
|
123 <param name="rt_max_difference" type="float" label="Max Difference (RT)" value="100" help="Maximum allowed difference in RT in seconds." />
|
|
124 <param name="mz_max_difference" type="float" label="Max Difference (m/z)" value="0.3" help="Maximum allowed difference in m/z" />
|
|
125 <param name="mz_max_difference_unit" type="select" label="Max Difference Units (m/z)">
|
|
126 <option value="Da" selected="true">Da</option>
|
|
127 <option value="ppm" selected="true">ppm</option>
|
|
128 </param>
|
|
129 <conditional name="advanced">
|
|
130 <param name="specify" type="boolean" label="Specify advanced exponents and weights for distances (RT, m/z, and intensity)" />
|
|
131 <when value="true">
|
|
132 <param name="rt_exponent" label="RT Exponent" help="Normalized RT differences are raised to this power (using 1 or 2 will be fast, everything else is REALLY slow)" type="float" value="1" />
|
|
133 <param name="mz_exponent" label="m/z Exponent" help="Normalized m/z differences are raised to this power (using 1 or 2 will be fast, everything else is REALLY slow)" type="float" value="1" />
|
|
134 <param name="intensity_exponent" label="Intensity Exponent" help="Differences in relative intensity are raised to this power (using 1 or 2 will be fast, everything else is REALLY slow)" type="float" value="1" />
|
|
135 <param name="rt_weight" label="RT Exponent" help="RT distances are weighted by this factor" type="float" value="1" />
|
|
136 <param name="mz_weight" label="m/z Exponent" help="m/z distances are weighted by this factor" type="float" value="2" />
|
|
137 <param name="intensity_weight" label="Intensity Exponent" help="Distances based on relative intensity are weighted by this factor" type="float" value="0" />
|
|
138 </when>
|
|
139 <when value="false">
|
|
140 </when>
|
|
141 </conditional>
|
|
142 </macro>
|
2
|
143 </macros> |