Mercurial > repos > devteam > ncbi_blast_plus
comparison tools/ncbi_blast_plus/ncbi_blastn_wrapper.xml @ 22:6f386c5dc4fb draft
v0.2.01 add -max_hsps, -use_sw_tback; lists args; internal updates
author | peterjc |
---|---|
date | Mon, 18 Sep 2017 06:21:27 -0400 |
parents | 3034ce97dd33 |
children | 31e517610e1f |
comparison
equal
deleted
inserted
replaced
21:7538e2bfcd41 | 22:6f386c5dc4fb |
---|---|
4 <token name="@BINARY@">blastn</token> | 4 <token name="@BINARY@">blastn</token> |
5 <import>ncbi_macros.xml</import> | 5 <import>ncbi_macros.xml</import> |
6 </macros> | 6 </macros> |
7 <expand macro="parallelism" /> | 7 <expand macro="parallelism" /> |
8 <expand macro="preamble" /> | 8 <expand macro="preamble" /> |
9 <command> | 9 <command detect_errors="aggressive"> |
10 ## The command is a Cheetah template which allows some Python based syntax. | 10 ## The command is a Cheetah template which allows some Python based syntax. |
11 ## Lines starting hash hash are comments. Galaxy will turn newlines into spaces | 11 ## Lines starting hash hash are comments. Galaxy will turn newlines into spaces |
12 blastn | 12 blastn |
13 -query "$query" | 13 -query '$query' |
14 @BLAST_DB_SUBJECT@ | 14 @BLAST_DB_SUBJECT@ |
15 -task $blast_type | 15 -task $blast_type |
16 -evalue $evalue_cutoff | 16 -evalue $evalue_cutoff |
17 @BLAST_OUTPUT@ | 17 @BLAST_OUTPUT@ |
18 @THREADS@ | 18 @THREADS@ |
29 @ADV_QCOV_HSP_PERC@ | 29 @ADV_QCOV_HSP_PERC@ |
30 ## End of advanced options: | 30 ## End of advanced options: |
31 #end if | 31 #end if |
32 </command> | 32 </command> |
33 <inputs> | 33 <inputs> |
34 <param name="query" type="data" format="fasta" label="Nucleotide query sequence(s)"/> | 34 <param argument="-query" type="data" format="fasta" label="Nucleotide query sequence(s)"/> |
35 <expand macro="input_conditional_nucleotide_db" /> | 35 <expand macro="input_conditional_nucleotide_db" /> |
36 <param name="blast_type" type="select" display="radio" label="Type of BLAST"> | 36 <param name="blast_type" argument="-task" type="select" display="radio" label="Type of BLAST"> |
37 <option value="megablast">megablast - Traditional megablast used to find very similar (e.g., intraspecies or closely related species) sequences</option> | 37 <option value="megablast">megablast - Traditional megablast used to find very similar (e.g., intraspecies or closely related species) sequences</option> |
38 <option value="blastn">blastn - Traditional BLASTN requiring an exact match of 11, for somewhat similar sequences</option> | 38 <option value="blastn">blastn - Traditional BLASTN requiring an exact match of 11, for somewhat similar sequences</option> |
39 <option value="blastn-short">blastn-short - BLASTN program optimized for sequences shorter than 50 bases</option> | 39 <option value="blastn-short">blastn-short - BLASTN program optimized for sequences shorter than 50 bases</option> |
40 <option value="dc-megablast">dc-megablast - Discontiguous megablast used to find more distant (e.g., interspecies) sequences</option> | 40 <option value="dc-megablast">dc-megablast - Discontiguous megablast used to find more distant (e.g., interspecies) sequences</option> |
41 <!-- Using BLAST 2.2.24+ this gives an error: | 41 <!-- Using BLAST 2.2.24+ this gives an error: |
47 </param> | 47 </param> |
48 <expand macro="input_evalue" /> | 48 <expand macro="input_evalue" /> |
49 <expand macro="input_out_format" /> | 49 <expand macro="input_out_format" /> |
50 <expand macro="advanced_options"> | 50 <expand macro="advanced_options"> |
51 <!-- Could use a select (yes, no, other) where other allows setting 'level window linker' --> | 51 <!-- Could use a select (yes, no, other) where other allows setting 'level window linker' --> |
52 <param name="filter_query" type="boolean" label="Filter out low complexity regions (with DUST)" truevalue="-dust yes" falsevalue="-dust no" checked="true" /> | 52 <param name="filter_query" argument="-dust" type="boolean" label="Filter out low complexity regions (with DUST)" truevalue="-dust yes" falsevalue="-dust no" checked="true" /> |
53 <expand macro="input_strand" /> | 53 <expand macro="input_strand" /> |
54 <expand macro="input_max_hits" /> | 54 <expand macro="input_max_hits" /> |
55 <param name="identity_cutoff" type="float" min="0" max="100" value="0" label="Percent identity cutoff (-perc_identity)" help="Use zero for no cutoff" /> | 55 <param name="identity_cutoff" argument="-perc_identity" type="float" min="0" max="100" value="0" label="Percent identity cutoff" help="Use zero for no cutoff" /> |
56 | 56 |
57 <!-- I'd like word_size to be optional, with minimum 4 for blastn --> | 57 <!-- I'd like word_size to be optional, with minimum 4 for blastn --> |
58 <param name="word_size" type="integer" value="0" label="Word size for wordfinder algorithm" help="Use zero for default, otherwise minimum 4."> | 58 <param argument="-word_size" type="integer" min="0" value="0" label="Word size for wordfinder algorithm" help="Use zero for default, otherwise minimum 4" /> |
59 <validator type="in_range" min="0" /> | 59 <param argument="-ungapped" type="boolean" label="Perform ungapped alignment only?" truevalue="-ungapped" falsevalue="" checked="false" /> |
60 </param> | |
61 <param name="ungapped" type="boolean" label="Perform ungapped alignment only?" truevalue="-ungapped" falsevalue="" checked="false" /> | |
62 <expand macro="input_parse_deflines" /> | 60 <expand macro="input_parse_deflines" /> |
63 <expand macro="advanced_optional_id_files" /> | 61 <expand macro="advanced_optional_id_files" /> |
64 <expand macro="input_qcov_hsp_perc" /> | 62 <expand macro="input_qcov_hsp_perc" /> |
65 </expand> | 63 </expand> |
66 </inputs> | 64 </inputs> |
132 <param name="db_opts_selector" value="db" /> | 130 <param name="db_opts_selector" value="db" /> |
133 <param name="database" value="rhodopsin_nucs" /> | 131 <param name="database" value="rhodopsin_nucs" /> |
134 <param name="out_format" value="6" /> | 132 <param name="out_format" value="6" /> |
135 <output name="output1" file="blastn_chimera_vs_rhodopsin_db.tabular" ftype="tabular" /> | 133 <output name="output1" file="blastn_chimera_vs_rhodopsin_db.tabular" ftype="tabular" /> |
136 </test> | 134 </test> |
135 <test> | |
136 <param name="query" value="chimera.fasta" ftype="fasta" /> | |
137 <param name="db_opts_selector" value="db" /> | |
138 <param name="database" value="rhodopsin_nucs" /> | |
139 <param name="out_format" value="6" /> | |
140 <param name="adv_opts_selector" value="advanced" /> | |
141 <param name="max_hsps" value="1" /> | |
142 <output name="output1" file="blastn_chimera_vs_rhodopsin_db_max_hsps1.tabular" ftype="tabular" /> | |
143 </test> | |
137 <!-- next test is passing in two blast databases --> | 144 <!-- next test is passing in two blast databases --> |
138 <test> | 145 <test> |
139 <param name="query" value="chimera.fasta" ftype="fasta" /> | 146 <param name="query" value="chimera.fasta" ftype="fasta" /> |
140 <param name="db_opts_selector" value="db" /> | 147 <param name="db_opts_selector" value="db" /> |
141 <param name="database" value="three_human_mRNA,rhodopsin_nucs" /> | 148 <param name="database" value="three_human_mRNA,rhodopsin_nucs" /> |
142 <param name="out_format" value="6" /> | 149 <param name="out_format" value="6" /> |
143 <output name="output1" file="blastn_chimera_vs_three_human_and_rhodopsin_db.tabular" ftype="tabular" /> | 150 <output name="output1" file="blastn_chimera_vs_three_human_and_rhodopsin_db.tabular" ftype="tabular" /> |
144 </test> | 151 </test> |
145 </tests> | 152 </tests> |
146 <help> | 153 <help> |
147 | 154 |
148 @SEARCH_TIME_WARNING@ | 155 @SEARCH_TIME_WARNING@ |
149 | 156 |
150 **What it does** | 157 **What it does** |
151 | 158 |
152 Search a *nucleotide database* using a *nucleotide query*, | 159 Search a *nucleotide database* using a *nucleotide query*, |