annotate blat_wrapper.xml @ 1:c4ad58c4bc7d draft

Add version_command element. Add test case from Joachim Jacob's blat wrapper: http://testtoolshed.g2.bx.psu.edu/view/joachim-jacob/blat . Add readme section to tool_dependencies.xml .
author crs4
date Mon, 28 Oct 2013 12:40:29 -0400
parents 0a71a7d35d09
children 6265acc179ff
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
1 <tool id="blat_wrapper" name="BLAT" version="0.2">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
2 <description></description>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
3 <requirements>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
4 <requirement type="package" version="35">blat</requirement>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
5 </requirements>
1
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
6 <version_command>blat|head -n 1</version_command>
0
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
7 <command>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
8 blat $database $query -t=$databaseType.databaseType_select -q=$databaseType.queryType
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
9 #if str($databaseType.tileSize)
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
10 -tileSize=$databaseType.tileSize
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
11 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
12 #if str($stepSize)
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
13 -stepSize=$stepSize
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
14 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
15 #if $oneOff
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
16 -oneOff=1
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
17 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
18 #if str($databaseType.minMatch)
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
19 -minMatch=$databaseType.minMatch
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
20 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
21 #if str($minScore)
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
22 -minScore=$minScore
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
23 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
24 #if str($databaseType.minIdentity)
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
25 -minIdentity=$databaseType.minIdentity
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
26 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
27 #if str($maxGap)
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
28 -maxGap=$maxGap
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
29 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
30 #if str($repMatch)
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
31 -repMatch=$repMatch
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
32 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
33 #if $mask.mask_select
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
34 -mask=$mask.mask_select
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
35 #else if $mask.repeats
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
36 -repeats=$mask.repeats
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
37 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
38 #if $qMask
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
39 -qMask=$qMask
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
40 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
41 #if str($dots)
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
42 -dots=$dots
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
43 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
44 #if $trimT
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
45 -trimT
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
46 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
47 #if $noTrimA
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
48 -noTrimA
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
49 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
50 #if $trimHardA
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
51 -trimHardA
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
52 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
53 #if $fastMap
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
54 -fastMap
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
55 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
56 #if $fine
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
57 -fine
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
58 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
59 #if str($maxIntron)
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
60 -maxIntron=$maxIntron
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
61 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
62 #if $extendThroughN
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
63 -extendThroughN
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
64 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
65 -out=$out
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
66 $output > $logfile
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
67 </command>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
68
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
69 <inputs>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
70 <param name="database" type="data" format="fasta,twobit" label="Database" help="FASTA or 2bit format" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
71 <param name="query" type="data" format="fasta,twobit" label="Query" help="FASTA or 2bit format" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
72
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
73 <conditional name="databaseType">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
74 <param name="databaseType_select" type="select" label="Database type (-t)">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
75 <option value="dna" selected="true">DNA sequence (dna)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
76 <option value="prot">Protein sequence (prot)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
77 <option value="dnax">DNA sequence translated in six frames to protein (dnax)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
78 </param>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
79 <when value="dna">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
80 <param name="queryType" type="select" label="Select the query type (-q)">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
81 <option value="dna" selected="true">DNA sequence (dna)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
82 <option value="rna">RNA sequence (rna)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
83 </param>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
84 <param name="tileSize" type="integer" value="11" min="6" max="18" optional="true" label="Size of match that triggers an alignment (-tileSize)" help="Usually between 8 and 12" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
85 <param name="minMatch" type="integer" value="2" optional="true" label="Number of tile matches (-minMatch)">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
86 <validator type="in_range" min="1" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
87 </param>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
88 <param name="minIdentity" type="integer" value="90" optional="true" label="Minimum sequence identity (%) (-minIdentity)" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
89 </when>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
90 <when value="prot">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
91 <param name="queryType" type="select" label="Select the query type (-q)">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
92 <option value="prot">Protein sequence (prot)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
93 </param>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
94 <param name="tileSize" type="integer" value="5" min="3" max="8" optional="true" label="Size of match that triggers an alignment (-tileSize)" help="Usually between 8 and 12" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
95 <param name="minMatch" type="integer" value="1" optional="true" label="Number of tile matches (-minMatch)">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
96 <validator type="in_range" min="1" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
97 </param>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
98 <param name="minIdentity" type="integer" value="25" optional="true" label="Minimum sequence identity (%) (-minIdentity)" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
99 </when>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
100 <when value="dnax">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
101 <param name="queryType" type="select" label="Select the query type (-q)">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
102 <option value="prot">Protein sequence (prot)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
103 <option value="dnax">DNA sequence translated in six frames to protein (dnax)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
104 <option value="rnax">DNA sequence translated in three frames to protein (rnax)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
105 </param>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
106 <param name="tileSize" type="integer" value="5" min="3" max="8" optional="true" label="Size of match that triggers an alignment (-tileSize)" help="Usually between 8 and 12" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
107 <param name="minMatch" type="integer" value="1" optional="true" label="Number of tile matches (-minMatch)">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
108 <validator type="in_range" min="1" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
109 </param>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
110 <param name="minIdentity" type="integer" value="25" optional="true" label="Minimum sequence identity (%) (-minIdentity)" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
111 </when>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
112 </conditional>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
113
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
114 <!-- <param name="ooc" type="data" format="ooc" optional="true" label="Over-occuring N-mers file (-ooc) produced with blat -makeOoc" help="Use N as tileSize below." /> This should wait for a makeOoc wrapper -->
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
115
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
116 <param name="stepSize" type="integer" value="" optional="true" label="Spacing between tiles (-stepSize)" help="Default is tileSize">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
117 <validator type="in_range" min="1" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
118 </param>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
119
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
120 <param name="oneOff" type="boolean" checked="false" label="If set, this allows one mismatch in tile and still triggers an alignments (-oneOff)" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
121
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
122 <param name="minScore" type="integer" value="30" optional="true" label="Minimum score (-minScore)" help="It is the matches minus the mismatches minus some sort of gap penalty" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
123
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
124 <param name="maxGap" type="integer" value="2" optional="true" label="Maximum gap between tiles in a clump (-maxGap)" help="Usually set from 0 to 3. Only relevant for minMatch > 1" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
125
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
126 <!-- <param name="makeOoc" type="boolean" checked="false" label="Make overused tile file N.ooc (-makeOoc)" help="Target needs to be a complete genome" /> This should go in a separate wrapper since after making the ooc file, blat exits -->
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
127
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
128 <param name="repMatch" type="integer" value="" optional="true" label="Number of repetitions of a tile allowed before it is marked as overused (-repMatch)" help="Typically this is 256 for tileSize 12, 1024 for tileSize 11, 4096 for tileSize 10. Also affected by stepSize. When stepSize is halved repMatch is doubled to compensate" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
129
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
130 <conditional name="mask">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
131 <param name="mask_select" type="select" label="Mask out repeats in database sequences (-mask)" help="Alignments won't be started in masked region but may extend through it in nucleotide searches. Masked areas are ignored completely in protein or translated searches">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
132 <option value="">No masking</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
133 <option value="lower">Mask out lower cased sequence</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
134 <option value="upper">Mask out upper cased sequence</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
135 <!-- <option value="out">Mask out according to database.out RepeatMasker.out file</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
136 <option value="file.out">Mask database according to RepeatMasker file.out</option>-->
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
137 </param>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
138 <when value="">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
139 <param name="repeats" type="select" label="Select repeat type if matches in repeat areas should be reported separately from matches in other areas (-repeats)">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
140 <option value="">No masking</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
141 <option value="lower">Mask out lower cased sequence</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
142 <option value="upper">Mask out upper cased sequence</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
143 <!-- <option value="out">Mask out according to database.out RepeatMasker.out file</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
144 <option value="file.out">Mask database according to RepeatMasker file.out</option>-->
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
145 </param>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
146 </when>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
147 <when value="lower" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
148 <when value="upper" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
149 </conditional>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
150 <param name="qMask" type="select" label="Mask out repeats in query sequences (-qMask)">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
151 <option value="">No masking</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
152 <option value="lower">Mask out lower cased sequence</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
153 <option value="upper">Mask out upper cased sequence</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
154 <!-- <option value="out">Mask out according to database.out RepeatMasker .out file</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
155 <option value="file.out">Mask database according to RepeatMasker file.out</option>-->
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
156 </param>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
157 <!-- <param name="minRepDivergence" type="integer" optional="true" value="15" label="Minimum percent divergence of repeats to allow them to be unmasked (-minRepDivergence)" help="Only relevant for masking using RepeatMasket .out files" />-->
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
158
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
159 <param name="dots" type="integer" value="" optional="true" label="Output a dot every N sequences in log (-dots)" help="Dots show program's progress" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
160
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
161 <param name="trimT" type="boolean" checked="false" label="Trim leading poly-T (-trimT)" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
162
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
163 <param name="noTrimA" type="boolean" checked="false" label="Don't trim trailing poly-A (-noTrimA)" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
164
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
165 <param name="trimHardA" type="boolean" checked="false" label="Remove poly-A tail from qSize and alignments in .psl output (-trimHardA)" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
166
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
167 <param name="fastMap" type="boolean" checked="false" label="Run for fast DNA/DNA remapping (-fastMap)" help="It does not allow introns and require high %ID. Query sizes must not exceed 5000" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
168
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
169 <param name="fine" type="boolean" checked="false" label="Refine search for small initial and terminal exons (-fine)" help="For high-quality mRNAs. Not recommended for ESTs" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
170 <param name="maxIntron" type="integer" value="750000" optional="true" label="Maximum intron size (-maxIntron)" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
171 <param name="extendThroughN" type="boolean" checked="false" label="Allow extension of alignment through large blocks of N's (-extendThroughN)" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
172 <param name="out" type="select" label="Select output file format (-out)">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
173 <option value="psl">Tab-separated format, no sequence (psl)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
174 <option value="psl -noHead">Tab-separated format, no sequence, no header (psl -noHead)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
175 <option value="pslx">Tab-separated format with sequence (pslx)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
176 <option value="pslx -noHead">Tab-separated format with sequence, no header (pslx -noHead)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
177 <option value="axt">Blastz-associated axt format (axt)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
178 <option value="maf">Multiz-associated maf format (maf)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
179 <option value="sim4">Similar to sim4 format (sim4)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
180 <option value="wublast">Similar to WU-BLAST format (wublast)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
181 <option value="blast">Similar to NCBI BLAST format (blast)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
182 <option value="blast8">NCBI BLAST tabular format (blast8)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
183 <option value="blast9">NCBI BLAST tabular format with comments (blast9)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
184 </param>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
185 </inputs>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
186
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
187 <outputs>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
188 <data name="logfile" format="txt" label="${tool.name} on ${on_string}: log" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
189 <data name="output" format="txt" label="${tool.name} on ${on_string}: alignment">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
190 <change_format>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
191 <when input="out" value="psl -noHead" format="tabular" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
192 <when input="out" value="pslx -noHead" format="tabular" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
193 <when input="out" value="axt" format="axt" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
194 <when input="out" value="maf" format="maf" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
195 <when input="out" value="blast8" format="tabular" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
196 </change_format>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
197 </data>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
198 </outputs>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
199 <tests>
1
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
200 <test>
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
201 <param name="database" value="databasetest1.fasta" ftype="fasta" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
202 <param name="query" value="input83.fasta" ftype="fasta" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
203 <param name="databaseType_select" value="dna" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
204 <param name="queryType" value="dna" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
205 <param name="tileSize" value="11" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
206 <param name="minMatch" value="2" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
207 <param name="stepSize" value="11" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
208 <param name="oneOff" value="false" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
209 <param name="minScore" value="30" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
210 <param name="maxGap" value="2" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
211 <param name="mask_select" value="lower" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
212 <param name="qMask" value="lower" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
213 <param name="trimT" value="true" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
214 <param name="noTrimA" value="false" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
215 <param name="fine" value="false" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
216 <param name="maxIntron" value="750000" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
217 <param name="extendThroughN" value="false" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
218 <param name="out" value="blast8" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
219 <output name="logfile" file="log.txt" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
220 <output name="output" file="outputtest1.txt" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
221 </test>
0
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
222 </tests>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
223 <help>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
224 **What it does**
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
225
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
226 BLAT produces two major classes of alignments:
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
227
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
228 - at the DNA level between two sequences that are of 95% or greater identity, but which may include large inserts;
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
229 - at the protein or translated DNA level between sequences that are of 80% or greater identity and may also include large inserts.
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
230
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
231 The output of BLAT is flexible. By default it is a simple tab-delimited file which describes the alignment, but which does not include the sequence of the alignment itself. Optionally it can produce BLAST and WU-BLAST compatible output as well as a number of other formats.
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
232
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
233 **License and citation**
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
234
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
235 This Galaxy tool is Copyright © 2013 `CRS4 Srl.`_ and is released under the `MIT license`_.
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
236
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
237 .. _CRS4 Srl.: http://www.crs4.it/
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
238 .. _MIT license: http://opensource.org/licenses/MIT
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
239
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
240 If you use this tool in Galaxy, please cite |Cuccuru2013|_.
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
241
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
242 .. |Cuccuru2013| replace:: Cuccuru, G., Orsini, M., Pinna, A., Sbardellati, A., Soranzo, N., Travaglione, A., Uva, P., Zanetti, G., Fotia, G. (2013) Orione, a web-based framework for NGS analysis in microbiology. *Submitted*
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
243 .. _Cuccuru2013: http://orione.crs4.it/
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
244
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
245 This tool uses `BLAT`_, which is licensed separately. Please cite |Kent2002|_.
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
246
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
247 .. _BLAT: http://genome.ucsc.edu/FAQ/FAQblat.html
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
248 .. |Kent2002| replace:: Kent, W. J. (2002) BLAT – The BLAST-Like Alignment Tool. *Genome Res.* 12(4), 656-664
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
249 .. _Kent2002: http://genome.cshlp.org/content/12/4/656
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
250 </help>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
251 </tool>