annotate pepnovo_adapter.xml @ 0:ba86fd127f5a draft

Uploaded
author galaxyp
date Wed, 19 Dec 2012 00:32:25 -0500
parents
children cf0d72c7b482
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
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
4 </description>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
5 <requirements>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
6 <requirement type="package">openms</requirement>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
7 <requirement type="package">pepnovo</requirement>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
8 </requirements>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
9 <command interpreter="python">
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
10 openms_wrapper.py
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
11 #if $input_block.do_clean
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
12 --executable 'FileConverter' --config $inputConfig
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
13 #end if
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
14 --executable 'PepNovoAdapter' --config $config
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
15 </command>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
16 <configfiles>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
17 <configfile name="config">[simple_options]
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
18 #if $input_block.do_clean
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
19 in=input.mzXML
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
20 #else
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
21 in=${input_block.input1}
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
22 #end if
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
23 out=${out}
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
24 model_directory=@PEPNOVO_MODELS_PATH@
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
25 pepnovo_executable=@PEPNOVO_EXECUTABLE_PATH@
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
26 temp_data_directory=.
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
27 model=${model}
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
28 digest=${digest}
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
29 #if $corrections != "none"
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
30 correct_pm=true
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
31 #end if
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
32 #if $corrections == "mass"
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
33 use_spectrum_charge=true
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
34 #end if
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
35 #if $corrections == "mz"
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
36 use_spectrum_mz=true
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
37 #end if
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
38 $quality_filter
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
39 #if $override_pm.do_override
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
40 pm_tolerance=${override_pm.percursor_tolerance}
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
41 #end if
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
42 #if $override_fragment.do_override
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
43 fragment_tolerance=${override_fragment.fragment_tolerance}
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
44 #end if
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
45 </configfile>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
46 <configfile name="inputConfig">[simple_options]
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
47 in=${input_block.input1}
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
48 in_type=${input_block.input1.ext}
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
49 out=input.mzXML
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
50 out_type=mzXML
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
51 </configfile>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
52 </configfiles>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
53 <inputs>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
54 <conditional name="input_block">
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
55 <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 suiteable for PepNovo." />
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
56 <when value="true">
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
57 <param name="input1" type="data" format="mzxml,mzml,mgf,ms2" label="Input peak list" />
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
58 </when>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
59 <when value="false">
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
60 <param name="input1" type="data" format="mzxml" label="Input peak list" />
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
61 </when>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
62 </conditional>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
63 <param name="model" type="select" label="Model">
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
64 <options from_file="pepnovo_models.loc">
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
65 <column name="name" index="0" />
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
66 <column name="value" index="0" />
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
67 </options>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
68 </param>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
69 <param name="digest" type="select" label="Digest">
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
70 <option value="TRYPSIN">Trypsin</option>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
71 <option value="NON_SPECIFIC">Non-specific</option>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
72 </param>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
73 <param name="corrections" type="select" label="Spectrum adjustments">
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
74 <option value="none">None.</option>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
75 <option value="both">Find optimal precursor m/z and charge values.</option>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
76 <option value="mz">Find optimal precursor m/z values.</option>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
77 <option value="charge">Find optimal charge values.</option>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
78 </param>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
79 <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
80 <conditional name="override_pm">
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
81 <param name="do_override" type="boolean" label="Override model's percursor mass tolerance" />
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
82 <when value="true">
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
83 <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
84 <validator type="in_range" min="-1.0" max="5.0" />
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
85 </param>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
86 </when>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
87 <when value="false">
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
88 </when>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
89 </conditional>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
90 <conditional name="override_fragment">
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
91 <param name="do_override" type="boolean" label="Override model's fragment tolerance" />
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
92 <when value="true">
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
93 <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
94 <validator type="in_range" min="-1.0" max="0.75" />
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
95 </param>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
96 </when>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
97 <when value="false">
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
98 </when>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
99 </conditional>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
100 </inputs>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
101 <outputs>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
102 <data format="idxml" name="out" />
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
103 </outputs>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
104 <help>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
105 **What it does**
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
106
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
107 De novo peptide sequencing of mass spectrometry data.
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
108
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
109 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
110
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
111 **Citation**
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
112
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
113 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
114
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
115 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
116 </help>
ba86fd127f5a Uploaded
galaxyp
parents:
diff changeset
117 </tool>