annotate gmap.xml @ 9:7f032685214b

gmap/gsnap updated to version 2011-11-30
author Jim Johnson <jj@umn.edu>
date Thu, 08 Dec 2011 11:16:03 -0600
parents a89fec682254
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
1 <tool id="gmap" name="GMAP" version="2.0.1">
7
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
2 <description>Genomic Mapping and Alignment Program for mRNA and EST sequences</description>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
3 <requirements>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
4 <requirement type="binary">gmap</requirement>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
5 </requirements>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
6 <version_string>gmap --version</version_string>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
7 <command>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
8 #import os,os.path
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
9 gmap
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
10 --nthreads=4 --ordered
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
11 #if $refGenomeSource.genomeSource == "history":
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
12 --gseg=$refGenomeSource.ownFile
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
13 #elif $refGenomeSource.genomeSource == "gmapdb":
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
14 #set $gmapdb = $os.listdir($refGenomeSource.gmapdb.extra_files_path)[0]
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
15 --dir=$refGenomeSource.gmapdb.extra_files_path --db=$gmapdb
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
16 #if $refGenomeSource.kmer != None and len($refGenomeSource.kmer.__str__) == 2:
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
17 --kmer=$refGenomeSource.kmer
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
18 #end if
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
19 #else:
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
20 --dir=$os.path.dirname($refGenomeSource.gmapindex.value) --db=$os.path.basename($refGenomeSource.gmapindex.value)
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
21 #if $refGenomeSource.kmer != None and len($refGenomeSource.kmer.__str__) == 2:
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
22 --kmer=$refGenomeSource.kmer
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
23 #end if
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
24 #end if
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
25 #if $result.format == "summary":
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
26 --summary
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
27 #elif $result.format == "align":
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
28 --align
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
29 #elif $result.format == "continuous":
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
30 --continuous
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
31 #elif $result.format == "continuous-by-exon":
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
32 --continuous-by-exon
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
33 #elif $result.format == "compress":
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
34 --compress
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
35 #elif $result.format == "exons_dna":
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
36 --exons=cdna
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
37 #elif $result.format == "exons_gen":
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
38 --exons=genomic
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
39 #elif $result.format == "protein_dna":
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
40 --protein_dna
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
41 #elif $result.format == "protein_gen":
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
42 --protein_gen
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
43 #elif $result.format == "sam":
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
44 --format=$result.sam_paired_read
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
45 $result.no_sam_headers
8
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
46 #* Removed in gmap version 2011-11-30
7
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
47 #if len($result.noncanonical_splices.__str__) > 0
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
48 --noncanonical-splices=$result.noncanonical_splices
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
49 #end if
8
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
50 *#
7
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
51 #if len($result.read_group_id.__str__) > 0
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
52 --read-group-id=$result.read_group_id
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
53 #end if
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
54 #if len($result.read_group_name.__str__) > 0
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
55 --read-group-name=$result.read_group_name
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
56 #end if
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
57 #if len($result.read_group_library.__str__) > 0
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
58 --read-group-library=$result.read_group_library
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
59 #end if
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
60 #if len($result.read_group_platform.__str__) > 0
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
61 --read-group-platform=$result.read_group_platform
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
62 #end if
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
63 #elif $result.format != "gmap":
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
64 --format=$result.format
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
65 #end if
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
66 #if $computation.options == "advanced":
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
67 $computation.nosplicing
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
68 $computation.cross_species
8
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
69 #if len($computation.min_intronlength.__str__) > 0
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
70 --min-intronlength=$computation.min_intronlength
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
71 #end if
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
72 #if len($computation.intronlength.__str__) > 0
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
73 --intronlength=$computation.intronlength
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
74 #end if
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
75 #if len($computation.localsplicedist.__str__) > 0
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
76 --localsplicedist=$computation.localsplicedist
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
77 #end if
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
78 #if len($computation.totallength.__str__) > 0
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
79 --totallength=$computation.totallength
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
80 #end if
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
81 #if len($computation.trimendexons.__str__) > 0
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
82 --trimendexons=$computation.trimendexons
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
83 #end if
7
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
84 --direction=$computation.direction
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
85 --canonical-mode=$computation.canonical
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
86 --prunelevel=$computation.prunelevel
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
87 --allow-close-indels=$computation.allow_close_indels
8
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
88 #if len($computation.microexon_spliceprob.__str__) >= 0:
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
89 --microexon-spliceprob=$computation.microexon_spliceprob
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
90 #end if
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
91 #if len($computation.chimera_margin.__str__) >= 0:
7
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
92 --chimera-margin=$computation.chimera_margin
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
93 #end if
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
94 #end if
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
95 #if $advanced.options == "used":
8
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
96 #if len($advanced.npaths.__str__) > 0:
7
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
97 --npaths=$advanced.npaths
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
98 #end if
8
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
99 #if len($advanced.suboptimal_score.__str__) > 0:
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
100 --suboptimal-score=$advanced.suboptimal_score
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
101 #end if
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
102 #if len($advanced.chimera_overlap.__str__) > 0:
7
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
103 --chimera_overlap=$advanced.chimera_overlap
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
104 #end if
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
105 $advanced.protein
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
106 $advanced.tolerant
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
107 $advanced.nolengths
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
108 $advanced.invertmode
8
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
109 #if len($advanced.introngap.__str__) > 0:
7
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
110 --introngap=$advanced.introngap
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
111 #end if
8
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
112 #if len($advanced.wraplength.__str__) > 0:
7
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
113 --wraplength=$advanced.wraplength
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
114 #end if
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
115 #end if
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
116 #if $split_output == True
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
117 $split_output
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
118 #end if
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
119 #if len($quality_protocol.__str__) > 0:
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
120 --quality-protocol=$quality_protocol
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
121 #end if
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
122 $input
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
123 #for $i in $inputs:
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
124 ${i.added_input}
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
125 #end for
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
126 #if $split_output == True
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
127 2> $gmap_stderr
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
128 #else
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
129 2> $gmap_stderr > $output
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
130 #end if
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
131 </command>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
132 <inputs>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
133 <!-- Input data -->
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
134 <param name="input" type="data" format="fasta,fastqsanger,fastqillumina" label="&lt;H2&gt;Input Sequences&lt;/H2&gt;Select an mRNA or EST dataset to map" />
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
135 <repeat name="inputs" title="addtional mRNA or EST dataset to map">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
136 <param name="added_input" type="data" format="fasta,fastqsanger,fastqillumina" label=""/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
137 </repeat>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
138 <param name="quality_protocol" type="select" label="Protocol for input quality scores">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
139 <option value="">No quality scores</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
140 <option value="sanger">Sanger quality scores</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
141 <option value="illumina">Illumina quality scores</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
142 </param>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
143
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
144 <!-- GMAPDB for mapping -->
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
145 <conditional name="refGenomeSource">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
146 <param name="genomeSource" type="select" label="&lt;HR&gt;&lt;H2&gt;Map To&lt;/H2&gt;Will you map to a reference genome from your history or use a built-in index?" help="Built-ins were indexed using default options">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
147 <option value="indexed">Use a built-in index</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
148 <option value="gmapdb">Use gmapdb from the history</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
149 <option value="history">Use a fasta reference sequence from the history</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
150 </param>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
151 <when value="indexed">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
152 <param name="gmapindex" type="select" label="Select a reference genome" help="if your genome of interest is not listed - contact Galaxy team">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
153 <options from_file="gmap_indices.loc">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
154 <column name="uid" index="0" />
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
155 <column name="dbkey" index="1" />
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
156 <column name="name" index="2" />
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
157 <column name="kmers" index="3" />
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
158 <column name="maps" index="4" />
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
159 <column name="snps" index="5" />
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
160 <column name="value" index="6" />
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
161 </options>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
162 </param>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
163 <param name="kmer" type="select" data_ref="gmapindex" label="kmer size" help="Defaults to highest available kmer size">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
164 <options from_file="gmap_indices.loc">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
165 <column name="name" index="3"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
166 <column name="value" index="3"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
167 <filter type="param_value" ref="gmapindex" column="6"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
168 <filter type="multiple_splitter" column="3" separator=","/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
169 <filter type="add_value" name="" value=""/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
170 <filter type="sort_by" column="3"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
171 </options>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
172 </param>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
173 <param name="map" type="select" data_ref="gmapindex" label="Look for splicing involving known sites or known introns" help="">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
174 <options from_file="gmap_indices.loc">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
175 <column name="name" index="4"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
176 <column name="value" index="4"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
177 <filter type="param_value" ref="gmapindex" column="6"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
178 <filter type="multiple_splitter" column="4" separator=","/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
179 <filter type="add_value" name="" value=""/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
180 <filter type="sort_by" column="4"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
181 </options>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
182 </param>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
183 </when>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
184 <when value="gmapdb">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
185 <param name="gmapdb" type="data" format="gmapdb" metadata_name="dbkey" label="Select a gmapdb"
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
186 help="A GMAP database built with GMAP Build"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
187 <param name="kmer" type="select" data_ref="gmapdb" label="kmer size" help="Defaults to highest available kmer size">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
188 <options>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
189 <filter type="data_meta" ref="gmapdb" key="kmers" multiple="True" separator=","/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
190 </options>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
191 </param>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
192 <param name="map" type="select" data_ref="gmapdb" label="Use map for splicing involving known sites or known introns" help="">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
193 <options>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
194 <filter type="data_meta" ref="gmapdb" key="maps" multiple="True"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
195 </options>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
196 </param>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
197 </when>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
198 <when value="history">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
199 <param name="ownFile" type="data" format="fasta" metadata_name="dbkey" label="Select the reference genome"
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
200 help="Fasta containing genomic DNA sequence"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
201 </when>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
202 </conditional>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
203
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
204
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
205 <!-- Computation options -->
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
206 <conditional name="computation">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
207 <param name="options" type="select" label="&lt;HR&gt;Computational Settings" help="">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
208 <option value="default">Use default settings</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
209 <option value="advanced">Set Computation Options</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
210 </param>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
211 <when value="default"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
212 <when value="advanced">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
213 <param name="nosplicing" type="boolean" truevalue="--nosplicing" falsevalue="" checked="false" label="Turn off splicing" help="(useful for aligning genomic sequences onto a genome)"/>
8
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
214 <param name="min_intronlength" type="integer" value="" optional="true" label="Min length for one internal intron (default 9)." help="Below this size, a genomic gap will be considered a deletion rather than an intron." >
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
215 <validator type="in_range" message="min_intronlength must be positive" min="0" />
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
216 </param>
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
217 <param name="intronlength" type="integer" value="" optional="true" label="Max length for one intron (default 1000000)" >
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
218 <validator type="in_range" message="intronlength must be positive" min="0" />
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
219 </param>
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
220 <param name="localsplicedist" type="integer" value="" optional="true" label="Max length for known splice sites at ends of sequence (default 200000)" >
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
221 <validator type="in_range" message="localsplicedist must be positive" min="0" />
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
222 </param>
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
223 <param name="totallength" type="integer" value="" optional="true" label="Max total intron length (default 2400000)" >
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
224 <validator type="in_range" message="totallength must be positive" min="0" />
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
225 </param>
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
226 <param name="chimera_margin" type="integer" value="" optional="true" label="Amount of unaligned sequence that triggers search for a chimera"
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
227 help=" default is 40, To turn off, set to a large value (greater than the query length)" >
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
228 <validator type="in_range" message="chimera_margin must be positive" min="0" />
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
229 </param>
7
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
230 <param name="direction" type="select" label="cDNA direction">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
231 <option value="auto">auto</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
232 <option value="sense_force">sense_force</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
233 <option value="antisense_force">antisense_force</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
234 <option value="sense_filter">sense_filter</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
235 <option value="antisense_filter">antisense_filter</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
236 </param>
8
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
237 <param name="trimendexons" type="integer" value="" optional="true" label="Trim end exons with fewer than given number of matches (in nt, default 12)" >
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
238 <validator type="in_range" message="trimendexons must be positive" min="1" />
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
239 </param>
7
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
240 <param name="cross_species" type="boolean" truevalue="--cross-species" falsevalue="" checked="false" label="Cross-species alignment" help="For cross-species alignments, use a more sensitive search for canonical splicing"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
241
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
242 <param name="canonical" type="select" label="Reward for canonical and semi-canonical introns">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
243 <option value="1">high reward (default)</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
244 <option value="0">low reward</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
245 <option value="2">low reward for high-identity sequences</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
246 </param>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
247 <param name="allow_close_indels" type="select" label="Allow an insertion and deletion close to each other">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
248 <option value="1" selected="true">yes (default)</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
249 <option value="0">no</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
250 <option value="2">only for high-quality alignments</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
251 </param>
8
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
252 <param name="microexon_spliceprob" type="float" value="" optional="true" label="Micro Exon splice probablility threshold"
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
253 help="Allow microexons only if one of the splice site probabilities is greater than this value (default 0.90)" >
7
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
254 <validator type="in_range" message="slice probability between 0.00 and 1.00" min="0" max="1"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
255 </param>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
256 <param name="prunelevel" type="select" label="Pruning level">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
257 <option value="0">no pruning (default)</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
258 <option value="1">poor sequences</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
259 <option value="2">repetitive sequences</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
260 <option value="3">poor and repetitive sequences</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
261 </param>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
262 <!-- could do this as a config file
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
263 <param name="chrsubsetfile" type="data" format="fasta" label="User-supplied chromosome subset file" />
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
264 <param name="chrsubset" type="text" label="Chromosome subset to search" />
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
265 -->
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
266 </when>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
267 </conditional>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
268
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
269 <!-- Advanced Settings -->
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
270 <conditional name="advanced">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
271 <param name="options" type="select" label="&lt;HR&gt;Advanced Settings" help="">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
272 <option value="default">Use default settings</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
273 <option value="used">Set Options</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
274 </param>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
275 <when value="default"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
276 <when value="used">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
277 <param name="nolengths" type="boolean" checked="false" truevalue="--nolengths=true" falsevalue="" label="No intron lengths in alignment"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
278 <param name="invertmode" type="select" label=" Mode for alignments to genomic (-) strand" help="">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
279 <option value="">Don't invert the cDNA (default)</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
280 <option value="--invertmode=1">Invert cDNA and print genomic (-) strand</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
281 <option value="--invertmode=2">Invert cDNA and print genomic (+) strand</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
282 </param>
8
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
283 <param name="introngap" type="integer" value="" optional="true" label="Nucleotides to show on each end of intron (default=3)">
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
284 <validator type="in_range" message="introngap must be positive" min="0" />
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
285 </param>
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
286 <param name="wraplength" type="integer" value="" optional="true" label="Line Wrap length for alignment (default=50)">
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
287 <validator type="in_range" message="wraplength must be positive" min="1" />
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
288 </param>
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
289 <param name="npaths" type="integer" value="" optional="true"
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
290 label="Maximum number of paths to show. Ignored if negative. If 0, prints two paths if chimera detected, else one." >
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
291 <validator type="in_range" message="npaths must be positive" min="0" />
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
292 </param>
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
293 <param name="suboptimal_score" type="integer" value="" optional="true"
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
294 label="Report only paths whose score is within this value of the best path"
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
295 help="By default the program prints all paths found." >
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
296 <validator type="in_range" message="suboptimal_score must be positive" min="0" />
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
297 </param>
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
298 <param name="chimera_overlap" type="integer" value="" optional="true" label="Overlap to show, if any, at chimera breakpoint (default 0)" >
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
299 <validator type="in_range" message="chimera_overlap must be positive" min="0" />
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
300 </param>
7
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
301 <param name="tolerant" type="boolean" checked="false" truevalue="--tolerant=true" falsevalue=""
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
302 label="Translates cDNA with corrections for frameshifts"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
303 <param name="protein" type="select" label="Protein alignment" help="">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
304 <option value="">default</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
305 <option value="--fulllength=true">Assume full-length protein, starting with Met</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
306 <option value="--truncate=true">Truncate alignment around full-length protein, Met to Stop</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
307 </param>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
308 </when>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
309 </conditional>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
310
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
311 <!-- Output data -->
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
312 <conditional name="result">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
313 <param name="format" type="select" label="&lt;HR&gt;&lt;H2&gt;Output&lt;/H2&gt;Select the output format" help="">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
314 <option value="gmap">GMAP default output</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
315 <option value="summary">Summary of alignments</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
316 <option value="align">Alignment</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
317 <option value="continuous">Alignment in three continuous lines</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
318 <option value="continuous-by-exon">Alignment in three lines per exon</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
319 <option value="compress">Print output in compressed format</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
320 <option value="exons_dna">Print exons cDNA</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
321 <option value="exons_gen">Print exons genomic</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
322 <option value="protein_dna">Print protein sequence (cDNA)</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
323 <option value="protein_gen">Print protein sequence (genomic)</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
324 <option value="psl">PSL (BLAT) format</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
325 <option value="gff3_gene">GFF3 gene format</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
326 <option value="gff3_match_cdna">GFF3 match cDNA format</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
327 <option value="gff3_match_est">GFF3 match EST format</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
328 <option value="splicesites">splicesites output (for GSNAP)</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
329 <option value="introns">introns output (for GSNAP)</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
330 <option value="map_exons">IIT FASTA exon map format</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
331 <option value="map_genes">IIT FASTA map format</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
332 <option value="coords">coords in table format</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
333 <option value="sam" selected="true">SAM format</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
334 </param>
8
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
335 <when value="gmap">
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
336 </when>
7
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
337 <when value="summary"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
338 <when value="align">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
339 </when>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
340 <when value="continuous">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
341 </when>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
342 <when value="continuous-by-exon">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
343 </when>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
344 <when value="compress"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
345 <when value="exons_dna"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
346 <when value="exons_gen"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
347 <when value="protein_dna"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
348 <when value="protein_gen"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
349 <when value="psl"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
350 <when value="gff3_gene"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
351 <when value="gff3_match_cdna"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
352 <when value="gff3_match_est"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
353 <when value="splicesites"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
354 <when value="introns"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
355 <when value="map_exons"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
356 <when value="map_genes"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
357 <when value="coords"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
358 <when value="sam">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
359 <param name="sam_paired_read" type="boolean" truevalue="sampe" falsevalue="samse" checked="false" label="SAM paired reads"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
360 <param name="no_sam_headers" type="boolean" truevalue="--no-sam-headers" falsevalue="" checked="false" label="Do not print headers beginning with '@'"/>
8
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
361 <!-- Removed in gmap version 2011-11-30
7
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
362 <param name="noncanonical_splices" type="select" label="Print non-canonical genomic gaps greater than 20 nt in CIGAR string as STRING.">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
363 <option value="">Use default</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
364 <option value="N">N</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
365 <option value="D">D</option>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
366 </param>
8
a89fec682254 gmap/gsnap updated to version 2011-11-30
Jim Johnson <jj@umn.edu>
parents: 7
diff changeset
367 -->
7
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
368 <param name="read_group_id" type="text" value="" label="Value to put into read-group id (RG-ID) field"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
369 <param name="read_group_name" type="text" value="" label="Value to put into read-group name (RG-SM) field"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
370 <param name="read_group_library" type="text" value="" label="Value to put into read-group library (RG-LB) field"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
371 <param name="read_group_platform" type="text" value="" label="Value to put into read-group library platform (RG-PL) field"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
372 </when>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
373 </conditional> <!-- name="result" -->
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
374
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
375 <param name="split_output" type="boolean" truevalue="--split-output=gmap_out" falsevalue="" checked="false" label="Separate outputs for nomapping, uniq, mult, and chimera" help="(chimera only when chimera-margin is selected)"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
376
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
377
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
378 <!--
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
379 map=iitfile Map file. If argument is '?' (with the quotes), this lists available map files.
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
380 mapexons Map each exon separately
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
381 mapboth Report hits from both strands of genome
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
382 flanking=INT Show flanking hits (default 0)
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
383 print-comment Show comment line for each hit
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
384 -->
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
385
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
386
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
387 </inputs>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
388 <outputs>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
389 <data format="txt" name="gmap_stderr" label="${tool.name} on ${on_string}: stderr"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
390 <data format="txt" name="output" label="${tool.name} on ${on_string} ${result.format}" >
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
391 <filter>(split_output == False)</filter>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
392 <change_format>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
393 <when input="result['format']" value="gff3_gene" format="gff3"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
394 <when input="result['format']" value="gff3_match_cdna" format="gff3"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
395 <when input="result['format']" value="gff3_match_est" format="gff3"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
396 <when input="result['format']" value="sam" format="sam"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
397 <when input="result['format']" value="splicesites" format="gmap_splicesites"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
398 <when input="result['format']" value="introns" format="gmap_introns"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
399 <when input="result['format']" value="map_genes" format="gmap_annotation"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
400 <when input="result['format']" value="map_exons" format="gmap_annotation"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
401 </change_format>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
402 </data>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
403 <data format="txt" name="uniq" label="${tool.name} on ${on_string} uniq.${result.format}" from_work_dir="gmap_out.uniq">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
404 <filter>(split_output == True)</filter>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
405 <change_format>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
406 <when input="result['format']" value="gff3_gene" format="gff3"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
407 <when input="result['format']" value="gff3_match_cdna" format="gff3"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
408 <when input="result['format']" value="gff3_match_est" format="gff3"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
409 <when input="result['format']" value="sam" format="sam"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
410 <when input="result['format']" value="splicesites" format="gmap_splicesites"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
411 <when input="result['format']" value="introns" format="gmap_introns"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
412 <when input="result['format']" value="map_genes" format="gmap_annotation"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
413 <when input="result['format']" value="map_exons" format="gmap_annotation"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
414 </change_format>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
415 </data>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
416 <data format="txt" name="transloc" label="${tool.name} on ${on_string} transloc.${result.format}" from_work_dir="gmap_out.transloc">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
417 <filter>(split_output == True)</filter>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
418 <change_format>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
419 <when input="result['format']" value="gff3_gene" format="gff3"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
420 <when input="result['format']" value="gff3_match_cdna" format="gff3"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
421 <when input="result['format']" value="gff3_match_est" format="gff3"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
422 <when input="result['format']" value="sam" format="sam"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
423 <when input="result['format']" value="splicesites" format="gmap_splicesites"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
424 <when input="result['format']" value="introns" format="gmap_introns"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
425 <when input="result['format']" value="map_genes" format="gmap_annotation"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
426 <when input="result['format']" value="map_exons" format="gmap_annotation"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
427 </change_format>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
428 </data>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
429 <data format="txt" name="nomapping" label="${tool.name} on ${on_string} nomapping.${result.format}" from_work_dir="gmap_out.nomapping">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
430 <filter>(split_output == True)</filter>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
431 <change_format>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
432 <when input="result['format']" value="gff3_gene" format="gff3"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
433 <when input="result['format']" value="gff3_match_cdna" format="gff3"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
434 <when input="result['format']" value="gff3_match_est" format="gff3"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
435 <when input="result['format']" value="sam" format="sam"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
436 <when input="result['format']" value="splicesites" format="gmap_splicesites"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
437 <when input="result['format']" value="introns" format="gmap_introns"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
438 <when input="result['format']" value="map_genes" format="gmap_annotation"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
439 <when input="result['format']" value="map_exons" format="gmap_annotation"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
440 </change_format>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
441 </data>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
442 <data format="txt" name="mult" label="${tool.name} on ${on_string} mult.${result.format}" from_work_dir="gmap_out.mult">
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
443 <filter>(split_output == True)</filter>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
444 <change_format>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
445 <when input="result['format']" value="gff3_gene" format="gff3"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
446 <when input="result['format']" value="gff3_match_cdna" format="gff3"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
447 <when input="result['format']" value="gff3_match_est" format="gff3"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
448 <when input="result['format']" value="sam" format="sam"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
449 <when input="result['format']" value="splicesites" format="gmap_splicesites"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
450 <when input="result['format']" value="introns" format="gmap_introns"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
451 <when input="result['format']" value="map_genes" format="gmap_annotation"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
452 <when input="result['format']" value="map_exons" format="gmap_annotation"/>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
453 </change_format>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
454 </data>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
455 </outputs>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
456 <tests>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
457 </tests>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
458
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
459 <help>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
460
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
461 **What it does**
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
462
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
463 GMAP_ (Genomic Mapping and Alignment Program) The functionality provided by gmap allows a user to: (1) map and align a single cDNA interactively against a large genome in about a second, without the startup time of several minutes typically needed by existing mapping programs; (2) switch arbitrarily among different genomes, without the need for a preloaded server dedicated to each genome; (3) run the program on computers with as little as 128 MB of RAM (random access memory); (4) perform high-throughput batch processing of cDNAs by using memory mapping and multithreading when appropriate memory and hardware are available; (5) generate accurate gene models, even in the presence of substantial polymorphisms and sequence errors; (6) locate splice sites accurately without the use of probabilistic splice site models, allowing generalized use of the program across species; (7) detect statistically significant microexons and incorporate them into the alignment; and (8) handle mapping and alignment tasks on genomes having alternate assemblies, linkage groups or strains. It is developed by Thomas D. Wu of Genentech, Inc.
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
464
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
465 Publication_ citation: Thomas D. Wu, Colin K. Watanabe Bioinformatics 2005 21(9):1859-1875; doi:10.1093/bioinformatics/bti310
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
466
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
467 .. _GMAP: http://research-pub.gene.com/gmap/
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
468 .. _Publication: http://bioinformatics.oxfordjournals.org/cgi/content/full/21/9/1859
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
469
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
470 ------
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
471
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
472 **Know what you are doing**
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
473
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
474 .. class:: warningmark
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
475
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
476 You will want to read the README_
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
477
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
478 .. _README: http://research-pub.gene.com/gmap/src/README
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
479
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
480 </help>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
481 </tool>
561503a442f0 refactor
Jim Johnson <jj@umn.edu>
parents:
diff changeset
482