annotate blat.xml @ 1:4f7ad18c3812 draft

planemo upload commit fe41c3fe7b41d81e10e16e0a103e589d08406fd7-dirty
author yating-l
date Tue, 31 Jan 2017 17:36:49 -0500
parents 9e56efe1c371
children 70d7377d5e24
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
1 <tool id="ucsc_blat" name="UCSC BLAT Alignment Tool" version="1.0">
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
2 <description>Rapidly align sequences to the genome</description>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
3 <requirements>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
4 <requirement type="package" version="1.0">ucsc_tools_340_for_BLAT</requirement>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
5 </requirements>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
6 <command detect_errors="exit_code"><![CDATA[
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
7 blat
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
8 #if $noHead
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
9 -noHead
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
10 #end if
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
11 -q=$query_type
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
12 -t=$database_type
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
13 -mask=$mask
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
14 '${database}'
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
15 '${query}'
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
16 '${output}'
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
17
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
18 ]]></command>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
19 <inputs>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
20 <param type="data" name="database" format="fasta" />
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
21 <param type="data" name="query" format="fasta" />
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
22 <param type="select" name="database_type" format="text" multiple="false" label="database type" help="Choose your database type, the default is dna">
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
23 <option value="dna">DNA sequence</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
24 <option value="prot">protein sequence</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
25 <option value="dnax">DNA sequence translated in six frames to protein</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
26 </param>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
27 <param type="select" name="query_type" format="text" multiple="false" label="query type" help="Choose your query type, the default is dna">
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
28 <option value="dna">DNA sequence</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
29 <option value="rna">RNA sequence</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
30 <option value="prot">protein sequence</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
31 <option value="dnax">DNA sequence translated in six frames to protein</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
32 <option value="rnax">DNA sequence translated in three frames to protein</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
33 </param>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
34 <param name="noHead" type="boolean" value="false" label="Suppresses .psl header (so it's just a tab-separated file)." />
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
35 <param name="mask" type="select" label="Mask out repeats" help="Alignments won't be started in masked region
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
36 but may extend through it in nucleotide searches. Masked areas
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
37 are ignored entirely in protein or translated searches.">
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
38 <option value="lower">lower - mask out lower-cased sequence</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
39 <option value="upper">upper - mask out upper-cased sequence</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
40 <option value="out">out - mask according to database.out RepeatMasker .out file</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
41 <option value="file.out">file.out - mask database according to RepeatMasker file.out</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
42 </param>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
43 <!--<conditional name="database" format="fasta">
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
44 <param type="select" name="database_type" format="text" multiple="false" label="database type" help="Choose your database type, the default is dna">
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
45 <option value="dna">DNA sequence</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
46 <option value="prot">protein sequence</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
47 <option value="dnax">DNA sequence translated in six frames to protein</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
48 </param>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
49 <when value="dna">
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
50 <param type="integer" name="tileSize" value="11" min="1" max="12" label="tileSize" help="Sets the size of match that triggers an alignment. Usually between 8 and 12">tileSize</param>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
51 <param name="minMatch" type="integer" value="2" label="Sets the number of tile matches. Usually set from 2 to 4.
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
52 Default is 2 for nucleotide, 1 for protein.">-minMatch</param>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
53 <param name="minIdentity" type="integer" value="90" label="Sets minimum sequence identity (in percent). Default is
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
54 90 for nucleotide searches, 25 for protein or translated
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
55 protein searches.">-minIdentity</param>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
56
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
57 </when>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
58 <when value="prot">
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
59 <param type="integer" name="tileSize" value="5" min="1" max="12" label="tileSize" help="Sets the size of match that triggers an alignment. Usually between 8 and 12">tileSize</param>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
60 <param name="minMatch" type="integer" value="1" label="Sets the number of tile matches. Usually set from 2 to 4.
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
61 Default is 2 for nucleotide, 1 for protein.">-minMatch</param>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
62 <param name="minIdentity" type="integer" value="25" label="Sets minimum sequence identity (in percent). Default is
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
63 90 for nucleotide searches, 25 for protein or translated
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
64 protein searches.">-minIdentity</param>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
65 </when>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
66 </conditional>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
67 <param type="select" name="query_type" format="text" multiple="false" label="query type" help="Choose your query type, the default is dna">
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
68 <option value="dna">DNA sequence</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
69 <option value="rna">RNA sequence</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
70 <option value="prot">protein sequence</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
71 <option value="dnax">DNA sequence translated in six frames to protein</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
72 <option value="rnax">DNA sequence translated in three frames to protein</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
73 </param>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
74 <conditional name="settings">
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
75 <param name="advanced" type="select" multiple="false" label="Specify advanced parameters">
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
76 <option value="simple" selected="true">No, use program defaults. </option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
77 <option value="advanced">Yes, see full parameter list.</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
78 </param>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
79 <when value="advanced">
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
80 <param name="mask" type="select" label="Mask out repeats" help="Alignments won't be started in masked region
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
81 but may extend through it in nucleotide searches. Masked areas
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
82 are ignored entirely in protein or translated searches.">
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
83 <option value="lower">lower - mask out lower-cased sequence</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
84 <option value="upper">upper - mask out upper-cased sequence</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
85 <option value="out">out - mask according to database.out RepeatMasker .out file</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
86 <option value="file.out">file.out - mask database according to RepeatMasker file.out</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
87 </param>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
88 <param name="qmask" type="select" label="Mask out repeats in query sequence" help="Similar to -mask above, but
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
89 for query rather than target sequence.">
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
90 <option value="lower">lower - mask out lower-cased sequence</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
91 <option value="upper">upper - mask out upper-cased sequence</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
92 <option value="out">out - mask according to database.out RepeatMasker .out file</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
93 <option value="file.out">file.out - mask database according to RepeatMasker file.out</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
94 </param>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
95 <param name="oneOff" type="integer" value="0" label="If set to 1, this allows one mismatch in tile and still triggers an alignment. Default is 0.">-oneOff</param>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
96 <param name="minScore" type="integer" value="30" label="Sets minimum score. This is the matches minus the
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
97 mismatches minus some sort of gap penalty. Default is 30.">-minScore</param>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
98 <param name="maxGap" type="integer" value="2" label="Sets the size of maximum gap between tiles in a clump. Usually
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
99 set from 0 to 3. Default is 2. Only relevent for minMatch > 1.">-maxGap</param>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
100 <param name="minRepDivergence" type="integer" value="15" min="0" max="100" label="Minimum percent divergence of repeats to allow
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
101 them to be unmasked. Default is 15. Only relevant for
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
102 masking using RepeatMasker .out files.">-minRepDivergence</param>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
103 <param name="noHead" type="boolean" value="false" label="Suppresses .psl header (so it's just a tab-separated file)." />
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
104 <param name="dots" type="integer" value="0" label="Output dot every N sequences to show program's progress." />
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
105 <param name="trimT" type="boolean" value="false" label="Trim leading poly-T." />
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
106 <param name="trimHardA" type="boolean" value="false" label="Remove poly-A tail from qSize as well as alignments in
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
107 psl output." />
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
108 <param name="fastMap" type="boolean" value="false" label="Run for fast DNA/DNA remapping - not allowing introns,
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
109 requiring high %ID. Query sizes must not exceed 5000." />
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
110 <param name="fine" type="boolean" value="false" label="For high-quality mRNAs, look harder for small initial and
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
111 terminal exons. Not recommended for ESTs." />
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
112 <param name="out" type="select" label="Output file format">
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
113 <option value="psl" selected="true">psl - Default. Tab-separated format, no sequence</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
114 <option value="pslx">pslx - Tab-separated format with sequence</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
115 <option value="axt">axt - blastz-associated axt format</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
116 <option value="maf">maf - multiz-associated maf format</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
117 <option value="sim4">sim4 - similar to sim4 format</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
118 <option value="wublast">wublast - similar to wublast format</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
119 <option value="blast">blast - similar to NCBI blast format</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
120 <option value="blast8">blast8- NCBI blast tabular format</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
121 <option value="blast9">blast9 - NCBI blast tabular format with comments</option>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
122 </param>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
123 <param name="maxIntro" type="integer" value="750000" label="Sets maximum intron size. Default is 750000." />
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
124 <param name="extendThroughN" type="boolean" value="false" label="Allows extension of alignment through large blocks of Ns." />
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
125 </when>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
126 </conditional>-->
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
127 </inputs>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
128 <outputs>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
129 <data format="psl" name="output"></data>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
130 </outputs>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
131 <tests>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
132 <test>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
133 <param name="database" value="amaVit1.fa" />
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
134 <param name="query" value="Gallus_gallus_RefSeq.fa" />
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
135 <param name="database_type" value="dnax" />
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
136 <param name="query_type" value="rnax" />
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
137 <param name="noHead" value="true" />
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
138 <param name="mask" value="lower" />
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
139 <output name="output" value="amaVit1_Gallus_gallus.psl" />
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
140 </test>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
141 </tests>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
142 </tool>
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
143
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
144
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
145
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
146
9e56efe1c371 planemo upload
yating-l
parents:
diff changeset
147