annotate ncbi_tblastn_wrapper.xml @ 0:d375502056f1 draft

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