annotate blat_wrapper.xml @ 2:6265acc179ff draft

Uploaded
author crs4
date Mon, 04 Nov 2013 06:35:53 -0500
parents c4ad58c4bc7d
children d78b8fe7ca83
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
1 <tool id="blat_wrapper" name="BLAT" version="0.3">
0
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>
2
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
8 blat
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
9 #if $database_source.database_source_select == 'fasta_db'
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
10 $database_source.database.fields.path
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
11 #else if $database_source.database_source_select == 'twobit_db'
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
12 #if $database_source.range
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
13 $database_source.database.fields.path:$database_source.range
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
14 #else
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
15 $database_source.database.fields.path
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
16 #end if
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
17 #else
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
18 $database_source.database
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
19 #end if
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
20 $query -t=$databaseType.databaseType_select -q=$databaseType.queryType
0
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
21 #if str($databaseType.tileSize)
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
22 -tileSize=$databaseType.tileSize
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
23 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
24 #if str($stepSize)
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
25 -stepSize=$stepSize
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
26 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
27 #if $oneOff
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
28 -oneOff=1
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
29 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
30 #if str($databaseType.minMatch)
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
31 -minMatch=$databaseType.minMatch
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
32 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
33 #if str($minScore)
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
34 -minScore=$minScore
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
35 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
36 #if str($databaseType.minIdentity)
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
37 -minIdentity=$databaseType.minIdentity
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
38 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
39 #if str($maxGap)
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
40 -maxGap=$maxGap
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
41 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
42 #if str($repMatch)
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
43 -repMatch=$repMatch
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
44 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
45 #if $mask.mask_select
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
46 -mask=$mask.mask_select
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
47 #else if $mask.repeats
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
48 -repeats=$mask.repeats
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
49 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
50 #if $qMask
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
51 -qMask=$qMask
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
52 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
53 #if str($dots)
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
54 -dots=$dots
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
55 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
56 #if $trimT
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
57 -trimT
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
58 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
59 #if $noTrimA
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
60 -noTrimA
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
61 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
62 #if $trimHardA
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
63 -trimHardA
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
64 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
65 #if $fastMap
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
66 -fastMap
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
67 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
68 #if $fine
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
69 -fine
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
70 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
71 #if str($maxIntron)
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
72 -maxIntron=$maxIntron
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
73 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
74 #if $extendThroughN
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
75 -extendThroughN
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
76 #end if
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
77 -out=$out
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
78 $output > $logfile
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
79 </command>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
80
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
81 <inputs>
2
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
82 <conditional name="database_source">
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
83 <param name="database_source_select" type="select" label="Database source">
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
84 <option value="fasta_db">Locally installed FASTA database</option>
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
85 <option value="twobit_db">Locally installed 2bit database</option>
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
86 <option value="file">FASTA or 2bit file from your history</option>
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
87 </param>
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
88 <when value="fasta_db">
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
89 <param name="database" type="select" label="Select a FASTA database">
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
90 <options from_data_table="all_fasta">
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
91 <filter type="sort_by" column="name" />
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
92 <validator type="no_options" message="No FASTA database available" />
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
93 </options>
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
94 </param>
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
95 </when>
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
96 <when value="twobit_db">
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
97 <param name="database" type="select" label="Select a 2bit database">
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
98 <options from_data_table="lastz_seqs">
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
99 <filter type="sort_by" column="name" />
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
100 <validator type="no_options" message="No 2bit database available" />
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
101 </options>
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
102 </param>
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
103 <param name="range" type="text" optional="true" value="" label="Restrict the search space to this genomic range in the sequence database" help="Format = 'chr1:250000-260000' (i.e. name:startposition-endposition)">
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
104 <validator type="regex" message="Invalid range">\w+:\d+-\d+</validator>
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
105 </param>
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
106 </when>
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
107 <when value="file">
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
108 <param name="database" type="data" format="fasta,twobit" label="Database file" help="FASTA or 2bit format" />
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
109 </when>
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
110 </conditional>
0
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
111 <conditional name="databaseType">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
112 <param name="databaseType_select" type="select" label="Database type (-t)">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
113 <option value="dna" selected="true">DNA sequence (dna)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
114 <option value="prot">Protein sequence (prot)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
115 <option value="dnax">DNA sequence translated in six frames to protein (dnax)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
116 </param>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
117 <when value="dna">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
118 <param name="queryType" type="select" label="Select the query type (-q)">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
119 <option value="dna" selected="true">DNA sequence (dna)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
120 <option value="rna">RNA sequence (rna)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
121 </param>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
122 <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
123 <param name="minMatch" type="integer" value="2" optional="true" label="Number of tile matches (-minMatch)">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
124 <validator type="in_range" min="1" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
125 </param>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
126 <param name="minIdentity" type="integer" value="90" optional="true" label="Minimum sequence identity (%) (-minIdentity)" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
127 </when>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
128 <when value="prot">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
129 <param name="queryType" type="select" label="Select the query type (-q)">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
130 <option value="prot">Protein sequence (prot)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
131 </param>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
132 <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
133 <param name="minMatch" type="integer" value="1" optional="true" label="Number of tile matches (-minMatch)">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
134 <validator type="in_range" min="1" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
135 </param>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
136 <param name="minIdentity" type="integer" value="25" optional="true" label="Minimum sequence identity (%) (-minIdentity)" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
137 </when>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
138 <when value="dnax">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
139 <param name="queryType" type="select" label="Select the query type (-q)">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
140 <option value="prot">Protein sequence (prot)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
141 <option value="dnax">DNA sequence translated in six frames to protein (dnax)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
142 <option value="rnax">DNA sequence translated in three frames to protein (rnax)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
143 </param>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
144 <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
145 <param name="minMatch" type="integer" value="1" optional="true" label="Number of tile matches (-minMatch)">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
146 <validator type="in_range" min="1" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
147 </param>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
148 <param name="minIdentity" type="integer" value="25" optional="true" label="Minimum sequence identity (%) (-minIdentity)" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
149 </when>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
150 </conditional>
2
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
151 <param name="query" type="data" format="fasta,twobit" label="Query" help="FASTA or 2bit format" />
0
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
152 <!-- <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
153
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
154 <param name="stepSize" type="integer" value="" optional="true" label="Spacing between tiles (-stepSize)" help="Default is tileSize">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
155 <validator type="in_range" min="1" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
156 </param>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
157
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
158 <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
159
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
160 <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
161
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
162 <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
163
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
164 <!-- <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
165
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
166 <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
167
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
168 <conditional name="mask">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
169 <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
170 <option value="">No masking</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
171 <option value="lower">Mask out lower cased sequence</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
172 <option value="upper">Mask out upper cased sequence</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
173 <!-- <option value="out">Mask out according to database.out RepeatMasker.out file</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
174 <option value="file.out">Mask database according to RepeatMasker file.out</option>-->
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
175 </param>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
176 <when value="">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
177 <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
178 <option value="">No masking</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
179 <option value="lower">Mask out lower cased sequence</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
180 <option value="upper">Mask out upper cased sequence</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
181 <!-- <option value="out">Mask out according to database.out RepeatMasker.out file</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
182 <option value="file.out">Mask database according to RepeatMasker file.out</option>-->
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
183 </param>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
184 </when>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
185 <when value="lower" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
186 <when value="upper" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
187 </conditional>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
188 <param name="qMask" type="select" label="Mask out repeats in query sequences (-qMask)">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
189 <option value="">No masking</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
190 <option value="lower">Mask out lower cased sequence</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
191 <option value="upper">Mask out upper cased sequence</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
192 <!-- <option value="out">Mask out according to database.out RepeatMasker .out file</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
193 <option value="file.out">Mask database according to RepeatMasker file.out</option>-->
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
194 </param>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
195 <!-- <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
196
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
197 <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
198
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
199 <param name="trimT" type="boolean" checked="false" label="Trim leading poly-T (-trimT)" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
200
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
201 <param name="noTrimA" type="boolean" checked="false" label="Don't trim trailing poly-A (-noTrimA)" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
202
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
203 <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
204
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
205 <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
206
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
207 <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
208 <param name="maxIntron" type="integer" value="750000" optional="true" label="Maximum intron size (-maxIntron)" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
209 <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
210 <param name="out" type="select" label="Select output file format (-out)">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
211 <option value="psl">Tab-separated format, no sequence (psl)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
212 <option value="psl -noHead">Tab-separated format, no sequence, no header (psl -noHead)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
213 <option value="pslx">Tab-separated format with sequence (pslx)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
214 <option value="pslx -noHead">Tab-separated format with sequence, no header (pslx -noHead)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
215 <option value="axt">Blastz-associated axt format (axt)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
216 <option value="maf">Multiz-associated maf format (maf)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
217 <option value="sim4">Similar to sim4 format (sim4)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
218 <option value="wublast">Similar to WU-BLAST format (wublast)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
219 <option value="blast">Similar to NCBI BLAST format (blast)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
220 <option value="blast8">NCBI BLAST tabular format (blast8)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
221 <option value="blast9">NCBI BLAST tabular format with comments (blast9)</option>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
222 </param>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
223 </inputs>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
224
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
225 <outputs>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
226 <data name="logfile" format="txt" label="${tool.name} on ${on_string}: log" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
227 <data name="output" format="txt" label="${tool.name} on ${on_string}: alignment">
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
228 <change_format>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
229 <when input="out" value="psl -noHead" format="tabular" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
230 <when input="out" value="pslx -noHead" format="tabular" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
231 <when input="out" value="axt" format="axt" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
232 <when input="out" value="maf" format="maf" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
233 <when input="out" value="blast8" format="tabular" />
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
234 </change_format>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
235 </data>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
236 </outputs>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
237 <tests>
1
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
238 <test>
2
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
239 <param name="database_source_select" value="file" />
1
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
240 <param name="database" value="databasetest1.fasta" ftype="fasta" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
241 <param name="databaseType_select" value="dna" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
242 <param name="queryType" value="dna" />
2
6265acc179ff Uploaded
crs4
parents: 1
diff changeset
243 <param name="query" value="input83.fasta" ftype="fasta" />
1
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
244 <param name="tileSize" value="11" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
245 <param name="minMatch" value="2" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
246 <param name="stepSize" value="11" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
247 <param name="oneOff" value="false" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
248 <param name="minScore" value="30" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
249 <param name="maxGap" value="2" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
250 <param name="mask_select" value="lower" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
251 <param name="qMask" value="lower" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
252 <param name="trimT" value="true" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
253 <param name="noTrimA" value="false" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
254 <param name="fine" value="false" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
255 <param name="maxIntron" value="750000" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
256 <param name="extendThroughN" value="false" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
257 <param name="out" value="blast8" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
258 <output name="logfile" file="log.txt" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
259 <output name="output" file="outputtest1.txt" />
c4ad58c4bc7d Add version_command element.
crs4
parents: 0
diff changeset
260 </test>
0
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
261 </tests>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
262 <help>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
263 **What it does**
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
264
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
265 BLAT produces two major classes of alignments:
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
266
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
267 - 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
268 - 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
269
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
270 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
271
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
272 **License and citation**
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
273
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
274 This Galaxy tool is Copyright © 2013 `CRS4 Srl.`_ and is released under the `MIT license`_.
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
275
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
276 .. _CRS4 Srl.: http://www.crs4.it/
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
277 .. _MIT license: http://opensource.org/licenses/MIT
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
278
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
279 If you use this tool in Galaxy, please cite |Cuccuru2013|_.
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
280
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
281 .. |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
282 .. _Cuccuru2013: http://orione.crs4.it/
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
283
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
284 This tool uses `BLAT`_, which is licensed separately. Please cite |Kent2002|_.
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
285
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
286 .. _BLAT: http://genome.ucsc.edu/FAQ/FAQblat.html
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
287 .. |Kent2002| replace:: Kent, W. J. (2002) BLAT – The BLAST-Like Alignment Tool. *Genome Res.* 12(4), 656-664
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
288 .. _Kent2002: http://genome.cshlp.org/content/12/4/656
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
289 </help>
0a71a7d35d09 Uploaded
crs4
parents:
diff changeset
290 </tool>