comparison IDFilter.xml @ 4:6ead64a594bd draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/openms commit 7a5239910fda9ed90cca286a38855703b40b1b56-dirty
author bgruening
date Wed, 27 Jan 2016 10:06:49 -0500
parents 3d84209d3178
children
comparison
equal deleted inserted replaced
3:ec62782f6c68 4:6ead64a594bd
1 <?xml version='1.0' encoding='UTF-8'?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <tool id="IDFilter" name="IDFilter" version="1.12.0"> 2 <!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/). This file was automatically generated using CTD2Galaxy.-->
3 <description>Filters results from protein or peptide identification engines based on different criteria.</description> 3 <!--Proposed Tool Section: [ID Processing]-->
4 <macros> 4 <tool id="IDFilter" name="IDFilter" version="2.0.0">
5 <token name="@EXECUTABLE@">IDFilter</token> 5 <description>Filters results from protein or peptide identification engines based on different criteria.</description>
6 <import>macros.xml</import> 6 <macros>
7 </macros> 7 <token name="@EXECUTABLE@">IDFilter</token>
8 <expand macro="stdio"/> 8 <import>macros.xml</import>
9 <expand macro="requirements"/> 9 </macros>
10 <command>IDFilter 10 <expand macro="references"/>
11 11 <expand macro="stdio"/>
12 -in ${param_in} 12 <expand macro="requirements"/>
13 -out ${param_out} 13 <command>IDFilter
14 -min_length ${param_min_length} 14
15 -max_length ${param_max_length} 15 #if $param_in:
16 -min_charge ${param_min_charge} 16 -in $param_in
17 ${param_var_mods} 17 #end if
18 ${param_unique} 18 #if $param_out:
19 ${param_unique_per_protein} 19 -out $param_out
20 ${param_keep_unreferenced_protein_hits} 20 #end if
21 ${param_delete_unreferenced_peptide_hits} 21 #if $param_min_length:
22 -threads \${GALAXY_SLOTS:-24} 22 -min_length $param_min_length
23 -precursor:rt ${param_rt} 23 #end if
24 -precursor:mz ${param_mz} 24 #if $param_max_length:
25 ${param_allow_missing} 25 -max_length $param_max_length
26 -score:pep ${param_pep} 26 #end if
27 -score:prot ${param_prot} 27 #if $param_min_charge:
28 -thresh:pep ${param_pep} 28 -min_charge $param_min_charge
29 -thresh:prot ${param_prot} 29 #end if
30 -whitelist:proteins ${param_proteins} 30 #if $param_var_mods:
31 ${param_by_seq_only} 31 -var_mods
32 -blacklist:peptides ${param_peptides} 32 #end if
33 -rt:p_value ${param_p_value} 33 #if $param_unique:
34 -rt:p_value_1st_dim ${param_p_value_1st_dim} 34 -unique
35 -mz:error ${param_error} 35 #end if
36 -mz:unit ${param_unit} 36 #if $param_unique_per_protein:
37 -best:n_peptide_hits ${param_n_peptide_hits} 37 -unique_per_protein
38 -best:n_protein_hits ${param_n_protein_hits} 38 #end if
39 ${param_strict} 39 #if $param_keep_unreferenced_protein_hits:
40 -keep_unreferenced_protein_hits
41 #end if
42 #if $param_remove_decoys:
43 -remove_decoys
44 #end if
45 #if $param_delete_unreferenced_peptide_hits:
46 -delete_unreferenced_peptide_hits
47 #end if
48 -threads \${GALAXY_SLOTS:-24}
49 #if $param_precursor_rt:
50 -precursor:rt &quot;$param_precursor_rt&quot;
51 #end if
52 #if $param_precursor_mz:
53 -precursor:mz &quot;$param_precursor_mz&quot;
54 #end if
55 #if $param_precursor_allow_missing:
56 -precursor:allow_missing
57 #end if
58 #if $param_score_pep:
59 -score:pep $param_score_pep
60 #end if
61 #if $param_score_prot:
62 -score:prot $param_score_prot
63 #end if
64 #if $param_thresh_pep:
65 -thresh:pep $param_thresh_pep
66 #end if
67 #if $param_thresh_prot:
68 -thresh:prot $param_thresh_prot
69 #end if
70 #if $param_whitelist_proteins:
71 -whitelist:proteins $param_whitelist_proteins
72 #end if
73 #if $param_whitelist_by_seq_only:
74 -whitelist:by_seq_only
75 #end if
76
77 #if $rep_param_whitelist_protein_accessions:
78 -whitelist:protein_accessions
79 #for token in $rep_param_whitelist_protein_accessions:
80 #if &quot; &quot; in str(token):
81 &quot;$token.param_whitelist_protein_accessions&quot;
82 #else
83 $token.param_whitelist_protein_accessions
84 #end if
85 #end for
86 #end if
87 #if $param_blacklist_peptides:
88 -blacklist:peptides $param_blacklist_peptides
89 #end if
90 #if $param_blacklist_ignore_modifications:
91 -blacklist:ignore_modifications
92 #end if
93 #if $param_rt_p_value:
94 -rt:p_value $param_rt_p_value
95 #end if
96 #if $param_rt_p_value_1st_dim:
97 -rt:p_value_1st_dim $param_rt_p_value_1st_dim
98 #end if
99 #if $param_mz_error:
100 -mz:error $param_mz_error
101 #end if
102 #if $param_mz_unit:
103 -mz:unit
104 #if &quot; &quot; in str($param_mz_unit):
105 &quot;$param_mz_unit&quot;
106 #else
107 $param_mz_unit
108 #end if
109 #end if
110 #if $param_best_n_peptide_hits:
111 -best:n_peptide_hits $param_best_n_peptide_hits
112 #end if
113 #if $param_best_n_protein_hits:
114 -best:n_protein_hits $param_best_n_protein_hits
115 #end if
116 #if $param_best_strict:
117 -best:strict
118 #end if
40 #if $adv_opts.adv_opts_selector=='advanced': 119 #if $adv_opts.adv_opts_selector=='advanced':
41 -best:n_to_m_peptide_hits ${adv_opts.param_n_to_m_peptide_hits} 120 #if $adv_opts.param_force:
121 -force
122 #end if
123 #if $adv_opts.param_best_n_to_m_peptide_hits:
124 -best:n_to_m_peptide_hits &quot;$adv_opts.param_best_n_to_m_peptide_hits&quot;
125 #end if
42 #end if 126 #end if
43 </command> 127 </command>
44 <inputs> 128 <inputs>
45 <param name="param_in" type="data" format="idXML" optional="False" label="input file " help="(-in)"/> 129 <param format="xml" help="(-in) " label="input file" name="param_in" optional="False" type="data"/>
46 <param name="param_min_length" type="integer" min="0" optional="True" value="0" label="Keep only peptide hits with a length greater or equal this value. Value 0 will have no filter effect." help="(-min_length)"/> 130 <param help="(-min_length) Value 0 will have no filter effect" label="Keep only peptide hits with a length greater or equal this value" min="0" name="param_min_length" optional="True" type="integer" value="0"/>
47 <param name="param_max_length" type="integer" max="0" optional="True" value="0" label="Keep only peptide hits with a length less or equal this value. Value 0 will have no filter effect. Value is overridden by min_length, i.e. if max_length &lt; min_length, max_length will be ignored." help="(-max_length)"/> 131 <param help="(-max_length) Value 0 will have no filter effect. Value is overridden by min_length, i.e. if max_length &lt; min_length, max_length will be ignored" label="Keep only peptide hits with a length less or equal this value" min="0" name="param_max_length" optional="True" type="integer" value="0"/>
48 <param name="param_min_charge" type="integer" min="1" optional="True" value="1" label="Keep only peptide hits for tandem spectra with charge greater or equal this value." help="(-min_charge)"/> 132 <param help="(-min_charge) " label="Keep only peptide hits for tandem spectra with charge greater or equal this value" min="1" name="param_min_charge" optional="True" type="integer" value="1"/>
49 <param name="param_var_mods" type="boolean" truevalue="-var_mods true" falsevalue="-var_mods false" checked="false" optional="True" label="Keep only peptide hits with variable modifications (fixed modifications from SearchParameters will be ignored)." help="(-var_mods)"/> 133 <param checked="false" falsevalue="" help="(-var_mods) " label="Keep only peptide hits with variable modifications (fixed modifications from SearchParameters will be ignored)" name="param_var_mods" optional="True" truevalue="-var_mods" type="boolean"/>
50 <param name="param_unique" type="boolean" truevalue="-unique true" falsevalue="-unique false" checked="false" optional="True" label="If a peptide hit occurs more than once per PSM, only one instance is kept." help="(-unique)"/> 134 <param checked="false" falsevalue="" help="(-unique) " label="If a peptide hit occurs more than once per PSM, only one instance is kept" name="param_unique" optional="True" truevalue="-unique" type="boolean"/>
51 <param name="param_unique_per_protein" type="boolean" truevalue="-unique_per_protein true" falsevalue="-unique_per_protein false" checked="false" optional="True" label="Only peptides matching exactly one protein are kept. Remember that isoforms count as different proteins!" help="(-unique_per_protein)"/> 135 <param checked="false" falsevalue="" help="(-unique_per_protein) Remember that isoforms count as different proteins!" label="Only peptides matching exactly one protein are kept" name="param_unique_per_protein" optional="True" truevalue="-unique_per_protein" type="boolean"/>
52 <param name="param_keep_unreferenced_protein_hits" type="boolean" truevalue="-keep_unreferenced_protein_hits true" falsevalue="-keep_unreferenced_protein_hits false" checked="false" optional="True" label="Proteins not referenced by a peptide are retained in the idXML." help="(-keep_unreferenced_protein_hits)"/> 136 <param checked="false" falsevalue="" help="(-keep_unreferenced_protein_hits) " label="Proteins not referenced by a peptide are retained in the ids" name="param_keep_unreferenced_protein_hits" optional="True" truevalue="-keep_unreferenced_protein_hits" type="boolean"/>
53 <param name="param_delete_unreferenced_peptide_hits" type="boolean" truevalue="-delete_unreferenced_peptide_hits true" falsevalue="-delete_unreferenced_peptide_hits false" checked="false" optional="True" label="Peptides not referenced by any protein are deleted in the idXML. Usually used in combination with 'score:prot' or 'thresh:prot'." help="(-delete_unreferenced_peptide_hits)"/> 137 <param checked="false" falsevalue="" help="(-remove_decoys) Usually used in combination with 'delete_unreferenced_peptide_hits'" label="Remove proteins according to the information in the user parameters" name="param_remove_decoys" optional="True" truevalue="-remove_decoys" type="boolean"/>
54 <param name="param_rt" type="text" size="20" value=":" label="Retention time range to extract." help="(-rt)"/> 138 <param checked="false" falsevalue="" help="(-delete_unreferenced_peptide_hits) Usually used in combination with 'score:prot' or 'thresh:prot'" label="Peptides not referenced by any protein are deleted in the ids" name="param_delete_unreferenced_peptide_hits" optional="True" truevalue="-delete_unreferenced_peptide_hits" type="boolean"/>
55 <param name="param_mz" type="text" size="20" value=":" label="Mass-to-charge range to extract." help="(-mz)"/> 139 <param help="(-rt) " label="Retention time range to extract" name="param_precursor_rt" size="30" type="text" value=":">
56 <param name="param_allow_missing" type="boolean" truevalue="-precursor:allow_missing true" falsevalue="-precursor:allow_missing false" checked="false" optional="True" label="When filtering by precursor RT or m/z, keep peptide IDs with missing precursor information ('RT'/'MZ' meta values)?" help="(-allow_missing)"/> 140 <sanitizer>
57 <param name="param_pep" type="float" value="0.0" label="The score which should be reached by a peptide hit to be kept. The score is dependent on the most recent(!) preprocessing - it could be Mascot scores (if a MascotAdapter was applied before), or an FDR (if FalseDiscoveryRate was applied before), etc." help="(-pep)"/> 141 <valid initial="string.printable">
58 <param name="param_prot" type="float" value="0.0" label="The score which should be reached by a protein hit to be kept. Use in combination with 'delete_unreferenced_peptide_hits' to remove affected peptides." help="(-prot)"/> 142 <remove value="'"/>
59 <param name="param_pep" type="float" value="0.0" label="Keep a peptide hit only if its score is above this fraction of the peptide significance threshold." help="(-pep)"/> 143 <remove value="&quot;"/>
60 <param name="param_prot" type="float" value="0.0" label="Keep a protein hit only if its score is above this fraction of the protein significance threshold. Use in combination with 'delete_unreferenced_peptide_hits' to remove affected peptides." help="(-prot)"/> 144 </valid>
61 <param name="param_proteins" type="data" format="fasta" optional="True" label="filename of a FASTA file containing protein sequences.#br#All peptides that are not a substring of a sequence in this file are removed#br#All proteins whose accession is not present in this file are removed." help="(-proteins)"/> 145 </sanitizer>
62 <param name="param_by_seq_only" type="boolean" truevalue="-whitelist:by_seq_only true" falsevalue="-whitelist:by_seq_only false" checked="false" optional="True" label="Match peptides with FASTA file by sequence instead of accession and disable protein filtering." help="(-by_seq_only)"/> 146 </param>
63 <param name="param_peptides" type="data" format="idXML" optional="True" label="Peptides having the same sequence as any peptide in this file will be filtered out#br#" help="(-peptides)"/> 147 <param help="(-mz) " label="Mass-to-charge range to extract" name="param_precursor_mz" size="30" type="text" value=":">
64 <param name="param_p_value" type="float" min="0.0" max="1.0" optional="True" value="0.0" label="Retention time filtering by the p-value predicted by RTPredict." help="(-p_value)"/> 148 <sanitizer>
65 <param name="param_p_value_1st_dim" type="float" min="0.0" max="1.0" optional="True" value="0.0" label="Retention time filtering by the p-value predicted by RTPredict for first dimension." help="(-p_value_1st_dim)"/> 149 <valid initial="string.printable">
66 <param name="param_error" type="float" value="-1.0" label="Filtering by deviation to theoretical mass (disabled for negative values)." help="(-error)"/> 150 <remove value="'"/>
67 <param name="param_unit" type="select" optional="True" value="ppm" label="Absolute or relativ error." help="(-unit)"> 151 <remove value="&quot;"/>
68 <option value="Da">Da</option> 152 </valid>
69 <option value="ppm">ppm</option> 153 </sanitizer>
70 </param> 154 </param>
71 <param name="param_n_peptide_hits" type="integer" min="0" optional="True" value="0" label="Keep only the 'n' highest scoring peptide hits per spectrum (for n&gt;0)." help="(-n_peptide_hits)"/> 155 <param checked="false" falsevalue="" help="(-allow_missing) " label="When filtering by precursor RT or m/z, keep peptide IDs with missing precursor information ('RT'/'MZ' meta values)?" name="param_precursor_allow_missing" optional="True" truevalue="-precursor:allow_missing" type="boolean"/>
72 <param name="param_n_protein_hits" type="integer" min="0" optional="True" value="0" label="Keep only the 'n' highest scoring protein hits (for n&gt;0)." help="(-n_protein_hits)"/> 156 <param help="(-pep) The score is dependent on the most recent(!) preprocessing - it could be Mascot scores (if a MascotAdapter was applied before), or an FDR (if FalseDiscoveryRate was applied before), etc" label="The score which should be reached by a peptide hit to be kept" name="param_score_pep" type="float" value="0.0"/>
73 <param name="param_strict" type="boolean" truevalue="-best:strict true" falsevalue="-best:strict false" checked="false" optional="True" label="Keep only the highest scoring peptide hit.#br#Similar to n_peptide_hits=1, but if there are two or more highest scoring hits, none are kept." help="(-strict)"/> 157 <param help="(-prot) Use in combination with 'delete_unreferenced_peptide_hits' to remove affected peptides" label="The score which should be reached by a protein hit to be kept" name="param_score_prot" type="float" value="0.0"/>
74 <expand macro="advanced_options"> 158 <param help="(-pep) " label="Keep a peptide hit only if its score is above this fraction of the peptide significance threshold" name="param_thresh_pep" type="float" value="0.0"/>
75 <param name="param_n_to_m_peptide_hits" type="text" size="20" value=":" label="peptide hit rank range to extracts" help="(-n_to_m_peptide_hits)"/> 159 <param help="(-prot) Use in combination with 'delete_unreferenced_peptide_hits' to remove affected peptides" label="Keep a protein hit only if its score is above this fraction of the protein significance threshold" name="param_thresh_prot" type="float" value="0.0"/>
76 </expand> 160 <param format="fasta" help="(-proteins) &lt;br&gt;All peptides that are not a substring of a sequence in this file are removed &lt;br&gt;All proteins whose accession is not present in this file are removed" label="filename of a FASTA file containing protein sequences" name="param_whitelist_proteins" optional="True" type="data"/>
77 </inputs> 161 <param checked="false" falsevalue="" help="(-by_seq_only) " label="Match peptides with FASTA file by sequence instead of accession and disable protein filtering" name="param_whitelist_by_seq_only" optional="True" truevalue="-whitelist:by_seq_only" type="boolean"/>
78 <outputs> 162 <repeat min="0" name="rep_param_whitelist_protein_accessions" title="param_whitelist_protein_accessions">
79 <data name="param_out" label="output file " format="idXML"/> 163 <param help="(-protein_accessions) &lt;br&gt;Only proteins of the provided list are retained" label="All peptides that are not referencing at least one of the provided protein accession are removed" name="param_whitelist_protein_accessions" size="30" type="text">
80 </outputs> 164 <sanitizer>
81 <help>**What it does** 165 <valid initial="string.printable">
82 166 <remove value="'"/>
83 Filters results from protein or peptide identification engines based on different criteria. 167 <remove value="&quot;"/>
84 168 </valid>
85 169 </sanitizer>
86 For more information, visit http://ftp.mi.fu-berlin.de/OpenMS/release-documentation/html/TOPP_IDFilter.html 170 </param>
87 171 </repeat>
88 @REFERENCES@ 172 <param format="xml" help="(-peptides) Use with blacklist:ignore_modification flag to only compare by sequence. &lt;br&gt;" label="Peptides having the same sequence and modification assignment as any peptide in this file will be filtered out" name="param_blacklist_peptides" optional="True" type="data"/>
89 </help> 173 <param checked="false" falsevalue="" help="(-ignore_modifications) &lt;br&gt;" label="Compare blacklisted peptides by sequence only" name="param_blacklist_ignore_modifications" optional="True" truevalue="-blacklist:ignore_modifications" type="boolean"/>
90 </tool> 174 <param help="(-p_value) " label="Retention time filtering by the p-value predicted by RTPredict" max="1.0" min="0.0" name="param_rt_p_value" optional="True" type="float" value="0.0"/>
175 <param help="(-p_value_1st_dim) " label="Retention time filtering by the p-value predicted by RTPredict for first dimension" max="1.0" min="0.0" name="param_rt_p_value_1st_dim" optional="True" type="float" value="0.0"/>
176 <param help="(-error) " label="Filtering by deviation to theoretical mass (disabled for negative values)" name="param_mz_error" type="float" value="-1.0"/>
177 <param help="(-unit) " label="Absolute or relative erro" name="param_mz_unit" optional="True" type="select" value="ppm">
178 <option value="Da">Da</option>
179 <option value="ppm">ppm</option>
180 </param>
181 <param help="(-n_peptide_hits) " label="Keep only the 'n' highest scoring peptide hits per spectrum (for n&gt;0)" min="0" name="param_best_n_peptide_hits" optional="True" type="integer" value="0"/>
182 <param help="(-n_protein_hits) " label="Keep only the 'n' highest scoring protein hits (for n&gt;0)" min="0" name="param_best_n_protein_hits" optional="True" type="integer" value="0"/>
183 <param checked="false" falsevalue="" help="(-strict) &lt;br&gt;Similar to n_peptide_hits=1, but if there are two or more highest scoring hits, none are kept" label="Keep only the highest scoring peptide hit" name="param_best_strict" optional="True" truevalue="-best:strict" type="boolean"/>
184 <expand macro="advanced_options">
185 <param checked="false" falsevalue="" help="(-force) " label="Overwrite tool specific checks" name="param_force" optional="True" truevalue="-force" type="boolean"/>
186 <param help="(-n_to_m_peptide_hits) " label="peptide hit rank range to extracts" name="param_best_n_to_m_peptide_hits" size="30" type="text" value=":">
187 <sanitizer>
188 <valid initial="string.printable">
189 <remove value="'"/>
190 <remove value="&quot;"/>
191 </valid>
192 </sanitizer>
193 </param>
194 </expand>
195 </inputs>
196 <outputs>
197 <data format="xml" name="param_out"/>
198 </outputs>
199 <help>Filters results from protein or peptide identification engines based on different criteria.
200
201
202 For more information, visit http://ftp.mi.fu-berlin.de/OpenMS/release-documentation/html/TOPP_IDFilter.html</help>
203 </tool>