annotate pepnovo_adapter.xml @ 6:42b843627623 draft default tip

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