Mercurial > repos > galaxyp > openms_peptideindexer
comparison PeptideIndexer.xml @ 9:c4a73c6a8dca draft
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/openms commit ddf41e8bda1ba065f5cdec98e93dee8165ffc1b9"
author | galaxyp |
---|---|
date | Thu, 03 Sep 2020 16:23:00 +0000 |
parents | 96dcf92f992d |
children | cb18120926b0 |
comparison
equal
deleted
inserted
replaced
8:5182338d5e7c | 9:c4a73c6a8dca |
---|---|
1 <?xml version='1.0' encoding='UTF-8'?> | 1 <?xml version='1.0' encoding='UTF-8'?> |
2 <!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/). This file was automatically generated using CTDConverter.--> | 2 <!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/). This file was automatically generated using CTDConverter.--> |
3 <!--Proposed Tool Section: [ID Processing]--> | 3 <!--Proposed Tool Section: [ID Processing]--> |
4 <tool id="PeptideIndexer" name="PeptideIndexer" version="2.3.0"> | 4 <tool id="PeptideIndexer" name="PeptideIndexer" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@" profile="20.05"> |
5 <description>Refreshes the protein references for all peptide hits.</description> | 5 <description>Refreshes the protein references for all peptide hits.</description> |
6 <macros> | 6 <macros> |
7 <token name="@EXECUTABLE@">PeptideIndexer</token> | 7 <token name="@EXECUTABLE@">PeptideIndexer</token> |
8 <import>macros.xml</import> | 8 <import>macros.xml</import> |
9 <import>macros_autotest.xml</import> | |
10 <import>macros_test.xml</import> | |
9 </macros> | 11 </macros> |
10 <expand macro="references"/> | 12 <expand macro="requirements"/> |
11 <expand macro="stdio"/> | 13 <expand macro="stdio"/> |
12 <expand macro="requirements"/> | 14 <command detect_errors="exit_code"><![CDATA[@QUOTE_FOO@ |
13 <command detect_errors="aggressive"><![CDATA[PeptideIndexer | 15 @EXT_FOO@ |
16 #import re | |
14 | 17 |
15 #if $param_in: | 18 ## Preprocessing |
16 -in $param_in | 19 mkdir in && |
17 #end if | 20 ln -s '$in' 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' && |
18 #if $param_fasta: | 21 mkdir fasta && |
19 -fasta $param_fasta | 22 ln -s '$fasta' 'fasta/${re.sub("[^\w\-_]", "_", $fasta.element_identifier)}.$gxy2omsext($fasta.ext)' && |
20 #end if | 23 mkdir out && |
21 #if $param_out: | 24 |
22 -out $param_out | 25 ## Main program call |
23 #end if | 26 |
24 #if $param_decoy_string: | 27 set -o pipefail && |
25 -decoy_string "$param_decoy_string" | 28 @EXECUTABLE@ -write_ctd ./ && |
26 #end if | 29 python3 '$__tool_directory__/fill_ctd.py' '@EXECUTABLE@.ctd' '$args_json' '$hardcoded_json' && |
27 #if $param_decoy_string_position: | 30 @EXECUTABLE@ -ini @EXECUTABLE@.ctd |
28 -decoy_string_position | 31 -in |
29 #if " " in str($param_decoy_string_position): | 32 'in/${re.sub("[^\w\-_]", "_", $in.element_identifier)}.$gxy2omsext($in.ext)' |
30 "$param_decoy_string_position" | 33 -fasta |
31 #else | 34 'fasta/${re.sub("[^\w\-_]", "_", $fasta.element_identifier)}.$gxy2omsext($fasta.ext)' |
32 $param_decoy_string_position | 35 -out |
33 #end if | 36 'out/output.${gxy2omsext("idxml")}' |
34 #end if | 37 |
35 #if $param_missing_decoy_action: | 38 ## Postprocessing |
36 -missing_decoy_action | 39 && mv 'out/output.${gxy2omsext("idxml")}' '$out' |
37 #if " " in str($param_missing_decoy_action): | 40 #if "ctd_out_FLAG" in $OPTIONAL_OUTPUTS |
38 "$param_missing_decoy_action" | 41 && mv '@EXECUTABLE@.ctd' '$ctd_out' |
39 #else | 42 #end if]]></command> |
40 $param_missing_decoy_action | 43 <configfiles> |
41 #end if | 44 <inputs name="args_json" data_style="paths"/> |
42 #end if | 45 <configfile name="hardcoded_json"><![CDATA[{"log": "log.txt", "threads": "\${GALAXY_SLOTS:-1}", "no_progress": true}]]></configfile> |
43 #if $param_write_protein_sequence: | 46 </configfiles> |
44 -write_protein_sequence | |
45 #end if | |
46 #if $param_write_protein_description: | |
47 -write_protein_description | |
48 #end if | |
49 #if $param_keep_unreferenced_proteins: | |
50 -keep_unreferenced_proteins | |
51 #end if | |
52 #if $param_allow_unmatched: | |
53 -allow_unmatched | |
54 #end if | |
55 #if $param_full_tolerant_search: | |
56 -full_tolerant_search | |
57 #end if | |
58 #if $param_aaa_max: | |
59 -aaa_max $param_aaa_max | |
60 #end if | |
61 #if $param_mismatches_max: | |
62 -mismatches_max $param_mismatches_max | |
63 #end if | |
64 #if $param_IL_equivalent: | |
65 -IL_equivalent | |
66 #end if | |
67 #if $param_filter_aaa_proteins: | |
68 -filter_aaa_proteins | |
69 #end if | |
70 #if $param_enzyme_name: | |
71 -enzyme:name | |
72 #if " " in str($param_enzyme_name): | |
73 "$param_enzyme_name" | |
74 #else | |
75 $param_enzyme_name | |
76 #end if | |
77 #end if | |
78 #if $param_enzyme_specificity: | |
79 -enzyme:specificity | |
80 #if " " in str($param_enzyme_specificity): | |
81 "$param_enzyme_specificity" | |
82 #else | |
83 $param_enzyme_specificity | |
84 #end if | |
85 #end if | |
86 #if $adv_opts.adv_opts_selector=='advanced': | |
87 #if $adv_opts.param_force: | |
88 -force | |
89 #end if | |
90 #end if | |
91 -threads "\${GALAXY_SLOTS:-1}" | |
92 ]]></command> | |
93 <inputs> | 47 <inputs> |
94 <param name="param_in" type="data" format="idxml" optional="False" label="Input idXML file containing the identifications" help="(-in) "/> | 48 <param name="in" argument="-in" type="data" format="idxml" optional="false" label="Input idXML file containing the identifications" help=" select idxml data sets(s)"/> |
95 <param name="param_fasta" type="data" format="fasta" optional="False" label="Input sequence database in FASTA format" help="(-fasta) Non-existing relative filenames are looked up via 'OpenMS.ini:id_db_dir'"/> | 49 <param name="fasta" argument="-fasta" type="data" format="fasta" optional="false" label="Input sequence database in FASTA format" help="Non-existing relative filenames are looked up via 'OpenMS.ini:id_db_dir' select fasta data sets(s)"/> |
96 <param name="param_decoy_string" type="text" size="30" value="DECOY_" label="String that was appended (or prefixed - see 'decoy_string_position' flag below) to the accessions in the protein database to indicate decoy proteins" help="(-decoy_string) "> | 50 <param name="decoy_string" argument="-decoy_string" type="text" optional="true" value="" label="String that was appended (or prefixed - see 'decoy_string_position' flag below) to the accessions in the protein database to indicate decoy proteins" help="If empty (default), it's determined automatically (checking for common terms, both as prefix and suffix)"> |
97 <sanitizer> | 51 <expand macro="list_string_san"/> |
98 <valid initial="string.printable"> | |
99 <remove value="'"/> | |
100 <remove value="""/> | |
101 </valid> | |
102 </sanitizer> | |
103 </param> | 52 </param> |
104 <param name="param_decoy_string_position" display="radio" type="select" optional="False" value="prefix" label="Should the 'decoy_string' be prepended (prefix) or appended (suffix) to the protein accession?" help="(-decoy_string_position) "> | 53 <param name="decoy_string_position" argument="-decoy_string_position" display="radio" type="select" optional="false" label="Is the 'decoy_string' prepended (prefix) or appended (suffix) to the protein accession" help="(ignored if decoy_string is empty)"> |
105 <option value="prefix" selected="true">prefix</option> | 54 <option value="prefix" selected="true">prefix</option> |
106 <option value="suffix">suffix</option> | 55 <option value="suffix">suffix</option> |
56 <expand macro="list_string_san"/> | |
107 </param> | 57 </param> |
108 <param name="param_missing_decoy_action" display="radio" type="select" optional="False" value="error" label="Action to take if NO peptide was assigned to a decoy protein (which indicates wrong database or decoy string): 'error' (exit with error, no output), 'warn' (exit with success, warning message)" help="(-missing_decoy_action) "> | 58 <param name="missing_decoy_action" argument="-missing_decoy_action" display="radio" type="select" optional="false" label="Action to take if NO peptide was assigned to a decoy protein (which indicates wrong database or decoy string): 'error' (exit with error, no output), 'warn' (exit with success, warning message), 'silent' (no action is taken, not even a warning)" help=""> |
109 <option value="error" selected="true">error</option> | 59 <option value="error" selected="true">error</option> |
110 <option value="warn">warn</option> | 60 <option value="warn">warn</option> |
61 <option value="silent">silent</option> | |
62 <expand macro="list_string_san"/> | |
111 </param> | 63 </param> |
112 <param name="param_write_protein_sequence" display="radio" type="boolean" truevalue="-write_protein_sequence" falsevalue="" checked="false" optional="True" label="If set, the protein sequences are stored as well" help="(-write_protein_sequence) "/> | 64 <param name="write_protein_sequence" argument="-write_protein_sequence" type="boolean" truevalue="true" falsevalue="false" checked="false" label="If set, the protein sequences are stored as well" help=""/> |
113 <param name="param_write_protein_description" display="radio" type="boolean" truevalue="-write_protein_description" falsevalue="" checked="false" optional="True" label="If set, the protein description is stored as well" help="(-write_protein_description) "/> | 65 <param name="write_protein_description" argument="-write_protein_description" type="boolean" truevalue="true" falsevalue="false" checked="false" label="If set, the protein description is stored as well" help=""/> |
114 <param name="param_keep_unreferenced_proteins" display="radio" type="boolean" truevalue="-keep_unreferenced_proteins" falsevalue="" checked="false" optional="True" label="If set, protein hits which are not referenced by any peptide are kept" help="(-keep_unreferenced_proteins) "/> | 66 <param name="keep_unreferenced_proteins" argument="-keep_unreferenced_proteins" type="boolean" truevalue="true" falsevalue="false" checked="false" label="If set, protein hits which are not referenced by any peptide are kept" help=""/> |
115 <param name="param_allow_unmatched" display="radio" type="boolean" truevalue="-allow_unmatched" falsevalue="" checked="false" optional="True" label="If set, unmatched peptide sequences are allowed" help="(-allow_unmatched) By default (i.e. if this flag is not set) the program terminates with an error on unmatched peptides"/> | 67 <param name="allow_unmatched" argument="-allow_unmatched" type="boolean" truevalue="true" falsevalue="false" checked="false" label="If set, unmatched peptide sequences are allowed" help="By default (i.e. if this flag is not set) the program terminates with an error on unmatched peptides"/> |
116 <param name="param_full_tolerant_search" display="radio" type="boolean" truevalue="-full_tolerant_search" falsevalue="" checked="false" optional="True" label="If set, all peptide sequences are matched using tolerant search" help="(-full_tolerant_search) Thus potentially more proteins (containing ambiguous amino acids) are associated. This is much slower!"/> | 68 <param name="aaa_max" argument="-aaa_max" type="integer" optional="true" min="0" max="10" value="3" label="Maximal number of ambiguous amino acids (AAAs) allowed when matching to a protein database with AAAs" help="AAAs are B, J, Z and X!"/> |
117 <param name="param_aaa_max" type="integer" min="0" optional="True" value="4" label="[tolerant search only] Maximal number of ambiguous amino acids (AAAs) allowed when matching to a protein database with AAAs" help="(-aaa_max) AAAs are 'B', 'Z' and 'X'"/> | 69 <param name="mismatches_max" argument="-mismatches_max" type="integer" optional="true" min="0" max="10" value="0" label="Maximal number of mismatched (mm) amino acids allowed when matching to a protein database" help="The required runtime is exponential in the number of mm's; apply with care. MM's are allowed in addition to AAA's"/> |
118 <param name="param_mismatches_max" type="integer" min="0" optional="True" value="0" label="[tolerant search only] Maximal number of real mismatches (will be used after checking for ambiguous AA's (see 'aaa_max' option)" help="(-mismatches_max) In general this param should only be changed if you want to look for other potential origins of a peptide which might have unknown SNPs or the like"/> | 70 <param name="IL_equivalent" argument="-IL_equivalent" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Treat the isobaric amino acids isoleucine ('I') and leucine ('L') as equivalent (indistinguishable)" help="Also occurences of 'J' will be treated as 'I' thus avoiding ambiguous matching"/> |
119 <param name="param_IL_equivalent" display="radio" type="boolean" truevalue="-IL_equivalent" falsevalue="" checked="false" optional="True" label="Treat the isobaric amino acids isoleucine ('I') and leucine ('L') as equivalent (indistinguishable)" help="(-IL_equivalent) "/> | 71 <section name="enzyme" title="" help="" expanded="false"> |
120 <param name="param_filter_aaa_proteins" display="radio" type="boolean" truevalue="-filter_aaa_proteins" falsevalue="" checked="false" optional="True" label="In the tolerant search for matches to proteins with ambiguous amino acids (AAAs), rebuild the search database to only consider proteins with AAAs" help="(-filter_aaa_proteins) This may save time if most proteins don't contain AAAs and if there is a significant number of peptides that enter the tolerant search"/> | 72 <param name="name" argument="-enzyme:name" type="select" optional="false" label="Enzyme which determines valid cleavage sites -" help="e.g. trypsin cleaves after lysine (K) or arginine (R), but not before proline (P)"> |
121 <param name="param_enzyme_name" type="select" optional="False" value="Trypsin" label="Enzyme which determines valid cleavage sites -" help="(-name) e.g. trypsin cleaves after lysine (K) or arginine (R), but not before proline (P)"> | 73 <option value="Chymotrypsin">Chymotrypsin</option> |
122 <option value="glutamyl endopeptidase">glutamyl endopeptidase</option> | 74 <option value="Chymotrypsin/P">Chymotrypsin/P</option> |
123 <option value="TrypChymo">TrypChymo</option> | 75 <option value="CNBr">CNBr</option> |
124 <option value="unspecific cleavage">unspecific cleavage</option> | 76 <option value="Formic_acid">Formic_acid</option> |
125 <option value="Trypsin/P">Trypsin/P</option> | 77 <option value="Asp-N">Asp-N</option> |
126 <option value="Alpha-lytic protease">Alpha-lytic protease</option> | 78 <option value="Asp-N/B">Asp-N/B</option> |
127 <option value="V8-DE">V8-DE</option> | 79 <option value="Asp-N_ambic">Asp-N_ambic</option> |
128 <option value="V8-E">V8-E</option> | 80 <option value="staphylococcal protease/D">staphylococcal protease/D</option> |
129 <option value="PepsinA">PepsinA</option> | 81 <option value="proline-endopeptidase/HKR">proline-endopeptidase/HKR</option> |
130 <option value="Asp-N">Asp-N</option> | 82 <option value="Glu-C+P">Glu-C+P</option> |
131 <option value="2-iodobenzoate">2-iodobenzoate</option> | 83 <option value="PepsinA + P">PepsinA + P</option> |
132 <option value="Lys-N">Lys-N</option> | 84 <option value="cyanogen-bromide">cyanogen-bromide</option> |
133 <option value="Asp-N_ambic">Asp-N_ambic</option> | 85 <option value="Clostripain/P">Clostripain/P</option> |
134 <option value="CNBr">CNBr</option> | 86 <option value="elastase-trypsin-chymotrypsin">elastase-trypsin-chymotrypsin</option> |
135 <option value="Asp-N/B">Asp-N/B</option> | 87 <option value="no cleavage">no cleavage</option> |
136 <option value="Formic_acid">Formic_acid</option> | 88 <option value="unspecific cleavage">unspecific cleavage</option> |
137 <option value="Chymotrypsin">Chymotrypsin</option> | 89 <option value="TrypChymo">TrypChymo</option> |
138 <option value="Lys-C">Lys-C</option> | 90 <option value="Trypsin/P">Trypsin/P</option> |
139 <option value="Trypsin" selected="true">Trypsin</option> | 91 <option value="V8-DE">V8-DE</option> |
140 <option value="Arg-C">Arg-C</option> | 92 <option value="V8-E">V8-E</option> |
141 <option value="Arg-C/P">Arg-C/P</option> | 93 <option value="leukocyte elastase">leukocyte elastase</option> |
142 <option value="Lys-C/P">Lys-C/P</option> | 94 <option value="proline endopeptidase">proline endopeptidase</option> |
143 <option value="no cleavage">no cleavage</option> | 95 <option value="glutamyl endopeptidase">glutamyl endopeptidase</option> |
144 <option value="leukocyte elastase">leukocyte elastase</option> | 96 <option value="Alpha-lytic protease">Alpha-lytic protease</option> |
145 <option value="proline endopeptidase">proline endopeptidase</option> | 97 <option value="2-iodobenzoate">2-iodobenzoate</option> |
146 <option value="Chymotrypsin/P">Chymotrypsin/P</option> | 98 <option value="iodosobenzoate">iodosobenzoate</option> |
99 <option value="Arg-C">Arg-C</option> | |
100 <option value="Arg-C/P">Arg-C/P</option> | |
101 <option value="Lys-C">Lys-C</option> | |
102 <option value="Lys-N">Lys-N</option> | |
103 <option value="Lys-C/P">Lys-C/P</option> | |
104 <option value="PepsinA">PepsinA</option> | |
105 <option value="Trypsin" selected="true">Trypsin</option> | |
106 <expand macro="list_string_san"/> | |
107 </param> | |
108 <param name="specificity" argument="-enzyme:specificity" display="radio" type="select" optional="false" label="Specificity of the enzyme" help="'full': both internal cleavage sites must match.. 'semi': one of two internal cleavage sites must match.. 'none': allow all peptide hits no matter their context. Therefore, the enzyme chosen does not play a role here"> | |
109 <option value="full" selected="true">full</option> | |
110 <option value="semi">semi</option> | |
111 <option value="none">none</option> | |
112 <expand macro="list_string_san"/> | |
113 </param> | |
114 </section> | |
115 <expand macro="adv_opts_macro"> | |
116 <param name="force" argument="-force" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Overwrite tool specific checks" help=""/> | |
117 <param name="test" argument="-test" type="hidden" optional="true" value="False" label="Enables the test mode (needed for internal use only)" help=""> | |
118 <expand macro="list_string_san"/> | |
119 </param> | |
120 </expand> | |
121 <param name="OPTIONAL_OUTPUTS" type="select" multiple="true" label="Optional outputs" optional="true"> | |
122 <option value="ctd_out_FLAG">Output used ctd (ini) configuration file</option> | |
147 </param> | 123 </param> |
148 <param name="param_enzyme_specificity" display="radio" type="select" optional="False" value="full" label="Specificity of the enzyme" help="(-specificity) <br> 'full': both internal cleavage sites must match. <br> 'semi': one of two internal cleavage sites must match. <br> 'none': allow all peptide hits no matter their context. Therefore, the enzyme chosen does not play a role here"> | |
149 <option value="full" selected="true">full</option> | |
150 <option value="semi">semi</option> | |
151 <option value="none">none</option> | |
152 </param> | |
153 <expand macro="advanced_options"> | |
154 <param name="param_force" display="radio" type="boolean" truevalue="-force" falsevalue="" checked="false" optional="True" label="Overwrite tool specific checks" help="(-force) "/> | |
155 </expand> | |
156 </inputs> | 124 </inputs> |
157 <outputs> | 125 <outputs> |
158 <data name="param_out" format="idxml"/> | 126 <data name="out" label="${tool.name} on ${on_string}: out" format="idxml"/> |
127 <data name="ctd_out" format="xml" label="${tool.name} on ${on_string}: ctd"> | |
128 <filter>OPTIONAL_OUTPUTS is not None and "ctd_out_FLAG" in OPTIONAL_OUTPUTS</filter> | |
129 </data> | |
159 </outputs> | 130 </outputs> |
160 <help>Refreshes the protein references for all peptide hits. | 131 <tests> |
132 <expand macro="autotest_PeptideIndexer"/> | |
133 <expand macro="manutest_PeptideIndexer"/> | |
134 </tests> | |
135 <help><![CDATA[Refreshes the protein references for all peptide hits. | |
161 | 136 |
162 | 137 |
163 For more information, visit https://abibuilder.informatik.uni-tuebingen.de/archive/openms/Documentation/release/2.3.0/html/TOPP_PeptideIndexer.html</help> | 138 For more information, visit http://www.openms.de/documentation/TOPP_PeptideIndexer.html]]></help> |
139 <expand macro="references"/> | |
164 </tool> | 140 </tool> |