0
|
1 <?xml version='1.0' encoding='UTF-8'?>
|
|
2 <tool id="MassCalculator" name="MassCalculator" version="2.0.0">
|
|
3 <description>Calculates masses and mass-to-charge ratios of peptide sequences</description>
|
|
4 <macros>
|
|
5 <token name="@EXECUTABLE@">MassCalculator</token>
|
|
6 <import>macros.xml</import>
|
|
7 </macros>
|
|
8 <expand macro="stdio"/>
|
|
9 <expand macro="requirements"/>
|
|
10 <command>MassCalculator
|
|
11
|
|
12 #if $param_in:
|
|
13 -in $param_in
|
|
14 #end if
|
|
15
|
|
16 #if $rep_param_in_seq:
|
|
17 -in_seq
|
|
18 #for token in $rep_param_in_seq:
|
|
19 #if " " in str(token):
|
|
20 "$token.param_in_seq"
|
|
21 #else
|
|
22 $token.param_in_seq
|
|
23 #end if
|
|
24 #end for
|
|
25 #end if
|
|
26 #if $param_out:
|
|
27 -out $param_out
|
|
28 #end if
|
|
29
|
|
30 #if $rep_param_charge:
|
|
31 -charge
|
|
32 #for token in $rep_param_charge:
|
|
33 #if " " in str(token):
|
|
34 "$token.param_charge"
|
|
35 #else
|
|
36 $token.param_charge
|
|
37 #end if
|
|
38 #end for
|
|
39 #end if
|
|
40 #if $param_format:
|
|
41 -format
|
|
42 #if " " in str($param_format):
|
|
43 "$param_format"
|
|
44 #else
|
|
45 $param_format
|
|
46 #end if
|
|
47 #end if
|
|
48 #if $param_average_mass:
|
|
49 -average_mass
|
|
50 #end if
|
|
51 #if $param_fragment_type:
|
|
52 -fragment_type
|
|
53 #if " " in str($param_fragment_type):
|
|
54 "$param_fragment_type"
|
|
55 #else
|
|
56 $param_fragment_type
|
|
57 #end if
|
|
58 #end if
|
|
59 #if $param_separator:
|
|
60 -separator "$param_separator"
|
|
61 #end if
|
|
62 -threads \${GALAXY_SLOTS:-24}
|
|
63 #if $adv_opts.adv_opts_selector=='advanced':
|
|
64 #if $adv_opts.param_force:
|
|
65 -force
|
|
66 #end if
|
|
67 #end if
|
|
68 </command>
|
|
69 <inputs>
|
|
70 <param name="param_in" type="data" format="txt" optional="True" label="Input file with peptide sequences and optionally charge numbers (mutually exclusive to 'in_seq')" help="(-in) "/>
|
|
71 <repeat name="rep_param_in_seq" min="0" title="param_in_seq">
|
|
72 <param name="param_in_seq" type="text" size="30" label="List of peptide sequences (mutually exclusive to 'in')" help="(-in_seq) ">
|
|
73 <sanitizer>
|
|
74 <valid initial="string.printable">
|
|
75 <remove value="'"/>
|
|
76 <remove value="""/>
|
|
77 </valid>
|
|
78 </sanitizer>
|
|
79 </param>
|
|
80 </repeat>
|
|
81 <repeat name="rep_param_charge" min="0" max="1" title="param_charge">
|
|
82 <param name="param_charge" type="text" size="30" value="0" label="List of charge states; required if 'in_seq' is given" help="(-charge) ">
|
|
83 <sanitizer>
|
|
84 <valid initial="string.printable">
|
|
85 <remove value="'"/>
|
|
86 <remove value="""/>
|
|
87 </valid>
|
|
88 </sanitizer>
|
|
89 </param>
|
|
90 </repeat>
|
|
91 <param name="param_format" type="select" optional="True" value="list" label="Output format ('list': human-readable list, 'table': CSV-like table, 'mass_only': mass values only, 'mz_only': m/z values only)" help="(-format) ">
|
|
92 <option value="list">list</option>
|
|
93 <option value="table">table</option>
|
|
94 <option value="mass_only">mass_only</option>
|
|
95 <option value="mz_only">mz_only</option>
|
|
96 </param>
|
|
97 <param name="param_average_mass" type="boolean" truevalue="-average_mass" falsevalue="" checked="false" optional="True" label="Compute average (instead of monoisotopic) peptide masses" help="(-average_mass) "/>
|
|
98 <param name="param_fragment_type" type="select" optional="True" value="full" label="For what type of sequence/fragment the mass should be computed" help="(-fragment_type) ">
|
|
99 <option value="full">full</option>
|
|
100 <option value="internal">internal</option>
|
|
101 <option value="N-terminal">N-terminal</option>
|
|
102 <option value="C-terminal">C-terminal</option>
|
|
103 <option value="a-ion">a-ion</option>
|
|
104 <option value="b-ion">b-ion</option>
|
|
105 <option value="c-ion">c-ion</option>
|
|
106 <option value="x-ion">x-ion</option>
|
|
107 <option value="y-ion">y-ion</option>
|
|
108 <option value="z-ion">z-ion</option>
|
|
109 </param>
|
|
110 <param name="param_separator" type="text" size="30" label="Field separator for 'table' output format; by default, the 'tab' character is used" help="(-separator) ">
|
|
111 <sanitizer>
|
|
112 <valid initial="string.printable">
|
|
113 <remove value="'"/>
|
|
114 <remove value="""/>
|
|
115 </valid>
|
|
116 </sanitizer>
|
|
117 </param>
|
|
118 <expand macro="advanced_options">
|
|
119 <param name="param_force" type="boolean" truevalue="-force" falsevalue="" checked="false" optional="True" label="Overwrite tool specific checks" help="(-force) "/>
|
|
120 </expand>
|
|
121 </inputs>
|
|
122 <outputs>
|
|
123 <data name="param_out" format="txt"/>
|
|
124 </outputs>
|
|
125 <help>**What it does**
|
|
126
|
|
127 Calculates masses and mass-to-charge ratios of peptide sequences
|
|
128
|
|
129
|
|
130 For more information, visit http://ftp.mi.fu-berlin.de/OpenMS/release-documentation/html/UTILS_MassCalculator.html</help>
|
|
131 <expand macro="references"/>
|
|
132 </tool>
|