annotate tools/ncbi_blast_plus/ncbi_tblastn_wrapper.xml @ 0:9071e359b9a3

Uploaded
author xuebing
date Fri, 09 Mar 2012 19:37:19 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
1 <tool id="ncbi_tblastn_wrapper" name="NCBI BLAST+ tblastn" version="0.0.11">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <description>Search translated nucleotide database with protein query sequence(s)</description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3 <version_command>tblastn -version</version_command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 <command interpreter="python">hide_stderr.py
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5 ## The command is a Cheetah template which allows some Python based syntax.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 ## Lines starting hash hash are comments. Galaxy will turn newlines into spaces
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7 tblastn
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 -query "$query"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 #if $db_opts.db_opts_selector == "db":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 -db "${db_opts.database.fields.path}"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 #else:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12 -subject "$db_opts.subject"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 -evalue $evalue_cutoff
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 -out $output1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 ##Set the extended list here so if/when we add things, saved workflows are not affected
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17 #if str($out_format)=="ext":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 -outfmt "6 std sallseqid score nident positive gaps ppos qframe sframe qseq sseq qlen slen"
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19 #else:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 -outfmt $out_format
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22 -num_threads 8
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23 #if $adv_opts.adv_opts_selector=="advanced":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24 $adv_opts.filter_query
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25 -matrix $adv_opts.matrix
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 ## Need int(str(...)) because $adv_opts.max_hits is an InputValueWrapper object not a string
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27 ## Note -max_target_seqs overrides -num_descriptions and -num_alignments
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 #if (str($adv_opts.max_hits) and int(str($adv_opts.max_hits)) > 0):
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29 -max_target_seqs $adv_opts.max_hits
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31 #if (str($adv_opts.word_size) and int(str($adv_opts.word_size)) > 0):
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 -word_size $adv_opts.word_size
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 ##Ungapped disabled for now - see comments below
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35 ##$adv_opts.ungapped
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36 $adv_opts.parse_deflines
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37 ## End of advanced options:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39 </command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
41 <param name="query" type="data" format="fasta" label="Protein query sequence(s)"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
42 <conditional name="db_opts">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
43 <param name="db_opts_selector" type="select" label="Subject database/sequences">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
44 <option value="db" selected="True">BLAST Database</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
45 <option value="file">FASTA file</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
46 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
47 <when value="db">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
48 <param name="database" type="select" label="Nucleotide BLAST database">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
49 <options from_file="blastdb.loc">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
50 <column name="value" index="0"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
51 <column name="name" index="1"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
52 <column name="path" index="2"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
53 </options>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
54 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
55 <param name="subject" type="hidden" value="" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
56 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
57 <when value="file">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
58 <param name="database" type="hidden" value="" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
59 <param name="subject" type="data" format="fasta" label="Nucleotide FASTA file to use as database"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
60 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
61 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
62 <param name="evalue_cutoff" type="float" size="15" value="0.001" label="Set expectation value cutoff" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
63 <param name="out_format" type="select" label="Output format">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
64 <option value="6" selected="True">Tabular (standard 12 columns)</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
65 <option value="ext">Tabular (extended 24 columns)</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
66 <option value="5">BLAST XML</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
67 <option value="0">Pairwise text</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
68 <option value="0 -html">Pairwise HTML</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
69 <option value="2">Query-anchored text</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
70 <option value="2 -html">Query-anchored HTML</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
71 <option value="4">Flat query-anchored text</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
72 <option value="4 -html">Flat query-anchored HTML</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
73 <!--
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
74 <option value="-outfmt 11">BLAST archive format (ASN.1)</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
75 -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
76 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
77 <conditional name="adv_opts">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
78 <param name="adv_opts_selector" type="select" label="Advanced Options">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
79 <option value="basic" selected="True">Hide Advanced Options</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
80 <option value="advanced">Show Advanced Options</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
81 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
82 <when value="basic" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
83 <when value="advanced">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
84 <!-- Could use a select (yes, no, other) where other allows setting 'window locut hicut' -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
85 <param name="filter_query" type="boolean" label="Filter out low complexity regions (with SEG)" truevalue="-seg yes" falsevalue="-seg no" checked="true" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
86 <param name="matrix" type="select" label="Scoring matrix">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
87 <option value="BLOSUM90">BLOSUM90</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
88 <option value="BLOSUM80">BLOSUM80</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
89 <option value="BLOSUM62" selected="true">BLOSUM62 (default)</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
90 <option value="BLOSUM50">BLOSUM50</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
91 <option value="BLOSUM45">BLOSUM45</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
92 <option value="PAM250">PAM250</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
93 <option value="PAM70">PAM70</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
94 <option value="PAM30">PAM30</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
95 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
96 <!-- Why doesn't optional override a validator? I want to accept an empty string OR a non-negative integer -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
97 <param name="max_hits" type="integer" value="0" label="Maximum hits to show" help="Use zero for default limits">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
98 <validator type="in_range" min="0" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
99 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
100 <!-- I'd like word_size to be optional, with minimum 2 for blastp -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
101 <param name="word_size" type="integer" value="0" label="Word size for wordfinder algorithm" help="Use zero for default, otherwise minimum 2.">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
102 <validator type="in_range" min="0" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
103 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
104 <!--
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
105 Can't use '-ungapped' on its own, error back is:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
106 Composition-adjusted searched are not supported with an ungapped search, please add -comp_based_stats F or do a gapped search
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
107 Tried using '-ungapped -comp_based_stats F' and tblastn crashed with 'Attempt to access NULL pointer.'
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
108 <param name="ungapped" type="boolean" label="Perform ungapped alignment only?" truevalue="-ungapped -comp_based_stats F" falsevalue="" checked="false" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
109 -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
110 <param name="parse_deflines" type="boolean" label="Should the query and subject defline(s) be parsed?" truevalue="-parse_deflines" falsevalue="" checked="false" help="This affects the formatting of the query/subject ID strings"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
111 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
112 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
113 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
114 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
115 <data name="output1" format="tabular" label="tblastn on ${db_opts.db_opts_selector}">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
116 <change_format>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
117 <when input="out_format" value="0" format="txt"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
118 <when input="out_format" value="0 -html" format="html"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
119 <when input="out_format" value="2" format="txt"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
120 <when input="out_format" value="2 -html" format="html"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
121 <when input="out_format" value="4" format="txt"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
122 <when input="out_format" value="4 -html" format="html"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
123 <when input="out_format" value="5" format="blastxml"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
124 </change_format>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
125 </data>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
126 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
127 <requirements>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
128 <requirement type="binary">tblastn</requirement>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
129 </requirements>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
130 <tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
131 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
132 <param name="query" value="four_human_proteins.fasta" ftype="fasta" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
133 <param name="db_opts_selector" value="file" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
134 <param name="subject" value="rhodopsin_nucs.fasta" ftype="fasta" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
135 <param name="database" value="" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
136 <param name="evalue_cutoff" value="1e-10" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
137 <param name="out_format" value="5" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
138 <param name="adv_opts_selector" value="advanced" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
139 <param name="filter_query" value="false" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
140 <param name="matrix" value="BLOSUM80" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
141 <param name="max_hits" value="0" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
142 <param name="word_size" value="0" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
143 <param name="parse_deflines" value="false" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
144 <output name="output1" file="tblastn_four_human_vs_rhodopsin.xml" ftype="blastxml" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
145 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
146 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
147 <param name="query" value="four_human_proteins.fasta" ftype="fasta" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
148 <param name="db_opts_selector" value="file" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
149 <param name="subject" value="rhodopsin_nucs.fasta" ftype="fasta" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
150 <param name="database" value="" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
151 <param name="evalue_cutoff" value="1e-10" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
152 <param name="out_format" value="ext" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
153 <param name="adv_opts_selector" value="advanced" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
154 <param name="filter_query" value="false" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
155 <param name="matrix" value="BLOSUM80" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
156 <param name="max_hits" value="0" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
157 <param name="word_size" value="0" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
158 <param name="parse_deflines" value="false" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
159 <output name="output1" file="tblastn_four_human_vs_rhodopsin_ext.tabular" ftype="tabular" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
160 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
161 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
162 <param name="query" value="four_human_proteins.fasta" ftype="fasta" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
163 <param name="db_opts_selector" value="file" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
164 <param name="subject" value="rhodopsin_nucs.fasta" ftype="fasta" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
165 <param name="database" value="" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
166 <param name="evalue_cutoff" value="1e-10" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
167 <param name="out_format" value="6" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
168 <param name="adv_opts_selector" value="advanced" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
169 <param name="filter_query" value="false" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
170 <param name="matrix" value="BLOSUM80" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
171 <param name="max_hits" value="0" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
172 <param name="word_size" value="0" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
173 <param name="parse_deflines" value="false" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
174 <output name="output1" file="tblastn_four_human_vs_rhodopsin.tabular" ftype="tabular" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
175 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
176 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
177 <!-- Same as above, but parse deflines - on BLAST 2.2.25+ makes no difference -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
178 <param name="query" value="four_human_proteins.fasta" ftype="fasta" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
179 <param name="db_opts_selector" value="file" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
180 <param name="subject" value="rhodopsin_nucs.fasta" ftype="fasta" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
181 <param name="database" value="" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
182 <param name="evalue_cutoff" value="1e-10" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
183 <param name="out_format" value="6" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
184 <param name="adv_opts_selector" value="advanced" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
185 <param name="filter_query" value="false" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
186 <param name="matrix" value="BLOSUM80" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
187 <param name="max_hits" value="0" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
188 <param name="word_size" value="0" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
189 <param name="parse_deflines" value="true" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
190 <output name="output1" file="tblastn_four_human_vs_rhodopsin.tabular" ftype="tabular" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
191 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
192 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
193 <param name="query" value="four_human_proteins.fasta" ftype="fasta" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
194 <param name="db_opts_selector" value="file" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
195 <param name="subject" value="rhodopsin_nucs.fasta" ftype="fasta" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
196 <param name="database" value="" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
197 <param name="evalue_cutoff" value="1e-10" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
198 <param name="out_format" value="0 -html" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
199 <param name="adv_opts_selector" value="advanced" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
200 <param name="filter_query" value="false" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
201 <param name="matrix" value="BLOSUM80" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
202 <param name="max_hits" value="0" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
203 <param name="word_size" value="0" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
204 <param name="parse_deflines" value="false" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
205 <output name="output1" file="tblastn_four_human_vs_rhodopsin.html" ftype="html" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
206 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
207 </tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
208 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
209
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
210 .. class:: warningmark
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
211
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
212 **Note**. Database searches may take a substantial amount of time.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
213 For large input datasets it is advisable to allow overnight processing.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
214
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
215 -----
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
216
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
217 **What it does**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
218
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
219 Search a *translated nucleotide database* using a *protein query*,
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
220 using the NCBI BLAST+ tblastn command line tool.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
221
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
222 -----
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
223
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
224 **Output format**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
225
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
226 Because Galaxy focuses on processing tabular data, the default output of this
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
227 tool is tabular. The standard BLAST+ tabular output contains 12 columns:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
228
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
229 ====== ========= ============================================
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
230 Column NCBI name Description
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
231 ------ --------- --------------------------------------------
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
232 1 qseqid Query Seq-id (ID of your sequence)
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
233 2 sseqid Subject Seq-id (ID of the database hit)
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
234 3 pident Percentage of identical matches
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
235 4 length Alignment length
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
236 5 mismatch Number of mismatches
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
237 6 gapopen Number of gap openings
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
238 7 qstart Start of alignment in query
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
239 8 qend End of alignment in query
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
240 9 sstart Start of alignment in subject (database hit)
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
241 10 send End of alignment in subject (database hit)
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
242 11 evalue Expectation value (E-value)
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
243 12 bitscore Bit score
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
244 ====== ========= ============================================
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
245
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
246 The BLAST+ tools can optionally output additional columns of information,
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
247 but this takes longer to calculate. Most (but not all) of these columns are
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
248 included by selecting the extended tabular output. The extra columns are
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
249 included *after* the standard 12 columns. This is so that you can write
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
250 workflow filtering steps that accept either the 12 or 24 column tabular
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
251 BLAST output.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
252
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
253 ====== ============= ===========================================
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
254 Column NCBI name Description
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
255 ------ ------------- -------------------------------------------
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
256 13 sallseqid All subject Seq-id(s), separated by a ';'
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
257 14 score Raw score
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
258 15 nident Number of identical matches
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
259 16 positive Number of positive-scoring matches
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
260 17 gaps Total number of gaps
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
261 18 ppos Percentage of positive-scoring matches
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
262 19 qframe Query frame
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
263 20 sframe Subject frame
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
264 21 qseq Aligned part of query sequence
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
265 22 sseq Aligned part of subject sequence
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
266 23 qlen Query sequence length
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
267 24 slen Subject sequence length
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
268 ====== ============= ===========================================
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
269
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
270 The third option is BLAST XML output, which is designed to be parsed by
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
271 another program, and is understood by some Galaxy tools.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
272
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
273 You can also choose several plain text or HTML output formats which are designed to be read by a person (not by another program).
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
274 The HTML versions use basic webpage formatting and can include links to the hits on the NCBI website.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
275 The pairwise output (the default on the NCBI BLAST website) shows each match as a pairwise alignment with the query.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
276 The two query anchored outputs show a multiple sequence alignment between the query and all the matches,
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
277 and differ in how insertions are shown (marked as insertions or with gap characters added to the other sequences).
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
278
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
279 -------
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
280
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
281 **References**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
282
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
283 Altschul et al. Gapped BLAST and PSI-BLAST: a new generation of protein database search programs. 1997. Nucleic Acids Res. 25:3389-3402.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
284
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
285 </help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
286 </tool>