annotate tools/ncbi_blast_plus/ncbi_blastn_wrapper.xml @ 2:45ba7c750bc8 draft

This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
author peterjc
date Thu, 20 Sep 2012 10:12:43 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
1 <tool id="ncbi_blastn_wrapper" name="NCBI BLAST+ blastn" version="0.0.13">
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
2 <description>Search nucleotide database with nucleotide query sequence(s)</description>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
3 <!-- If job splitting is enabled, break up the query file into parts -->
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
4 <parallelism method="multi" split_inputs="query" split_mode="to_size" split_size="1000" shared_inputs="subject" merge_outputs="output1"></parallelism>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
5 <version_command>blastn -version</version_command>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
6 <command>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
7 ## The command is a Cheetah template which allows some Python based syntax.
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
8 ## Lines starting hash hash are comments. Galaxy will turn newlines into spaces
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
9 blastn
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
10 -query "$query"
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
11 #if $db_opts.db_opts_selector == "db":
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
12 -db "${db_opts.database.fields.path}"
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
13 #else:
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
14 -subject "$db_opts.subject"
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
15 #end if
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
16 -task $blast_type
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
17 -evalue $evalue_cutoff
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
18 -out $output1
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
19 ##Set the extended list here so if/when we add things, saved workflows are not affected
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
20 #if str($out_format)=="ext":
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
21 -outfmt "6 std sallseqid score nident positive gaps ppos qframe sframe qseq sseq qlen slen"
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
22 #else:
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
23 -outfmt $out_format
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
24 #end if
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
25 -num_threads 8
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
26 #if $adv_opts.adv_opts_selector=="advanced":
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
27 $adv_opts.filter_query
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
28 $adv_opts.strand
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
29 ## Need int(str(...)) because $adv_opts.max_hits is an InputValueWrapper object not a string
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
30 ## Note -max_target_seqs overrides -num_descriptions and -num_alignments
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
31 #if (str($adv_opts.max_hits) and int(str($adv_opts.max_hits)) > 0):
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
32 -max_target_seqs $adv_opts.max_hits
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
33 #end if
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
34 #if (str($adv_opts.word_size) and int(str($adv_opts.word_size)) > 0):
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
35 -word_size $adv_opts.word_size
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
36 #end if
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
37 $adv_opts.ungapped
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
38 $adv_opts.parse_deflines
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
39 ## End of advanced options:
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
40 #end if
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
41 </command>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
42 <stdio>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
43 <exit_code range="1:" />
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
44 <exit_code range="://0" />
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
45 </stdio>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
46 <inputs>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
47 <param name="query" type="data" format="fasta" label="Nucleotide query sequence(s)"/>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
48 <conditional name="db_opts">
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
49 <param name="db_opts_selector" type="select" label="Subject database/sequences">
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
50 <option value="db" selected="True">BLAST Database</option>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
51 <option value="file">FASTA file (pairwise e-values)</option>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
52 </param>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
53 <when value="db">
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
54 <param name="database" type="select" label="Nucleotide BLAST database">
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
55 <options from_file="blastdb.loc">
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
56 <column name="value" index="0"/>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
57 <column name="name" index="1"/>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
58 <column name="path" index="2"/>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
59 </options>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
60 </param>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
61 <param name="subject" type="hidden" value="" />
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
62 </when>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
63 <when value="file">
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
64 <param name="database" type="hidden" value="" />
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
65 <param name="subject" type="data" format="fasta" label="Nucleotide FASTA file to use as database"/>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
66 </when>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
67 </conditional>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
68 <param name="blast_type" type="select" display="radio" label="Type of BLAST">
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
69 <option value="megablast">megablast</option>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
70 <option value="blastn">blastn</option>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
71 <option value="blastn-short">blastn-short</option>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
72 <option value="dc-megablast">dc-megablast</option>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
73 <!-- Using BLAST 2.2.24+ this gives an error:
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
74 BLAST engine error: Program type 'vecscreen' not supported
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
75 <option value="vecscreen">vecscreen</option>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
76 -->
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
77 </param>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
78 <param name="evalue_cutoff" type="float" size="15" value="0.001" label="Set expectation value cutoff" />
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
79 <param name="out_format" type="select" label="Output format">
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
80 <option value="6" selected="True">Tabular (standard 12 columns)</option>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
81 <option value="ext">Tabular (extended 24 columns)</option>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
82 <option value="5">BLAST XML</option>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
83 <option value="0">Pairwise text</option>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
84 <option value="0 -html">Pairwise HTML</option>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
85 <option value="2">Query-anchored text</option>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
86 <option value="2 -html">Query-anchored HTML</option>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
87 <option value="4">Flat query-anchored text</option>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
88 <option value="4 -html">Flat query-anchored HTML</option>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
89 <!--
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
90 <option value="-outfmt 11">BLAST archive format (ASN.1)</option>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
91 -->
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
92 </param>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
93 <conditional name="adv_opts">
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
94 <param name="adv_opts_selector" type="select" label="Advanced Options">
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
95 <option value="basic" selected="True">Hide Advanced Options</option>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
96 <option value="advanced">Show Advanced Options</option>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
97 </param>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
98 <when value="basic" />
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
99 <when value="advanced">
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
100 <!-- Could use a select (yes, no, other) where other allows setting 'level window linker' -->
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
101 <param name="filter_query" type="boolean" label="Filter out low complexity regions (with DUST)" truevalue="-dust yes" falsevalue="-dust no" checked="true" />
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
102 <param name="strand" type="select" label="Query strand(s) to search against database/subject">
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
103 <option value="-strand both">Both</option>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
104 <option value="-strand plus">Plus (forward)</option>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
105 <option value="-strand minus">Minus (reverse complement)</option>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
106 </param>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
107 <!-- Why doesn't optional override a validator? I want to accept an empty string OR a non-negative integer -->
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
108 <param name="max_hits" type="integer" value="0" label="Maximum hits to show" help="Use zero for default limits">
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
109 <validator type="in_range" min="0" />
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
110 </param>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
111 <!-- I'd like word_size to be optional, with minimum 4 for blastn -->
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
112 <param name="word_size" type="integer" value="0" label="Word size for wordfinder algorithm" help="Use zero for default, otherwise minimum 4.">
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
113 <validator type="in_range" min="0" />
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
114 </param>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
115 <param name="ungapped" type="boolean" label="Perform ungapped alignment only?" truevalue="-ungapped" falsevalue="" checked="false" />
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
116 <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"/>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
117 </when>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
118 </conditional>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
119 </inputs>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
120 <outputs>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
121 <data name="output1" format="tabular" label="${blast_type.value_label} on ${db_opts.db_opts_selector}">
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
122 <change_format>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
123 <when input="out_format" value="0" format="txt"/>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
124 <when input="out_format" value="0 -html" format="html"/>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
125 <when input="out_format" value="2" format="txt"/>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
126 <when input="out_format" value="2 -html" format="html"/>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
127 <when input="out_format" value="4" format="txt"/>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
128 <when input="out_format" value="4 -html" format="html"/>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
129 <when input="out_format" value="5" format="blastxml"/>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
130 </change_format>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
131 </data>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
132 </outputs>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
133 <requirements>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
134 <requirement type="binary">blastn</requirement>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
135 </requirements>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
136 <help>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
137
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
138 .. class:: warningmark
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
139
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
140 **Note**. Database searches may take a substantial amount of time.
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
141 For large input datasets it is advisable to allow overnight processing.
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
142
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
143 -----
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
144
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
145 **What it does**
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
146
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
147 Search a *nucleotide database* using a *nucleotide query*,
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
148 using the NCBI BLAST+ blastn command line tool.
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
149 Algorithms include blastn, megablast, and discontiguous megablast.
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
150
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
151 -----
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
152
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
153 **Output format**
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
154
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
155 Because Galaxy focuses on processing tabular data, the default output of this
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
156 tool is tabular. The standard BLAST+ tabular output contains 12 columns:
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
157
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
158 ====== ========= ============================================
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
159 Column NCBI name Description
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
160 ------ --------- --------------------------------------------
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
161 1 qseqid Query Seq-id (ID of your sequence)
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
162 2 sseqid Subject Seq-id (ID of the database hit)
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
163 3 pident Percentage of identical matches
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
164 4 length Alignment length
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
165 5 mismatch Number of mismatches
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
166 6 gapopen Number of gap openings
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
167 7 qstart Start of alignment in query
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
168 8 qend End of alignment in query
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
169 9 sstart Start of alignment in subject (database hit)
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
170 10 send End of alignment in subject (database hit)
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
171 11 evalue Expectation value (E-value)
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
172 12 bitscore Bit score
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
173 ====== ========= ============================================
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
174
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
175 The BLAST+ tools can optionally output additional columns of information,
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
176 but this takes longer to calculate. Most (but not all) of these columns are
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
177 included by selecting the extended tabular output. The extra columns are
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
178 included *after* the standard 12 columns. This is so that you can write
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
179 workflow filtering steps that accept either the 12 or 24 column tabular
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
180 BLAST output.
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
181
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
182 ====== ============= ===========================================
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
183 Column NCBI name Description
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
184 ------ ------------- -------------------------------------------
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
185 13 sallseqid All subject Seq-id(s), separated by a ';'
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
186 14 score Raw score
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
187 15 nident Number of identical matches
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
188 16 positive Number of positive-scoring matches
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
189 17 gaps Total number of gaps
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
190 18 ppos Percentage of positive-scoring matches
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
191 19 qframe Query frame
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
192 20 sframe Subject frame
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
193 21 qseq Aligned part of query sequence
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
194 22 sseq Aligned part of subject sequence
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
195 23 qlen Query sequence length
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
196 24 slen Subject sequence length
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
197 ====== ============= ===========================================
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
198
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
199 The third option is BLAST XML output, which is designed to be parsed by
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
200 another program, and is understood by some Galaxy tools.
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
201
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
202 You can also choose several plain text or HTML output formats which are designed to be read by a person (not by another program).
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
203 The HTML versions use basic webpage formatting and can include links to the hits on the NCBI website.
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
204 The pairwise output (the default on the NCBI BLAST website) shows each match as a pairwise alignment with the query.
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
205 The two query anchored outputs show a multiple sequence alignment between the query and all the matches,
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
206 and differ in how insertions are shown (marked as insertions or with gap characters added to the other sequences).
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
207
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
208 -------
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
209
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
210 **References**
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
211
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
212 Zhang et al. A Greedy Algorithm for Aligning DNA Sequences. 2000. JCB: 203-214.
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
213
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
214 </help>
45ba7c750bc8 This update should have no functional effect. Renamed files (since xml.py will be inaccurate once BLAST databases are added in future update).
peterjc
parents:
diff changeset
215 </tool>