Mercurial > repos > bgruening > diamond
comparison diamond.xml @ 12:60f307965815 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/diamond commit 62db819c1db857d3fba94dc4e290ee0f50f7928d
author | iuc |
---|---|
date | Mon, 03 Feb 2025 16:01:01 +0000 |
parents | e8ac2b53f262 |
children |
comparison
equal
deleted
inserted
replaced
11:e8ac2b53f262 | 12:60f307965815 |
---|---|
1 <tool id="bg_diamond" name="Diamond" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="19.01"> | 1 <tool id="bg_diamond" name="Diamond" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.2" license="GPL-3.0"> |
2 <description>alignment tool for short sequences against a protein database</description> | 2 <description>alignment tool for short sequences against a protein database</description> |
3 <macros> | 3 <macros> |
4 <import>macros.xml</import> | 4 <import>macros.xml</import> |
5 </macros> | 5 </macros> |
6 <xrefs> | 6 <xrefs> |
7 <xref type="bio.tools">diamond</xref> | 7 <xref type="bio.tools">diamond</xref> |
8 </xrefs> | 8 </xrefs> |
9 <expand macro="requirements" /> | 9 <expand macro="requirements"/> |
10 <expand macro="stdio" /> | 10 <expand macro="stdio"/> |
11 <expand macro="version_command" /> | 11 <expand macro="version_command"/> |
12 <command detect_errors="aggressive"> | 12 <command detect_errors="aggressive"> |
13 <![CDATA[ | 13 <![CDATA[ |
14 | 14 |
15 #if $ref_db_source.db_source == "history": | 15 #if $ref_db_source.db_source == "history": |
16 ln -s $ref_db_source.reference_database ./database.dmnd | 16 ln -s $ref_db_source.reference_database ./database.dmnd |
43 #if $output_section.output.outfmt != '100' | 43 #if $output_section.output.outfmt != '100' |
44 --compress '0' | 44 --compress '0' |
45 #end if | 45 #end if |
46 $sens_cond.sensitivity | 46 $sens_cond.sensitivity |
47 $iterate | 47 $iterate |
48 $swipe | |
48 --algo $algo | 49 --algo $algo |
49 #if $global_ranking | 50 #if $global_ranking |
50 --global-ranking $global_ranking | 51 --global-ranking $global_ranking |
51 #end if | 52 #end if |
52 #if str($gapopen) != "": | 53 #if str($gapopen) != "": |
100 #if $advanced_section.seed_cut | 101 #if $advanced_section.seed_cut |
101 --seed-cut $advanced_section.seed_cut | 102 --seed-cut $advanced_section.seed_cut |
102 #end if | 103 #end if |
103 $advanced_section.freq_masking | 104 $advanced_section.freq_masking |
104 --motif-masking $advanced_section.motif_masking | 105 --motif-masking $advanced_section.motif_masking |
106 --soft-masking $advanced_section.soft_masking | |
107 --index-chunks "\${DIAMOND_INDEX_CHUNKS:-4}" | |
108 --file-buffer-size "\${DIAMOND_FILE_BUFFER_SIZE:-67108864}" | |
109 $log | |
110 | |
105 ]]> | 111 ]]> |
106 </command> | 112 </command> |
107 <inputs> | 113 <inputs> |
108 <conditional name="method_cond"> | 114 <conditional name="method_cond"> |
109 <param name="method_select" type="select" label="Alignment mode" help="(blastp/blastx)"> | 115 <param name="method_select" type="select" label="Alignment mode" help="(blastp/blastx)"> |
129 <option value="22">Scenedesmus obliquus Mitochondrial Code</option> | 135 <option value="22">Scenedesmus obliquus Mitochondrial Code</option> |
130 <option value="23">Thraustochytrium Mitochondrial Code</option> | 136 <option value="23">Thraustochytrium Mitochondrial Code</option> |
131 <option value="24">Pterobranchia Mitochondrial Code</option> | 137 <option value="24">Pterobranchia Mitochondrial Code</option> |
132 <option value="25">Candidate Division SR1 and Gracilibacteria Code</option> | 138 <option value="25">Candidate Division SR1 and Gracilibacteria Code</option> |
133 <option value="26">Pachysolen tannophilus Nuclear Code</option> | 139 <option value="26">Pachysolen tannophilus Nuclear Code</option> |
140 <option value="27">Karyorelict Nuclear Code</option> | |
141 <option value="28">Condylostoma Nuclear Code</option> | |
142 <option value="29">Mesodinium Nuclear Code</option> | |
143 <option value="30">Peritrich Nuclear Code</option> | |
144 <option value="31">Blastocrithidia Nuclear Code</option> | |
145 <option value="33">Cephalodiscidae Mitochondrial UAA-Tyr Code</option> | |
134 </param> | 146 </param> |
135 <param argument="--min-orf" type="integer" value="1" label="ignore translated sequences without an open reading frame of at least this length" help="By default this feature is disabled for sequences of length below 30, set to 20 for sequences of length below 100, and set to 40 otherwise. Setting this option to 1 will disable this feature" /> | 147 <param argument="--min-orf" type="integer" value="1" label="ignore translated sequences without an open reading frame of at least this length" help="By default this feature is disabled for sequences of length below 30, set to 20 for sequences of length below 100, and set to 40 otherwise. Setting this option to 1 will disable this feature"/> |
136 | |
137 <param name="query_strand" argument="--strand" type="select" label="query strands to search" help=""> | 148 <param name="query_strand" argument="--strand" type="select" label="query strands to search" help=""> |
138 <option value="both" selected="True">Both</option> | 149 <option value="both" selected="True">Both</option> |
139 <option value="plus">Plus</option> | 150 <option value="plus">Plus</option> |
140 <option value="minus">Minus</option> | 151 <option value="minus">Minus</option> |
141 </param> | 152 </param> |
144 <option value="yes">yes</option> | 155 <option value="yes">yes</option> |
145 <option value="no" selected="true">no</option> | 156 <option value="no" selected="true">no</option> |
146 </param> | 157 </param> |
147 <when value="yes"> | 158 <when value="yes"> |
148 <param argument="--range-culling" type="boolean" truevalue="--range-culling" falsevalue="" checked="false" label="restrict hit culling to overlapping query ranges" help="This feature is designed for long query DNA sequences that may span several genes. In these cases, the default of reporting the 25 best overall hits could cause hits to a lower scoring gene to be overshadowed. But just increasing the number of alignments reported will bloat the output size and reduce performance. Using this feature along with -k 25 (default), a hit will only be deleted if at least 50% of its query range is spanned by at least 25 higher or equal scoring hits. Using this feature along with --top 10, a hit will only be deleted if its score is more than 10% lower than that of a higher scoring hit over at least 50% of its query range. The percentage is configurable using --range-cover. Note that this feature is currently only available in frameshift alignment mode"/> | 159 <param argument="--range-culling" type="boolean" truevalue="--range-culling" falsevalue="" checked="false" label="restrict hit culling to overlapping query ranges" help="This feature is designed for long query DNA sequences that may span several genes. In these cases, the default of reporting the 25 best overall hits could cause hits to a lower scoring gene to be overshadowed. But just increasing the number of alignments reported will bloat the output size and reduce performance. Using this feature along with -k 25 (default), a hit will only be deleted if at least 50% of its query range is spanned by at least 25 higher or equal scoring hits. Using this feature along with --top 10, a hit will only be deleted if its score is more than 10% lower than that of a higher scoring hit over at least 50% of its query range. The percentage is configurable using --range-cover. Note that this feature is currently only available in frameshift alignment mode"/> |
149 <param argument="--frameshift" type="integer" value="0" label="frame shift penalty" help="Values around 15 are reasonable for this parameter. Enabling this feature will have the aligner tolerate missing bases in DNA sequences and is most recommended for long, error-prone sequences like MinION reads. In the pairwise output format, frameshifts will be indicated by \ and / for a shift by +1 and -1 nucleotide in the direction of translation respectively." /> | 160 <param argument="--frameshift" type="integer" value="0" label="frame shift penalty" help="Values around 15 are reasonable for this parameter. Enabling this feature will have the aligner tolerate missing bases in DNA sequences and is most recommended for long, error-prone sequences like MinION reads. In the pairwise output format, frameshifts will be indicated by \ and / for a shift by +1 and -1 nucleotide in the direction of translation respectively."/> |
150 </when> | 161 </when> |
151 <when value="no"/> | 162 <when value="no"/> |
152 </conditional> | 163 </conditional> |
153 | |
154 <param argument="--comp-based-stats" type="select" label="Composition based statistics" help="Compositionally biased sequences often cause false positive matches, which are effectively filtered by this algorithm in a way similar to the composition based statistics used by BLAST"> | 164 <param argument="--comp-based-stats" type="select" label="Composition based statistics" help="Compositionally biased sequences often cause false positive matches, which are effectively filtered by this algorithm in a way similar to the composition based statistics used by BLAST"> |
155 <option value="0">Disable</option> | 165 <option value="0">Disable</option> |
156 <option value="1" selected="True">Default mode (Hauser, 2016)</option> | 166 <option value="1" selected="True">Default mode (Hauser, 2016)</option> |
157 </param> | 167 </param> |
158 </when> | 168 </when> |
159 <when value="blastp"> | 169 <when value="blastp"> |
160 <param argument="--no-self-hits" type="boolean" truevalue="--no-self-hits" falsevalue="" checked="true" | 170 <param argument="--no-self-hits" type="boolean" truevalue="--no-self-hits" falsevalue="" checked="true" label="Suppress reporting of identical self-hits between sequences" help="The FASTA sequence identifiers as well as the sequences of query and target need to be identical for a hit to be deleted"/> |
161 label="Suppress reporting of identical self-hits between sequences" | |
162 help="The FASTA sequence identifiers as well as the sequences of query and target need to be identical for a hit to be deleted"/> | |
163 | |
164 <param argument="--comp-based-stats" type="select" label="Composition based statistics" help="Compositionally biased sequences often cause false positive matches, which are effectively filtered by this algorithm in a way similar to the composition based statistics used by BLAST"> | 171 <param argument="--comp-based-stats" type="select" label="Composition based statistics" help="Compositionally biased sequences often cause false positive matches, which are effectively filtered by this algorithm in a way similar to the composition based statistics used by BLAST"> |
165 <option value="0">Disable</option> | 172 <option value="0">Disable</option> |
166 <option value="1" selected="True">Default mode (Hauser, 2016)</option> | 173 <option value="1" selected="True">Default mode (Hauser, 2016)</option> |
167 <option value="2">Compositional matrix adjust conditioned on sequence properties, simplified (Yu, 2005)</option> | 174 <option value="2">Compositional matrix adjust conditioned on sequence properties, simplified (Yu, 2005)</option> |
168 <option value="3">Compositional matrix adjust conditioned on sequence properties (Yu, 2005)</option> | 175 <option value="3">Compositional matrix adjust conditioned on sequence properties (Yu, 2005)</option> |
169 <option value="4">Compositional matrix adjust unconditionally (Yu, 2005)</option> | 176 <option value="4">Compositional matrix adjust unconditionally (Yu, 2005)</option> |
170 </param> | 177 </param> |
171 </when> | 178 </when> |
172 </conditional> | 179 </conditional> |
173 <param argument="--query" type="data" format="fasta,fastq" label="Input query file in FASTA or FASTQ format" /> | 180 <param argument="--query" type="data" format="fasta,fastq" label="Input query file in FASTA or FASTQ format"/> |
174 <conditional name="ref_db_source"> | 181 <conditional name="ref_db_source"> |
175 <param name="db_source" type="select" label="Will you select a reference database from your history or use a built-in index?" help="Built-ins were indexed using default options"> | 182 <param name="db_source" type="select" label="Will you select a reference database from your history or use a built-in index?" help="Built-ins were indexed using default options"> |
176 <option value="indexed">Use a built-in index</option> | 183 <option value="indexed">Use a built-in index</option> |
177 <option value="history">Use one from the history</option> | 184 <option value="history">Use one from the history</option> |
178 </param> | 185 </param> |
183 <validator type="no_options" message="No indexes are available for the selected input dataset"/> | 190 <validator type="no_options" message="No indexes are available for the selected input dataset"/> |
184 </options> | 191 </options> |
185 </param> | 192 </param> |
186 </when> | 193 </when> |
187 <when value="history"> | 194 <when value="history"> |
188 <param name="reference_database" argument="--db" type="data" format="dmnd" label="Select the reference database" /> | 195 <param name="reference_database" argument="--db" type="data" format="dmnd" label="Select the reference database"/> |
189 </when> | 196 </when> |
190 </conditional> | 197 </conditional> |
191 <conditional name="tax_cond"> | 198 <conditional name="tax_cond"> |
192 <param name="tax_select" type="select" label="Restrict search taxonomically?" help="Any taxonomic rank can be used, and only reference sequences matching one of the specified taxon ids will be searched against."> | 199 <param name="tax_select" type="select" label="Restrict search taxonomically?" help="Any taxonomic rank can be used, and only reference sequences matching one of the specified taxon ids will be searched against."> |
193 <option value="no" selected="True">No</option> | 200 <option value="no" selected="True">No</option> |
194 <option value="list">List of taxids entered manually</option> | 201 <option value="list">List of taxids entered manually</option> |
195 <option value="file">List of taxids from single column tabular file</option> | 202 <option value="file">List of taxids from single column tabular file</option> |
196 </param> | 203 </param> |
197 <when value="no"/> | 204 <when value="no"/> |
198 <when value="list"> | 205 <when value="list"> |
199 <param name="taxonlist" argument="--taxonlist" type="text" value="" label="Comma separated list of taxon ids" help=""> | 206 <param argument="--taxonlist" type="text" value="" label="Comma separated list of taxon ids" help=""> |
200 <validator type="regex" message="Taxonlist needs to be a comma separated list of integers">[0-9,]*</validator> | 207 <validator type="regex" message="Taxonlist needs to be a comma separated list of integers">[0-9,]*</validator> |
201 </param> | 208 </param> |
202 </when> | 209 </when> |
203 <when value="file"> | 210 <when value="file"> |
204 <param name="taxonlistfile" argument="--taxonlist" type="data" format="tabular" label="Keep alignments within the given percentage range of the top alignment score for a quer" help="" /> | 211 <param name="taxonlistfile" argument="--taxonlist" type="data" format="tabular" label="Keep alignments within the given percentage range of the top alignment score for a quer" help=""/> |
205 </when> | 212 </when> |
206 </conditional> | 213 </conditional> |
207 <conditional name="sens_cond"> | 214 <conditional name="sens_cond"> |
208 <param name='sensitivity' type="select" label="Sensitivity Mode" help="Choose one of the sensitivity modes. The default mode is mainly designed for short read alignment, i.e. finding significant matches of >50 bits on 30-40aa fragments. The sensitive mode is a lot more sensitive than the default and generally recommended for aligning longer sequences. The more sensitive mode provides even more sensitivity. More sensitivity may increase computation time."> | 215 <param name="sensitivity" type="select" label="Sensitivity Mode" help="Choose one of the sensitivity modes. The default mode is mainly designed for short read alignment, i.e. finding significant matches of >50 bits on 30-40aa fragments. The sensitive mode is a lot more sensitive than the default and generally recommended for aligning longer sequences. The more sensitive mode provides even more sensitivity. More sensitivity may increase computation time."> |
216 <option value="--faster">Faster (--faster)</option> | |
209 <option value="--fast">Fast (--fast)</option> | 217 <option value="--fast">Fast (--fast)</option> |
210 <option value="" selected="True">Default</option> | 218 <option value="" selected="True">Default</option> |
211 <option value="--mid-sensitive">Mid Sensitive (--mid-sensitive)</option> | 219 <option value="--mid-sensitive">Mid Sensitive (--mid-sensitive)</option> |
212 <option value="--sensitive">Sensitive (--sensitive)</option> | 220 <option value="--sensitive">Sensitive (--sensitive)</option> |
213 <option value="--more-sensitive">More Sensitive (--more-sensitive)</option> | 221 <option value="--more-sensitive">More Sensitive (--more-sensitive)</option> |
214 <option value="--very-sensitive">Very Sensitive (--very-sensitive)</option> | 222 <option value="--very-sensitive">Very Sensitive (--very-sensitive)</option> |
215 <option value="--ultra-sensitive">Ultra Sensitive (--ultra-sensitive)</option> | 223 <option value="--ultra-sensitive">Ultra Sensitive (--ultra-sensitive)</option> |
216 </param> | 224 </param> |
225 <when value="--faster"> | |
226 <expand macro="block_size_low_sens"/> | |
227 </when> | |
217 <when value="--fast"> | 228 <when value="--fast"> |
218 <expand macro="block_size_low_sens"/> | 229 <expand macro="block_size_low_sens"/> |
219 </when> | 230 </when> |
220 <when value=""> | 231 <when value=""> |
221 <expand macro="block_size_low_sens"/> | 232 <expand macro="block_size_low_sens"/> |
244 <option value="BLOSUM90">BLOSUM90 ((6-9)/2; (9-11)/1) [10/1]</option> | 255 <option value="BLOSUM90">BLOSUM90 ((6-9)/2; (9-11)/1) [10/1]</option> |
245 <option value="PAM250">PAM250 ((11-15)/3; (13-17)/2; (17-21)/1) [14/2]</option> | 256 <option value="PAM250">PAM250 ((11-15)/3; (13-17)/2; (17-21)/1) [14/2]</option> |
246 <option value="PAM70">PAM70 ((6-8)/2; (9-11)/1) [10/1]</option> | 257 <option value="PAM70">PAM70 ((6-8)/2; (9-11)/1) [10/1]</option> |
247 <option value="PAM30">PAM30 ((5-7)/2; (8-10)/1) [9/1]</option> | 258 <option value="PAM30">PAM30 ((5-7)/2; (8-10)/1) [9/1]</option> |
248 </param> | 259 </param> |
249 <param argument="--gapopen" type="integer" optional="True" value="" label="Gap open penalty" help="Leave empty for default (see scoring matrix)" /> | 260 <param argument="--gapopen" type="integer" optional="True" value="" label="Gap open penalty" help="Leave empty for default (see scoring matrix)"/> |
250 <param argument="--gapextend" type="integer" optional="True" value="" label="Gap extension penalty" help="Leave empty for default (see scoring matrix)" /> | 261 <param argument="--gapextend" type="integer" optional="True" value="" label="Gap extension penalty" help="Leave empty for default (see scoring matrix)"/> |
251 <param argument="--masking" type="select" label="Masking algorithm" help="DIAMOND by default applies the tantan repeat masking algorithm to the query and target sequences as described in (Frith, 2011). | 262 <param argument="--masking" type="select" label="Masking algorithm" help="DIAMOND by default applies the tantan repeat masking algorithm to the query and target sequences as described in (Frith, 2011). This masking procedure increases the specificity of alignments and serves to filter out spurious hits. Note that when using --comp-based-stats (2,3,4), tantan masking is disabled by default."> |
252 This masking procedure increases the specificity of alignments and serves to filter out spurious hits. Note that when using --comp-based-stats (2,3,4), tantan masking is disabled by default."> | |
253 <option value="0">Disabled</option> | 263 <option value="0">Disabled</option> |
254 <option value="1" selected="true">Tantan</option> | 264 <option value="1" selected="true">Tantan</option> |
255 <option value="seg">SEG</option> | 265 <option value="seg">SEG</option> |
256 </param> | 266 </param> |
257 <conditional name="filter_score"> | 267 <conditional name="filter_score"> |
258 <param name="filter_score_select" type="select" label="Method to filter?" help="(--evalue/--min-score)"> | 268 <param name="filter_score_select" type="select" label="Method to filter?" help="(--evalue/--min-score)"> |
259 <option value="evalue" selected="True">Maximum e-value to report alignments</option> | 269 <option value="evalue" selected="True">Maximum e-value to report alignments</option> |
260 <option value="min-score">Minimum bit score to report alignments</option> | 270 <option value="min-score">Minimum bit score to report alignments</option> |
261 </param> | 271 </param> |
262 <when value="evalue"> | 272 <when value="evalue"> |
263 <param argument="--evalue" type="float" value="0.001" label="Maximum expected value to keep an alignment" /> | 273 <param argument="--evalue" type="float" value="0.001" label="Maximum expected value to keep an alignment"/> |
264 </when> | 274 </when> |
265 <when value="min-score"> | 275 <when value="min-score"> |
266 <param name="min_score" argument="--min-score" type="integer" value="0" label="Minimum bit score to keep an alignment" help="(--min-score)" /> | 276 <param argument="--min-score" type="integer" value="0" label="Minimum bit score to keep an alignment" help="(--min-score)"/> |
267 </when> | 277 </when> |
268 </conditional> | 278 </conditional> |
269 <param argument="--iterate" type="boolean" truevalue="--iterate" falsevalue="" checked="false" | 279 <param argument="--swipe" type="boolean" truevalue="--swipe" falsevalue="" checked="false" label="Run Exhaustive alignment against all database sequences" help="Smith Waterman alignments of all queries will be computed against all targets."/> |
270 label="Run multiple rounds of searches with increasing sensitivity" help="he query dataset will first be searched at a lower sensitivity setting, only searching those query sequences at | 280 <param argument="--iterate" type="boolean" truevalue="--iterate" falsevalue="" checked="false" label="Run multiple rounds of searches with increasing sensitivity" help="The query dataset will first be searched at a lower sensitivity setting, only searching those query sequences at the target sensitivity that fail to produce a significant alignment at a lower sensitivity."/> |
271 the target sensitivity that fail to produce a significant alignment at a lower sensitivity." /> | 281 <param argument="--algo" type="select" label="Algorithm for seed search" help="Double-indexed is the main algorithm of the program, designed for large input files but less efficient for small query files. Query-indexed and improves performance for small query files. This mode will be automatically triggered based on the input. Contiguous-seed mode and further improves performance for small query files. The modes differ slightly in their sensitivity, so results are not guaranteed to be 100% identical for different settings of this option."> |
272 <param argument="--algo" type="select" label="Algorithm for seed search" help="Double-indexed is the main algorithm of the program, designed for large input files but less efficient for small | |
273 query files. Query-indexed and improves performance for small query files. This mode will be automatically triggered based on the input. Contiguous-seed mode and further improves performance | |
274 for small query files. The modes differ slightly in their sensitivity, so results are not guaranteed to be 100% identical for different settings of this option."> | |
275 <option value="0">Doble-indexed (0)</option> | 282 <option value="0">Doble-indexed (0)</option> |
276 <option value="1">Query-indexed (1)</option> | 283 <option value="1">Query-indexed (1)</option> |
277 <option value="ctg">Contiguous-seed mode (ctg)</option> | 284 <option value="ctg">Contiguous-seed mode (ctg)</option> |
278 </param> | 285 </param> |
279 <expand macro="hit_filter_macro" /> | 286 <expand macro="hit_filter_macro"/> |
280 <param argument="--global-ranking" type="integer" min="0" value="" optional="true" | 287 <param argument="--global-ranking" type="integer" min="0" value="" optional="true" label="Limit on the number of Smith Waterman extensions" help="Target sequences will be ranked according to their ungapped extension scores at seed hits, and gapped extensions will only be computed for the best N targets for each query. Note that this option increases memory use."/> |
281 label="Limit on the number of Smith Waterman extensions" help="Target sequences will be ranked according to their ungapped extension scores at seed hits, and gapped extensions will only | 288 <param argument="--id" type="integer" value="0" label="Minimum identity percentage to report an alignment" help="Report only alignments above the given percentage of sequence identity"/> |
282 be computed for the best N targets for each query. Note that this option increases memory use." /> | 289 <param argument="--query-cover" type="integer" value="0" label="Minimum query cover percentage to report an alignment" help="Report only alignments above the given percentage of query cover"/> |
283 <param argument="--id" type="integer" value="0" label="Minimum identity percentage to report an alignment" help="Report only alignments above the given percentage of sequence identity" /> | |
284 <param argument="--query-cover" type="integer" value="0" label="Minimum query cover percentage to report an alignment" help="Report only alignments above the given percentage of query cover" /> | |
285 <param argument="--subject-cover" type="integer" value="0" label="Minimum subject cover percentage to report an alignment" help="Report only alignments above the given percentage of subject cover"/> | 290 <param argument="--subject-cover" type="integer" value="0" label="Minimum subject cover percentage to report an alignment" help="Report only alignments above the given percentage of subject cover"/> |
286 <section name="output_section" title="Output options"> | 291 <section name="output_section" title="Output options"> |
287 <param argument="--max-hsps" type="integer" min="0" optional="true" label="Maximum number of HSPs" | 292 <param argument="--max-hsps" type="integer" min="0" optional="true" label="Maximum number of HSPs" help="The maximum number of HSPs (High-Scoring Segment Pairs) per target sequence to report for each query. The default policy is to report only the highest-scoring HSP for each target, while disregarding alternative, lower-scoring HSPs that are contained in the same target."/> |
288 help="The maximum number of HSPs (High-Scoring Segment Pairs) per target sequence to report for each query. The default policy is to report only the highest-scoring | |
289 HSP for each target, while disregarding alternative, lower-scoring HSPs that are contained in the same target." /> | |
290 <expand macro="output_type_macro"> | 293 <expand macro="output_type_macro"> |
291 <!-- Taxonomy features are not supported for the DAA format (i.e. | 294 <!-- Taxonomy features are not supported for the DAA format (i.e. |
292 can't be used in diamond view) --> | 295 can't be used in diamond view) --> |
293 <option value="staxids">unique Subject Taxonomy ID(s), separated by a ';' (in numerical order)</option> | 296 <option value="staxids">unique Subject Taxonomy ID(s), separated by a ';' (in numerical order)</option> |
294 <option value="sskingdoms">Subject super kingdoms</option> | 297 <option value="sskingdoms">Subject super kingdoms</option> |
295 <option value="skingdoms">Subject kingdoms</option> | 298 <option value="skingdoms">Subject kingdoms</option> |
296 <option value="sphylums">Subject phylums</option> | 299 <option value="sphylums">Subject phylums</option> |
297 </expand> | 300 </expand> |
298 <param name="output_unal" type="select" optional="true" multiple="true" label="Output aligned/unaligned queries to separate file" help=""> | 301 <param name="output_unal" type="select" optional="true" multiple="true" label="Output aligned/unaligned queries to separate file" help=""> |
299 <option value="--un">Output unaligned queries (--un)</option> | 302 <option value="--un">Output unaligned queries (--un)</option> |
300 <option value="--al">Output alaligned queries (--al)</option> | 303 <option value="--al">Output aligned queries (--al)</option> |
301 </param> | 304 </param> |
305 <param argument="--log" type="boolean" truevalue="--log" falsevalue="" label="Output log file"/> | |
302 </section> | 306 </section> |
307 | |
303 <section name="advanced_section" title="Advanced options" expanded="false"> | 308 <section name="advanced_section" title="Advanced options" expanded="false"> |
304 <param argument="--seed-cut" type="float" min="0" optional="true" label="Set a complexity cutoff for indexed seeds"/> | 309 <param argument="--seed-cut" type="float" min="0" optional="true" label="Set a complexity cutoff for indexed seeds"/> |
305 <param argument="--freq-masking" type="boolean" truevalue="--freq-masking" falsevalue="" checked="false" label="Enable masking seeds based on frequency" help="This option is incompatible with --sed-cut" /> | 310 <param argument="--freq-masking" type="boolean" truevalue="--freq-masking" falsevalue="" checked="false" label="Enable masking seeds based on frequency" help="This option is incompatible with --sed-cut"/> |
311 <param argument="--soft-masking" type="select" label="Soft Masking" help="Select type of soft masking"> | |
312 <option value="0" selected="True">Disbled</option> | |
313 <option value="seg">seg</option> | |
314 <option value="tantan">tantan</option> | |
315 </param> | |
306 <param argument="--motif-masking" type="select" label="Softmask abundant motifs" help="Enable or disable motif masking"> | 316 <param argument="--motif-masking" type="select" label="Softmask abundant motifs" help="Enable or disable motif masking"> |
307 <option value="0">Disabled</option> | 317 <option value="0">Disabled</option> |
308 <option value="1">Enabled</option> | 318 <option value="1">Enabled</option> |
309 </param> | 319 </param> |
310 </section> | 320 </section> |
311 </inputs> | 321 </inputs> |
312 <outputs> | 322 <outputs> |
313 <expand macro="output_macro" /> | 323 <expand macro="output_macro"/> |
314 <data format_source="query" name="unalqueries" label="${tool.name} on ${on_string}: unaligned queries"> | 324 <data format_source="query" name="unalqueries" label="${tool.name} on ${on_string}: unaligned queries"> |
315 <filter>output_section['output_unal'] and "--un" in output_section['output_unal']</filter> | 325 <filter>output_section['output_unal'] and "--un" in output_section['output_unal']</filter> |
316 </data> | 326 </data> |
317 <data format_source="query" name="alqueries" label="${tool.name} on ${on_string}: aligned queries"> | 327 <data format_source="query" name="alqueries" label="${tool.name} on ${on_string}: aligned queries"> |
318 <filter>output_section['output_unal'] and "--un" in output_section['output_unal']</filter> | 328 <filter>output_section['output_unal'] and "--al" in output_section['output_unal']</filter> |
329 </data> | |
330 <data name="log_file" format="txt" label="Diamond log file" from_work_dir="diamond.log"> | |
331 <filter>output_section['log']</filter> | |
319 </data> | 332 </data> |
320 </outputs> | 333 </outputs> |
321 <tests> | 334 <tests> |
322 <!--Test 01--> | 335 <!--Test 01--> |
323 <test expect_num_outputs="3"> | 336 <test expect_num_outputs="3"> |
324 <conditional name="method_cond"> | 337 <conditional name="method_cond"> |
325 <param name="method_select" value="blastp" /> | 338 <param name="method_select" value="blastp"/> |
326 </conditional> | 339 </conditional> |
327 <param name="query" value="protein.fasta" ftype="fasta"/> | 340 <param name="query" value="protein.fasta" ftype="fasta"/> |
328 <conditional name="ref_db_source"> | 341 <conditional name="ref_db_source"> |
329 <param name="db_source" value="history"/> | 342 <param name="db_source" value="history"/> |
330 <param name="reference_database" value="db-wtax.dmnd"/> | 343 <param name="reference_database" value="db-wtax.dmnd"/> |
331 </conditional> | 344 </conditional> |
332 <section name="output_section"> | 345 <section name="output_section"> |
333 <conditional name="output"> | 346 <conditional name="output"> |
334 <param name="outfmt" value="6"/> | 347 <param name="outfmt" value="6"/> |
335 <!-- removed ,cigar from test: https://github.com/bbuchfink/diamond/issues/532 --> | 348 <param name="fields" value="qseqid,sseqid,pident,length,mismatch,gapopen,qstart,qend,sstart,send,evalue,bitscore,scovhsp,sskingdoms,skingdoms,sphylums,cigar"/> |
336 <param name="fields" value="qseqid,sseqid,pident,length,mismatch,gapopen,qstart,qend,sstart,send,evalue,bitscore,scovhsp,sskingdoms,skingdoms,sphylums"/> | |
337 <param name="unal" value="true"/> | 349 <param name="unal" value="true"/> |
338 </conditional> | 350 </conditional> |
339 </section> | 351 </section> |
340 <conditional name="sens_cond"> | 352 <conditional name="sens_cond"> |
341 <param name="sensitivity" value=""/> | 353 <param name="sensitivity" value=""/> |
343 <param name="matrix" value="BLOSUM62"/> | 355 <param name="matrix" value="BLOSUM62"/> |
344 <param name="comp_based_stats" value="1"/> | 356 <param name="comp_based_stats" value="1"/> |
345 <param name="masking" value="1"/> | 357 <param name="masking" value="1"/> |
346 <conditional name="hit_filter"> | 358 <conditional name="hit_filter"> |
347 <param name="hit_filter_select" value="max"/> | 359 <param name="hit_filter_select" value="max"/> |
348 <param name="max_target_seqs" value="25" /> | 360 <param name="max_target_seqs" value="25"/> |
349 </conditional> | 361 </conditional> |
350 <conditional name="filter_score"> | 362 <conditional name="filter_score"> |
351 <param name="filter_score_select" value="evalue"/> | 363 <param name="filter_score_select" value="evalue"/> |
352 <param name="evalue" value="0.001" /> | 364 <param name="evalue" value="0.001"/> |
353 </conditional> | 365 </conditional> |
354 <param name="id" value="0"/> | 366 <param name="id" value="0"/> |
355 <param name="query_cover" value="0"/> | 367 <param name="query_cover" value="0"/> |
356 <conditional name="sens_cond"> | 368 <conditional name="sens_cond"> |
357 <param name="block_size" value="2"/> | 369 <param name="block_size" value="2"/> |
358 </conditional> | 370 </conditional> |
359 <param name="output_unal" value="--al,--un"/> | 371 <param name="output_unal" value="--al,--un"/> |
360 <output name="unalqueries"> | 372 <output name="unalqueries"> |
361 <assert_contents> | 373 <assert_contents> |
362 <has_line line=">shuffled sequence that should go to unaligned"/> | 374 <has_line line=">shuffled sequence that should go to unaligned"/> |
363 </assert_contents> | 375 </assert_contents> |
364 </output> | 376 </output> |
365 <output name="alqueries"> | 377 <output name="alqueries"> |
366 <assert_contents> | 378 <assert_contents> |
367 <has_line line=">sequence more text"/> | 379 <has_line line=">sequence more text"/> |
368 </assert_contents> | 380 </assert_contents> |
369 </output> | 381 </output> |
370 <output name="blast_tabular" file="diamond_results.tabular"/> | 382 <output name="blast_tabular" file="diamond_results.tabular"/> |
371 </test> | 383 </test> |
372 <!--Test 02--> | 384 <!--Test 02--> |
373 <test expect_num_outputs="1"> | 385 <test expect_num_outputs="1"> |
374 <conditional name="method_cond"> | 386 <conditional name="method_cond"> |
375 <param name="method_select" value="blastp" /> | 387 <param name="method_select" value="blastp"/> |
376 </conditional> | 388 </conditional> |
377 <param name="query" value="protein.fasta" ftype="fasta"/> | 389 <param name="query" value="protein.fasta" ftype="fasta"/> |
378 <conditional name="ref_db_source"> | 390 <conditional name="ref_db_source"> |
379 <param name="db_source" value="history"/> | 391 <param name="db_source" value="history"/> |
380 <param name="reference_database" value="db-wtax.dmnd"/> | 392 <param name="reference_database" value="db-wtax.dmnd"/> |
381 </conditional> | 393 </conditional> |
382 <conditional name="tax_cond"> | 394 <conditional name="tax_cond"> |
383 <param name="tax_select" value="list"/> | 395 <param name="tax_select" value="list"/> |
384 <param name="taxonlist" value="2" /> | 396 <param name="taxonlist" value="2"/> |
385 </conditional> | 397 </conditional> |
386 <section name="output_section"> | 398 <section name="output_section"> |
387 <conditional name="output"> | 399 <conditional name="output"> |
388 <param name="outfmt" value="6"/> | 400 <param name="outfmt" value="6"/> |
389 <param name="fields" value="qseqid,sseqid,pident,length,mismatch,gapopen,qstart,qend,sstart,send,evalue,bitscore"/> | 401 <param name="fields" value="qseqid,sseqid,pident,length,mismatch,gapopen,qstart,qend,sstart,send,evalue,bitscore"/> |
395 <param name="matrix" value="BLOSUM62"/> | 407 <param name="matrix" value="BLOSUM62"/> |
396 <param name="comp_based_stats" value="1"/> | 408 <param name="comp_based_stats" value="1"/> |
397 <param name="masking" value="1"/> | 409 <param name="masking" value="1"/> |
398 <conditional name="hit_filter"> | 410 <conditional name="hit_filter"> |
399 <param name="hit_filter_select" value="max"/> | 411 <param name="hit_filter_select" value="max"/> |
400 <param name="max_target_seqs" value="25" /> | 412 <param name="max_target_seqs" value="25"/> |
401 </conditional> | 413 </conditional> |
402 <conditional name="filter_score"> | 414 <conditional name="filter_score"> |
403 <param name="filter_score_select" value="evalue"/> | 415 <param name="filter_score_select" value="evalue"/> |
404 <param name="evalue" value="0.001" /> | 416 <param name="evalue" value="0.001"/> |
405 </conditional> | 417 </conditional> |
406 <param name="id" value="0"/> | 418 <param name="id" value="0"/> |
407 <param name="query_cover" value="0"/> | 419 <param name="query_cover" value="0"/> |
408 <conditional name="sens_cond"> | 420 <conditional name="sens_cond"> |
409 <param name="block_size" value="2"/> | 421 <param name="block_size" value="2"/> |
411 <output name="blast_tabular" file="diamond_results.wtax.tabular"/> | 423 <output name="blast_tabular" file="diamond_results.wtax.tabular"/> |
412 </test> | 424 </test> |
413 <!--Test 03--> | 425 <!--Test 03--> |
414 <test expect_num_outputs="1"> | 426 <test expect_num_outputs="1"> |
415 <conditional name="method_cond"> | 427 <conditional name="method_cond"> |
416 <param name="method_select" value="blastx" /> | 428 <param name="method_select" value="blastx"/> |
417 <conditional name="frameshift_cond"> | 429 <conditional name="frameshift_cond"> |
418 <param name="frameshift_select" value="yes"/> | 430 <param name="frameshift_select" value="yes"/> |
419 </conditional> | 431 </conditional> |
420 </conditional> | 432 </conditional> |
421 <param name="query" value="nucleotide.fasta" ftype="fasta"/> | 433 <param name="query" value="nucleotide.fasta" ftype="fasta"/> |
434 <param name="matrix" value="BLOSUM62"/> | 446 <param name="matrix" value="BLOSUM62"/> |
435 <param name="comp_based_stats" value="1"/> | 447 <param name="comp_based_stats" value="1"/> |
436 <param name="masking" value="1"/> | 448 <param name="masking" value="1"/> |
437 <conditional name="hit_filter"> | 449 <conditional name="hit_filter"> |
438 <param name="hit_filter_select" value="top"/> | 450 <param name="hit_filter_select" value="top"/> |
439 <param name="top" value="10" /> | 451 <param name="top" value="10"/> |
440 </conditional> | 452 </conditional> |
441 <conditional name="filter_score"> | 453 <conditional name="filter_score"> |
442 <param name="filter_score_select" value="min-score"/> | 454 <param name="filter_score_select" value="min-score"/> |
443 <param name="min_score" value="1" /> | 455 <param name="min_score" value="1"/> |
444 </conditional> | 456 </conditional> |
445 <param name="id" value="0"/> | 457 <param name="id" value="0"/> |
446 <param name="query_cover" value="0"/> | 458 <param name="query_cover" value="0"/> |
447 <conditional name="sens_cond"> | 459 <conditional name="sens_cond"> |
448 <param name="block_size" value="2"/> | 460 <param name="block_size" value="2"/> |
450 <output name="blast_tabular" file="diamond_results.pairwise"/> | 462 <output name="blast_tabular" file="diamond_results.pairwise"/> |
451 </test> | 463 </test> |
452 <!--Test 04--> | 464 <!--Test 04--> |
453 <test expect_num_outputs="1"> | 465 <test expect_num_outputs="1"> |
454 <conditional name="method_cond"> | 466 <conditional name="method_cond"> |
455 <param name="method_select" value="blastp" /> | 467 <param name="method_select" value="blastp"/> |
456 </conditional> | 468 </conditional> |
457 <param name="query" value="protein.fasta" ftype="fasta"/> | 469 <param name="query" value="protein.fasta" ftype="fasta"/> |
458 <conditional name="ref_db_source"> | 470 <conditional name="ref_db_source"> |
459 <param name="db_source" value="history"/> | 471 <param name="db_source" value="history"/> |
460 <param name="reference_database" value="db-wtax.dmnd"/> | 472 <param name="reference_database" value="db-wtax.dmnd"/> |
469 <output name="daa_output" file="diamond_results.daa" compare="sim_size" delta="10"/> | 481 <output name="daa_output" file="diamond_results.daa" compare="sim_size" delta="10"/> |
470 </test> | 482 </test> |
471 <!--Test 05--> | 483 <!--Test 05--> |
472 <test expect_num_outputs="1"> | 484 <test expect_num_outputs="1"> |
473 <conditional name="method_cond"> | 485 <conditional name="method_cond"> |
474 <param name="method_select" value="blastx" /> | 486 <param name="method_select" value="blastx"/> |
475 <conditional name="frameshift_cond"> | 487 <conditional name="frameshift_cond"> |
476 <param name="frameshift_select" value="yes"/> | 488 <param name="frameshift_select" value="yes"/> |
477 </conditional> | 489 </conditional> |
478 </conditional> | 490 </conditional> |
479 <param name="query" value="nucleotide.fasta" ftype="fasta"/> | 491 <param name="query" value="nucleotide.fasta" ftype="fasta"/> |
492 <param name="matrix" value="BLOSUM62"/> | 504 <param name="matrix" value="BLOSUM62"/> |
493 <param name="comp_based_stats" value="1"/> | 505 <param name="comp_based_stats" value="1"/> |
494 <param name="masking" value="1"/> | 506 <param name="masking" value="1"/> |
495 <conditional name="hit_filter"> | 507 <conditional name="hit_filter"> |
496 <param name="hit_filter_select" value="top"/> | 508 <param name="hit_filter_select" value="top"/> |
497 <param name="top" value="10" /> | 509 <param name="top" value="10"/> |
498 </conditional> | 510 </conditional> |
499 <conditional name="filter_score"> | 511 <conditional name="filter_score"> |
500 <param name="filter_score_select" value="min-score"/> | 512 <param name="filter_score_select" value="min-score"/> |
501 <param name="min_score" value="1" /> | 513 <param name="min_score" value="1"/> |
502 </conditional> | 514 </conditional> |
503 <param name="id" value="0"/> | 515 <param name="id" value="0"/> |
504 <param name="query_cover" value="0"/> | 516 <param name="query_cover" value="0"/> |
505 <conditional name="sens_cond"> | 517 <conditional name="sens_cond"> |
506 <param name="block_size" value="2"/> | 518 <param name="block_size" value="2"/> |
508 <output name="blast_tabular" file="diamond_results.pairwise"/> | 520 <output name="blast_tabular" file="diamond_results.pairwise"/> |
509 </test> | 521 </test> |
510 <!-- Test 06 iterate option--> | 522 <!-- Test 06 iterate option--> |
511 <test expect_num_outputs="1"> | 523 <test expect_num_outputs="1"> |
512 <conditional name="method_cond"> | 524 <conditional name="method_cond"> |
513 <param name="method_select" value="blastx" /> | 525 <param name="method_select" value="blastx"/> |
514 </conditional> | 526 </conditional> |
515 <param name="query" value="nucleotide.fasta" ftype="fasta"/> | 527 <param name="query" value="nucleotide.fasta" ftype="fasta"/> |
516 <conditional name="ref_db_source"> | 528 <conditional name="ref_db_source"> |
517 <param name="db_source" value="indexed"/> | 529 <param name="db_source" value="indexed"/> |
518 <param name="index" value="testDb"/> | 530 <param name="index" value="testDb"/> |
524 <param name="fields" value="qseqid,sseqid,pident,length,mismatch,gapopen,qstart,qend,sstart,send,evalue,bitscore"/> | 536 <param name="fields" value="qseqid,sseqid,pident,length,mismatch,gapopen,qstart,qend,sstart,send,evalue,bitscore"/> |
525 </conditional> | 537 </conditional> |
526 </section> | 538 </section> |
527 <output name="blast_tabular" file="diamond_results_iterate.tabular"/> | 539 <output name="blast_tabular" file="diamond_results_iterate.tabular"/> |
528 </test> | 540 </test> |
529 <!--Test 07 algo option--> | 541 <!-- Test 07 swipe option--> |
530 <test expect_num_outputs="1"> | 542 <test expect_num_outputs="1"> |
531 <conditional name="method_cond"> | 543 <conditional name="method_cond"> |
532 <param name="method_select" value="blastx" /> | 544 <param name="method_select" value="blastx"/> |
545 </conditional> | |
546 <param name="query" value="nucleotide.fasta" ftype="fasta"/> | |
547 <conditional name="ref_db_source"> | |
548 <param name="db_source" value="indexed"/> | |
549 <param name="index" value="testDb"/> | |
550 </conditional> | |
551 <param name="swipe" value="true"/> | |
552 <section name="output_section"> | |
553 <conditional name="output"> | |
554 <param name="outfmt" value="6"/> | |
555 <param name="fields" value="qseqid,sseqid,pident,length,mismatch,gapopen,qstart,qend,sstart,send,evalue,bitscore"/> | |
556 </conditional> | |
557 </section> | |
558 <output name="blast_tabular" file="diamond_results_swipe.tabular"/> | |
559 </test> | |
560 <!--Test 08 algo option--> | |
561 <test expect_num_outputs="1"> | |
562 <conditional name="method_cond"> | |
563 <param name="method_select" value="blastx"/> | |
533 </conditional> | 564 </conditional> |
534 <param name="query" value="nucleotide.fasta" ftype="fasta"/> | 565 <param name="query" value="nucleotide.fasta" ftype="fasta"/> |
535 <conditional name="ref_db_source"> | 566 <conditional name="ref_db_source"> |
536 <param name="db_source" value="indexed"/> | 567 <param name="db_source" value="indexed"/> |
537 <param name="index" value="testDb"/> | 568 <param name="index" value="testDb"/> |
543 <param name="fields" value="qseqid,sseqid,pident,length,mismatch,gapopen,qstart,qend,sstart,send,evalue,bitscore"/> | 574 <param name="fields" value="qseqid,sseqid,pident,length,mismatch,gapopen,qstart,qend,sstart,send,evalue,bitscore"/> |
544 </conditional> | 575 </conditional> |
545 </section> | 576 </section> |
546 <output name="blast_tabular" file="diamond_results_algorithm.tabular"/> | 577 <output name="blast_tabular" file="diamond_results_algorithm.tabular"/> |
547 </test> | 578 </test> |
548 <!--Test 08 global-ranking option--> | 579 <!-- Test 09 global-ranking option --> |
549 <test expect_num_outputs="1"> | 580 <test expect_num_outputs="1"> |
550 <conditional name="method_cond"> | 581 <conditional name="method_cond"> |
551 <param name="method_select" value="blastx" /> | 582 <param name="method_select" value="blastx"/> |
552 </conditional> | 583 </conditional> |
553 <param name="query" value="nucleotide.fasta" ftype="fasta"/> | 584 <param name="query" value="nucleotide.fasta" ftype="fasta"/> |
554 <conditional name="ref_db_source"> | 585 <conditional name="ref_db_source"> |
555 <param name="db_source" value="indexed"/> | 586 <param name="db_source" value="indexed"/> |
556 <param name="index" value="testDb"/> | 587 <param name="index" value="testDb"/> |
562 <param name="fields" value="qseqid,sseqid,pident,length,mismatch,gapopen,qstart,qend,sstart,send,evalue,bitscore"/> | 593 <param name="fields" value="qseqid,sseqid,pident,length,mismatch,gapopen,qstart,qend,sstart,send,evalue,bitscore"/> |
563 </conditional> | 594 </conditional> |
564 </section> | 595 </section> |
565 <output name="blast_tabular" file="diamond_results_global_ranking.tabular"/> | 596 <output name="blast_tabular" file="diamond_results_global_ranking.tabular"/> |
566 </test> | 597 </test> |
567 <!--Test 09 max-hsps option--> | 598 <!--Test 10 max-hsps option--> |
568 <test expect_num_outputs="1"> | 599 <test expect_num_outputs="1"> |
569 <conditional name="method_cond"> | 600 <conditional name="method_cond"> |
570 <param name="method_select" value="blastx" /> | 601 <param name="method_select" value="blastx"/> |
571 </conditional> | 602 </conditional> |
572 <param name="query" value="nucleotide.fasta" ftype="fasta"/> | 603 <param name="query" value="nucleotide.fasta" ftype="fasta"/> |
573 <conditional name="ref_db_source"> | 604 <conditional name="ref_db_source"> |
574 <param name="db_source" value="indexed"/> | 605 <param name="db_source" value="indexed"/> |
575 <param name="index" value="testDb"/> | 606 <param name="index" value="testDb"/> |
581 <param name="fields" value="qseqid,sseqid,pident,length,mismatch,gapopen,qstart,qend,sstart,send,evalue,bitscore"/> | 612 <param name="fields" value="qseqid,sseqid,pident,length,mismatch,gapopen,qstart,qend,sstart,send,evalue,bitscore"/> |
582 </conditional> | 613 </conditional> |
583 </section> | 614 </section> |
584 <output name="blast_tabular" file="diamond_results_max_hsps.tabular"/> | 615 <output name="blast_tabular" file="diamond_results_max_hsps.tabular"/> |
585 </test> | 616 </test> |
586 <!--Test 10 seed-cut option--> | 617 <!--Test 11 seed-cut option--> |
587 <test expect_num_outputs="1"> | 618 <test expect_num_outputs="1"> |
588 <conditional name="method_cond"> | 619 <conditional name="method_cond"> |
589 <param name="method_select" value="blastx" /> | 620 <param name="method_select" value="blastx"/> |
590 </conditional> | 621 </conditional> |
591 <param name="query" value="nucleotide.fasta" ftype="fasta"/> | 622 <param name="query" value="nucleotide.fasta" ftype="fasta"/> |
592 <conditional name="ref_db_source"> | 623 <conditional name="ref_db_source"> |
593 <param name="db_source" value="indexed"/> | 624 <param name="db_source" value="indexed"/> |
594 <param name="index" value="testDb"/> | 625 <param name="index" value="testDb"/> |
600 <param name="fields" value="qseqid,sseqid,pident,length,mismatch,gapopen,qstart,qend,sstart,send,evalue,bitscore"/> | 631 <param name="fields" value="qseqid,sseqid,pident,length,mismatch,gapopen,qstart,qend,sstart,send,evalue,bitscore"/> |
601 </conditional> | 632 </conditional> |
602 </section> | 633 </section> |
603 <output name="blast_tabular" file="diamond_results_seed_cut.tabular"/> | 634 <output name="blast_tabular" file="diamond_results_seed_cut.tabular"/> |
604 </test> | 635 </test> |
605 <!--Test 11 freq-masking option--> | 636 <!--Test 12 freq-masking option--> |
606 <test expect_num_outputs="1"> | 637 <test expect_num_outputs="1"> |
607 <conditional name="method_cond"> | 638 <conditional name="method_cond"> |
608 <param name="method_select" value="blastx" /> | 639 <param name="method_select" value="blastx"/> |
609 </conditional> | 640 </conditional> |
610 <param name="query" value="nucleotide.fasta" ftype="fasta"/> | 641 <param name="query" value="nucleotide.fasta" ftype="fasta"/> |
611 <conditional name="ref_db_source"> | 642 <conditional name="ref_db_source"> |
612 <param name="db_source" value="indexed"/> | 643 <param name="db_source" value="indexed"/> |
613 <param name="index" value="testDb"/> | 644 <param name="index" value="testDb"/> |
619 <param name="fields" value="qseqid,sseqid,pident,length,mismatch,gapopen,qstart,qend,sstart,send,evalue,bitscore"/> | 650 <param name="fields" value="qseqid,sseqid,pident,length,mismatch,gapopen,qstart,qend,sstart,send,evalue,bitscore"/> |
620 </conditional> | 651 </conditional> |
621 </section> | 652 </section> |
622 <output name="blast_tabular" file="diamond_results_freq_masking.tabular"/> | 653 <output name="blast_tabular" file="diamond_results_freq_masking.tabular"/> |
623 </test> | 654 </test> |
624 <!--Test 12 motif-masking option--> | 655 <!--Test 13 motif-masking option--> |
625 <test expect_num_outputs="1"> | 656 <test expect_num_outputs="1"> |
626 <conditional name="method_cond"> | 657 <conditional name="method_cond"> |
627 <param name="method_select" value="blastx" /> | 658 <param name="method_select" value="blastx"/> |
628 </conditional> | 659 </conditional> |
629 <param name="query" value="nucleotide.fasta" ftype="fasta"/> | 660 <param name="query" value="nucleotide.fasta" ftype="fasta"/> |
630 <conditional name="ref_db_source"> | 661 <conditional name="ref_db_source"> |
631 <param name="db_source" value="indexed"/> | 662 <param name="db_source" value="indexed"/> |
632 <param name="index" value="testDb"/> | 663 <param name="index" value="testDb"/> |
639 <param name="outfmt" value="6"/> | 670 <param name="outfmt" value="6"/> |
640 <param name="fields" value="qseqid,sseqid,pident,length,mismatch,gapopen,qstart,qend,sstart,send,evalue,bitscore"/> | 671 <param name="fields" value="qseqid,sseqid,pident,length,mismatch,gapopen,qstart,qend,sstart,send,evalue,bitscore"/> |
641 </conditional> | 672 </conditional> |
642 </section> | 673 </section> |
643 <output name="blast_tabular" file="diamond_results_motif_masking.tabular"/> | 674 <output name="blast_tabular" file="diamond_results_motif_masking.tabular"/> |
675 </test> | |
676 <!--Test 14 soft-masking option--> | |
677 <test expect_num_outputs="1"> | |
678 <conditional name="method_cond"> | |
679 <param name="method_select" value="blastx"/> | |
680 </conditional> | |
681 <param name="query" value="nucleotide.fasta" ftype="fasta"/> | |
682 <conditional name="ref_db_source"> | |
683 <param name="db_source" value="indexed"/> | |
684 <param name="index" value="testDb"/> | |
685 </conditional> | |
686 <section name="advanced_section"> | |
687 <param name="soft_masking" value="0"/> | |
688 </section> | |
689 <section name="output_section"> | |
690 <conditional name="output"> | |
691 <param name="outfmt" value="6"/> | |
692 <param name="fields" value="qseqid,sseqid,pident,length,mismatch,gapopen,qstart,qend,sstart,send,evalue,bitscore"/> | |
693 </conditional> | |
694 </section> | |
695 <output name="blast_tabular" file="diamond_results_soft_masking.tabular"/> | |
696 </test> | |
697 <!--Test 15 Log option--> | |
698 <test expect_num_outputs="2"> | |
699 <conditional name="method_cond"> | |
700 <param name="method_select" value="blastx"/> | |
701 </conditional> | |
702 <param name="query" value="nucleotide.fasta" ftype="fasta"/> | |
703 <conditional name="ref_db_source"> | |
704 <param name="db_source" value="indexed"/> | |
705 <param name="index" value="testDb"/> | |
706 </conditional> | |
707 <section name="output_section"> | |
708 <conditional name="output"> | |
709 <param name="outfmt" value="6"/> | |
710 <param name="fields" value="qseqid,sseqid,pident,length,mismatch,gapopen,qstart,qend,sstart,send,evalue,bitscore"/> | |
711 </conditional> | |
712 <param name="log" value="true"/> | |
713 </section> | |
714 <output name="blast_tabular" file="diamond_results_log_test.tabular"/> | |
715 <output name="log_file"> | |
716 <assert_contents> | |
717 <has_n_lines n="261"/> | |
718 <has_text text="diamond blastx --quiet"/> | |
719 <has_text text="--log"/> | |
720 <has_line line="Sequences = 6, letters = 1694, average length = 282"/> | |
721 </assert_contents> | |
722 </output> | |
644 </test> | 723 </test> |
645 </tests> | 724 </tests> |
646 <help> | 725 <help> |
647 <![CDATA[ | 726 <![CDATA[ |
648 | 727 |
697 ======== ============================================ | 776 ======== ============================================ |
698 | 777 |
699 | 778 |
700 ]]> | 779 ]]> |
701 </help> | 780 </help> |
702 <expand macro="citations" /> | 781 <expand macro="citations"/> |
703 </tool> | 782 </tool> |