annotate blat.xml @ 6:250a7f2b1331 draft

planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
author iuc
date Thu, 31 May 2018 11:25:53 -0400
parents dede60f744f4
children 10f3a5b6f2ac
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
1 <?xml version="1.0"?>
6
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
2 <tool id="ucsc_blat" name="UCSC BLAT Alignment Tool" version="36">
5
dede60f744f4 planemo upload commit 2d70129e3c77058bd09e7b0da426b5ee3187cce7
iuc
parents: 4
diff changeset
3 <description>BLAST-like sequence alignment tool</description>
0
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
4 <requirements>
6
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
5 <requirement type="package" version="36">blat</requirement>
0
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
6 </requirements>
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
1
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
8 #if str($reference_source.reference_source_selector) == "history":
5
dede60f744f4 planemo upload commit 2d70129e3c77058bd09e7b0da426b5ee3187cce7
iuc
parents: 4
diff changeset
9 ## blat depends on file extension
dede60f744f4 planemo upload commit 2d70129e3c77058bd09e7b0da426b5ee3187cce7
iuc
parents: 4
diff changeset
10 #if $reference_source.database.is_of_type("fasta"):
dede60f744f4 planemo upload commit 2d70129e3c77058bd09e7b0da426b5ee3187cce7
iuc
parents: 4
diff changeset
11 #set $reference_fasta_filename = "localref.fa"
dede60f744f4 planemo upload commit 2d70129e3c77058bd09e7b0da426b5ee3187cce7
iuc
parents: 4
diff changeset
12 #elif $reference_source.database.is_of_type("twobit"):
dede60f744f4 planemo upload commit 2d70129e3c77058bd09e7b0da426b5ee3187cce7
iuc
parents: 4
diff changeset
13 #set $reference_fasta_filename = "localref.2bit"
dede60f744f4 planemo upload commit 2d70129e3c77058bd09e7b0da426b5ee3187cce7
iuc
parents: 4
diff changeset
14 #else
dede60f744f4 planemo upload commit 2d70129e3c77058bd09e7b0da426b5ee3187cce7
iuc
parents: 4
diff changeset
15 #set $reference_fasta_filename = "localref"
dede60f744f4 planemo upload commit 2d70129e3c77058bd09e7b0da426b5ee3187cce7
iuc
parents: 4
diff changeset
16 #end if
dede60f744f4 planemo upload commit 2d70129e3c77058bd09e7b0da426b5ee3187cce7
iuc
parents: 4
diff changeset
17
1
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
18 ln -s '${reference_source.database}' '${reference_fasta_filename}' &&
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
19 #else:
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
20 #set $reference_fasta_filename = str($reference_source.database.fields.path)
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
21 #end if
5
dede60f744f4 planemo upload commit 2d70129e3c77058bd09e7b0da426b5ee3187cce7
iuc
parents: 4
diff changeset
22
6
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
23 blat
5
dede60f744f4 planemo upload commit 2d70129e3c77058bd09e7b0da426b5ee3187cce7
iuc
parents: 4
diff changeset
24
1
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
25 -q=$query_type
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
26 -t=$database_type
5
dede60f744f4 planemo upload commit 2d70129e3c77058bd09e7b0da426b5ee3187cce7
iuc
parents: 4
diff changeset
27
6
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
28 ${oneOff}
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
29
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
30 #if str($minScore)
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
31 -minScore=${minScore}
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
32 #end if
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
33
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
34 -maxGap=${maxGap}
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
35
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
36 #if str($repMatch)
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
37 -repMatch=${repMatch}
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
38 #end if
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
39
1
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
40 #if $mask_type.mask == "file.out":
5
dede60f744f4 planemo upload commit 2d70129e3c77058bd09e7b0da426b5ee3187cce7
iuc
parents: 4
diff changeset
41 -mask='${mask_type.mask_file}'
1
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
42 #else:
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
43 -mask=$mask_type.mask
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
44 #end if
5
dede60f744f4 planemo upload commit 2d70129e3c77058bd09e7b0da426b5ee3187cce7
iuc
parents: 4
diff changeset
45
6
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
46 #if str($dots)
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
47 -dots=${dots}
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
48 #end if
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
49
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
50 ${trimT}
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
51 ${noTrimA}
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
52 ${trimHardA}
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
53 ${fastMap}
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
54 ${fine}
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
55
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
56 #if str($maxIntron)
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
57 -maxIntron=${maxIntron}
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
58 #end if
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
59
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
60 ${extendThroughN}
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
61
1
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
62 '$reference_fasta_filename'
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
63 '${query}'
5
dede60f744f4 planemo upload commit 2d70129e3c77058bd09e7b0da426b5ee3187cce7
iuc
parents: 4
diff changeset
64
6
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
65 -out=${out}
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
66
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
67 '${output}'
0
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
68 ]]></command>
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
69 <inputs>
1
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
70 <conditional name="reference_source">
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
71 <param name="reference_source_selector" type="select" label="Choose the source for the database">
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
72 <option value="cached">Locally cached</option>
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
73 <option value="history">History</option>
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
74 </param>
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
75 <when value="cached">
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
76 <param name="database" type="select" label="Select database">
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
77 <options from_data_table="all_fasta">
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
78 <filter type="sort_by" column="2" />
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
79 </options>
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
80 <validator type="no_options" message="A built-in database is not available" />
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
81 </param>
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
82 </when>
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
83 <when value="history">
5
dede60f744f4 planemo upload commit 2d70129e3c77058bd09e7b0da426b5ee3187cce7
iuc
parents: 4
diff changeset
84 <param name="database" type="data" format="fasta, twobit" label="Using database file, either a .fa, .nib or .2bit file" />
1
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
85 </when>
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
86 </conditional>
5
dede60f744f4 planemo upload commit 2d70129e3c77058bd09e7b0da426b5ee3187cce7
iuc
parents: 4
diff changeset
87 <param type="data" name="query" format="fasta, twobit" label="Query data, either a .fa, .nib or .2bit file"/>
0
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
88 <param type="select" name="database_type" format="text" multiple="false" label="database type" help="Choose your database type, the default is dnax" argument="-t">
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
89 <option value="dna">dna - DNA sequence</option>
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
90 <option value="prot">prot - protein sequence</option>
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
91 <option value="dnax" selected="true">dnax - DNA sequence translated in six frames to protein</option>
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
92 </param>
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
93 <param type="select" name="query_type" format="text" multiple="false" label="query type" help="Choose your query type, the default is rnax" argument="-q">
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
94 <option value="dna">dna - DNA sequence </option>
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
95 <option value="rna">rna - RNA sequence</option>
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
96 <option value="prot">prot - protein sequence</option>
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
97 <option value="dnax">dnax - DNA sequence translated in six frames to protein</option>
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
98 <option value="rnax" selected="true">rnax - DNA sequence translated in three frames to protein</option>
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
99 </param>
6
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
100 <param argument="-oneOff" type="boolean" truevalue="-oneOff=1" falsevalue="" label="If set, this allows one mismatch in tile and still triggers an alignments" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
101 <param argument="-minScore" type="integer" value="30" label="Minimum score" help="It is the matches minus the mismatches minus some sort of gap penalty" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
102 <param argument="-maxGap" type="integer" value="2" min="0" max="3" label="Maximum gap between tiles in a clump" help="Usually set from 0 to 3. Only relevant for minMatch > 1" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
103 <param argument="-repMatch" type="integer" value="" optional="true" label="Number of repetitions of a tile allowed before it is marked as overused" 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" />
1
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
104 <conditional name="mask_type">
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
105 <param name="mask" type="select" label="Mask out repeats" help="Alignments won't be started in masked region
0
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
106 but may extend through it in nucleotide searches. Masked areas
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
107 are ignored entirely in protein or translated searches. Default is lower" argument="-mask">
1
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
108 <option value="lower" selected="true">lower - mask out lower-cased sequence</option>
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
109 <option value="upper">upper - mask out upper-cased sequence</option>
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
110 <option value="out">out - mask according to database.out RepeatMasker .out file</option>
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
111 <option value="file.out">file.out - mask database according to RepeatMasker file.out</option>
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
112 </param>
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
113 <when value="lower" />
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
114 <when value="upper" />
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
115 <when value="out" />
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
116 <when value="file.out">
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
117 <param name="mask_file" type="data" format="txt" label="RepeatMasker file.out" />
6
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
118 </when>
1
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
119 </conditional>
6
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
120 <param argument="-dots" type="integer" value="" optional="true" label="Output a dot every N sequences in log" help="Dots show program's progress" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
121 <param argument="-trimT" type="boolean" truevalue="-trimT" falsevalue="" label="Trim leading poly-T" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
122 <param argument="-noTrimA" type="boolean" truevalue="-noTrimA" falsevalue="" label="Don't trim trailing poly-A" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
123 <param argument="-trimHardA" type="boolean" truevalue="-trimHardA" falsevalue="" label="Remove poly-A tail from qSize and alignments in .psl output" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
124 <param argument="-fastMap" type="boolean" truevalue="-fastMap" falsevalue="" label="Run for fast DNA/DNA remapping" help="It does not allow introns and require high %ID. Query sizes must not exceed 5000" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
125 <param argument="-fine" type="boolean" truevalue="-fine" falsevalue="" label="Refine search for small initial and terminal exons" help="For high-quality mRNAs. Not recommended for ESTs" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
126 <param argument="-maxIntron" type="integer" value="750000" optional="true" label="Maximum intron size" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
127 <param argument="-extendThroughN" type="boolean" truevalue="-extendThroughN" falsevalue="" label="Allow extension of alignment through large blocks of N's" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
128 <param name="out" type="select" label="Select output file format (-out)">
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
129 <option value="psl">Tab-separated format, no sequence (psl)</option>
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
130 <option value="psl -noHead">Tab-separated format, no sequence, no header (psl -noHead)</option>
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
131 <option value="axt">Blastz-associated axt format (axt)</option>
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
132 <option value="maf">Multiz-associated maf format (maf)</option>
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
133 <option value="sim4">Similar to sim4 format (sim4)</option>
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
134 <option value="wublast">Similar to WU-BLAST format (wublast)</option>
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
135 <option value="blast">Similar to NCBI BLAST format (blast)</option>
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
136 <option value="blast8">NCBI BLAST tabular format (blast8)</option>
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
137 <option value="blast9">NCBI BLAST tabular format with comments (blast9)</option>
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
138 </param>
0
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
139 </inputs>
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
140 <outputs>
6
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
141 <data name="output" format="tabular" label="${tool.name} on ${on_string}">
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
142 <change_format>
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
143 <when input="out" value="psl" format="psl" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
144 <when input="out" value="axt" format="axt" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
145 <when input="out" value="maf" format="maf" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
146 <when input="out" value="sim4" format="txt" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
147 <when input="out" value="wublast" format="txt" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
148 <when input="out" value="blast" format="txt" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
149 </change_format>
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
150 </data>
0
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
151 </outputs>
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
152 <tests>
1
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
153 <!-- test on query of GenBank RefSeq records for Gallus gallus and database of Amazona vittata -->
0
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
154 <test>
1
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
155 <param name="reference_source_selector" value="history" />
0
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
156 <param name="database" value="amaVit1_Gallus/amaVit1.fa" />
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
157 <param name="query" value="amaVit1_Gallus/Gallus_gallus_RefSeq.fa" />
6
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
158 <param name="database_type" value="dnax" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
159 <param name="query_type" value="rnax" />
0
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
160 <param name="mask" value="lower" />
6
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
161 <param name="out" value="psl -noHead" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
162 <output name="output" value="amaVit1_Gallus/amaVit1_Gallus_gallus_sorted.psl" sort="True"/>
0
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
163 </test>
1
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
164 <!-- test on query of partial mRNA of Drosophila melanogaster and the database of Drosophila biamipes dot chromosome -->
0
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
165 <test>
1
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
166 <param name="reference_source_selector" value="history" />
0
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
167 <param name="database" value="dbia3/dbia3.fa" />
1
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
168 <param name="query" value="dbia3/dmel-transcript.fa" />
6
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
169 <param name="database_type" value="dnax" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
170 <param name="query_type" value="rnax" />
0
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
171 <param name="mask" value="lower" />
6
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
172 <param name="out" value="psl -noHead" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
173 <param name="maxIntron" value="" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
174 <output name="output" value="dbia3/dbia3.sorted.psl" sort="True"/>
0
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
175 </test>
1
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
176 <!-- test on the database masked by repeat masker -->
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
177 <test>
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
178 <param name="reference_source_selector" value="history" />
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
179 <param name="database" value="dbia3/dbia3_masked.2bit" />
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
180 <param name="query" value="dbia3/dmel-transcript.fa" />
6
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
181 <param name="database_type" value="dnax" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
182 <param name="query_type" value="rnax" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
183 <param name="oneOff" value="false" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
184 <param name="minScore" value="30" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
185 <param name="maxGap" value="2" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
186 <param name="trimT" value="false" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
187 <param name="noTrimA" value="false" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
188 <param name="fine" value="false" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
189 <param name="maxIntron" value="750000" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
190 <param name="extendThroughN" value="false" />
1
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
191 <param name="mask" value="file.out" />
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
192 <param name="mask_file" value="dbia3/dbia3_RM.out" />
6
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
193 <param name="out" value="psl -noHead" />
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
194 <output name="output" value="dbia3/dbia3_masked.sorted.psl"/>
1
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
195 </test>
0
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
196
6
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
197 </tests>
0
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
198 <help>
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
199 <![CDATA[
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
200 BLAT
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
201 ====
6
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
202 BLAT is a bioinformatics software a tool which performs rapid mRNA/DNA and cross-species protein alignments.
0
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
203
6
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
204 blat (version: v36)- Standalone blat sequence search command line tool.
0
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
205 -------------------------------------------------------------------------
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
206
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
207 usage:
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
208 ++++++
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
209
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
210 $ blat database query [-ooc=11.ooc] output.psl
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
211
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
212 where:
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
213 database and query are each either a .fa, .nib or .2bit file,
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
214 or a list of these files with one file name per line.
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
215 -ooc=11.ooc tells the program to load over-occurring 11-mers from
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
216 an external file. This will increase the speed
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
217 by a factor of 40 in many cases, but is not required.
6
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
218 output.psl is the name of the output file.
0
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
219
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
220 documentation:
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
221 ++++++++++++++
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
222
6
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
223 See Blat documentation (http://genome.ucsc.edu/goldenPath/help/blatSpec.html)
0
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
224
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
225 Source code:
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
226 ++++++++++++
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
227
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
228 http://hgdownload.cse.ucsc.edu/admin/exe/
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
229
6
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
230 ]]></help>
0
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
231 <citations>
1
eb7fcec3fdba planemo upload commit 78ad97a2be3ed2c75777ec97ef9489f819cbc471
yating-l
parents: 0
diff changeset
232 <citation type="doi">10.1101/gr.229202</citation>
6
250a7f2b1331 planemo upload commit 630d4a316c3b72b0d92b32e8b37303d247a41190
iuc
parents: 5
diff changeset
233 </citations>
0
951076264957 planemo upload commit 9e778f6145837bd749e60913d184d3d90e2677df
yating-l
parents:
diff changeset
234 </tool>