0
|
1 <tool id="pepnovo_adapter" version="0.1.0" name="PepNovo (OpenMS)">
|
|
2 <description>
|
|
3 </description>
|
2
|
4 <macros>
|
|
5 <import>macros.xml</import>
|
|
6 </macros>
|
|
7 <expnad macro="stdio" />
|
|
8 <expand macro="requires">
|
0
|
9 <requirement type="package">pepnovo</requirement>
|
2
|
10 </expand>
|
0
|
11 <command interpreter="python">
|
|
12 openms_wrapper.py
|
|
13 #if $input_block.do_clean
|
|
14 --executable 'FileConverter' --config $inputConfig
|
|
15 #end if
|
|
16 --executable 'PepNovoAdapter' --config $config
|
|
17 </command>
|
|
18 <configfiles>
|
|
19 <configfile name="config">[simple_options]
|
|
20 #if $input_block.do_clean
|
|
21 in=input.mzXML
|
|
22 #else
|
|
23 in=${input_block.input1}
|
|
24 #end if
|
|
25 out=${out}
|
|
26 model_directory=@PEPNOVO_MODELS_PATH@
|
2
|
27 pepnovo_executable=@WHICH(PepNovo)@
|
0
|
28 temp_data_directory=.
|
|
29 model=${model}
|
|
30 digest=${digest}
|
2
|
31 num_solutions=${num_solutions}
|
|
32 #if str($corrections) != "none"
|
0
|
33 correct_pm=true
|
|
34 #end if
|
2
|
35 #if str($corrections) == "mass"
|
0
|
36 use_spectrum_charge=true
|
|
37 #end if
|
2
|
38 #if str($corrections) == "mz"
|
0
|
39 use_spectrum_mz=true
|
|
40 #end if
|
|
41 $quality_filter
|
|
42 #if $override_pm.do_override
|
|
43 pm_tolerance=${override_pm.percursor_tolerance}
|
|
44 #end if
|
|
45 #if $override_fragment.do_override
|
|
46 fragment_tolerance=${override_fragment.fragment_tolerance}
|
|
47 #end if
|
2
|
48 #set $fixed_mods_str=",".join([str($fixed_mod.fixed_mod) for $fixed_mod in $fixed_mods])
|
|
49 #if $fixed_mods_str
|
|
50 fixed_modifications=$fixed_mods_str
|
|
51 #end if
|
|
52 #set $variable_mods_str=",".join([str($variable_mod.variable_mod) for $variable_mod in $variable_mods])
|
|
53 #if $variable_mods_str
|
|
54 variable_modifications=$variable_mods_str
|
|
55 #end if
|
0
|
56 </configfile>
|
|
57 <configfile name="inputConfig">[simple_options]
|
|
58 in=${input_block.input1}
|
|
59 in_type=${input_block.input1.ext}
|
|
60 out=input.mzXML
|
|
61 out_type=mzXML
|
|
62 </configfile>
|
|
63 </configfiles>
|
|
64 <inputs>
|
|
65 <conditional name="input_block">
|
2
|
66 <param name="do_clean" type="boolean" label="Process input peak list" description="The version of PepNovo used by this tool takes only mzXML files and even then fails to parse many valid such files. Enabling this option will run the input peak list (mzXML or otherwise) through the OpenMS FileConverter application to hopefully produce an mzXML file suitable for PepNovo." />
|
0
|
67 <when value="true">
|
|
68 <param name="input1" type="data" format="mzxml,mzml,mgf,ms2" label="Input peak list" />
|
|
69 </when>
|
|
70 <when value="false">
|
|
71 <param name="input1" type="data" format="mzxml" label="Input peak list" />
|
|
72 </when>
|
|
73 </conditional>
|
|
74 <param name="model" type="select" label="Model">
|
|
75 <options from_file="pepnovo_models.loc">
|
|
76 <column name="name" index="0" />
|
|
77 <column name="value" index="0" />
|
|
78 </options>
|
|
79 </param>
|
|
80 <param name="digest" type="select" label="Digest">
|
|
81 <option value="TRYPSIN">Trypsin</option>
|
|
82 <option value="NON_SPECIFIC">Non-specific</option>
|
|
83 </param>
|
|
84 <param name="corrections" type="select" label="Spectrum adjustments">
|
|
85 <option value="none">None.</option>
|
|
86 <option value="both">Find optimal precursor m/z and charge values.</option>
|
|
87 <option value="mz">Find optimal precursor m/z values.</option>
|
|
88 <option value="charge">Find optimal charge values.</option>
|
|
89 </param>
|
2
|
90 <repeat name="fixed_mods" title="Fixed Modification">
|
|
91 <param name="fixed_mod" type="select" label="Fixed Modification">
|
|
92 <options from_file="openms_mods.loc">
|
|
93 <column name="name" index="0" />
|
|
94 <column name="value" index="0" />
|
|
95 </options>
|
|
96 </param>
|
|
97 </repeat>
|
|
98 <repeat name="variable_mods" title="Variable Modification">
|
|
99 <param name="variable_mod" type="select" label="Variable Modification">
|
|
100 <options from_file="openms_mods.loc">
|
|
101 <column name="name" index="0"/>
|
|
102 <column name="value" index="0" />
|
|
103 </options>
|
|
104 </param>
|
|
105 </repeat>
|
0
|
106 <param name="quality_filter" type="boolean" checked="true" label="Filter low quality spectra" truevalue="no_quality_filter=true" falsevalue=""/>
|
|
107 <conditional name="override_pm">
|
|
108 <param name="do_override" type="boolean" label="Override model's percursor mass tolerance" />
|
|
109 <when value="true">
|
|
110 <param name="percursor_tolerance" type="float" label="Precursor mass tolerance (Daltons)" help="Must between 0 and 5.0. Set to -1.0 to use model default." value="-1.0">
|
|
111 <validator type="in_range" min="-1.0" max="5.0" />
|
|
112 </param>
|
|
113 </when>
|
|
114 <when value="false">
|
|
115 </when>
|
|
116 </conditional>
|
|
117 <conditional name="override_fragment">
|
|
118 <param name="do_override" type="boolean" label="Override model's fragment tolerance" />
|
|
119 <when value="true">
|
|
120 <param name="fragment_tolerance" type="float" label="Fragment tolerance (Daltons)" help="Must between 0 and 0.75. Set to -1.0 to use model default." value="-1.0">
|
|
121 <validator type="in_range" min="-1.0" max="0.75" />
|
|
122 </param>
|
|
123 </when>
|
|
124 <when value="false">
|
|
125 </when>
|
|
126 </conditional>
|
2
|
127 <param name="num_solutions" type="integer" label="Number of Solutions" value="20">
|
|
128 <validator type="in_range" message="1 <= Number of Solutions <= 2000" min="1" max="2000"/>
|
|
129 </param>
|
0
|
130 </inputs>
|
|
131 <outputs>
|
|
132 <data format="idxml" name="out" />
|
|
133 </outputs>
|
|
134 <help>
|
|
135 **What it does**
|
|
136
|
|
137 De novo peptide sequencing of mass spectrometry data.
|
|
138
|
|
139 More information and publications on PepNovo can be found at the following site: http://proteomics.ucsd.edu/Software/PepNovo.html.
|
|
140
|
|
141 **Citation**
|
|
142
|
|
143 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.`` and ``PepNovo: De Novo Peptide Sequencing via Probabilistic Network Modeling. Frank, A. and Pevzner, P. Analytical Chemistry 77:964-973, 2005.``.
|
|
144
|
|
145 If you use this tool in Galaxy, please cite Chilton J, et al. https://bitbucket.org/galaxyp/galaxyp-toolshed-openms
|
|
146 </help>
|
|
147 </tool>
|