annotate gsnap.xml @ 6:4f358603ee12 draft default tip

Uploaded v3.0.1c with table fix
author peterjc
date Fri, 21 Oct 2016 11:15:09 -0400
parents 14561eb803a5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
1 <tool id="gsnap" name="GSNAP" version="3.0.1">
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
2 <description>Genomic Short-read Nucleotide Alignment Program</description>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
3 <requirements>
2
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
4 <requirement type="package" version="2013-05-09">gmap</requirement>
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
5 </requirements>
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
6 <version_command>gsnap --version</version_command>
5
14561eb803a5 Uploaded v3.0.1b (still working on this prior to main Tool Shed release)
peterjc
parents: 3
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
8 #import os.path, re
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
9 gsnap
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
10 --nthreads="4" --ordered
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
11 #if $refGenomeSource.genomeSource == "gmapdb":
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
12 --dir=$refGenomeSource.gmapdb.extra_files_path --db=$refGenomeSource.gmapdb.metadata.db_name
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
13 #else:
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
14 --dir=$os.path.dirname($refGenomeSource.gmapindex.value) --db=$os.path.basename($refGenomeSource.gmapindex.value)
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
15 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
16 #if $refGenomeSource.kmer != None and len($refGenomeSource.kmer.__str__) == 2:
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
17 --kmer=$refGenomeSource.kmer
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
18 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
19 #if $refGenomeSource.use_splicing.src == 'gmapdb':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
20 #if $refGenomeSource.use_splicing.splicemap != None and len($refGenomeSource.use_splicing.splicemap.__str__) > 0:
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
21 -s $refGenomeSource.use_splicing.splicemap.value
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
22 #if $computation.trim_mismatch_score.__str__ == '0':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
23 $ambig_splice_noclip
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
24 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
25 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
26 #elif $refGenomeSource.use_splicing.src == 'history':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
27 #if $refGenomeSource.use_splicing.splicemap != None and len($refGenomeSource.use_splicing.splicemap.__str__) > 0:
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
28 -S $os.path.dirname($refGenomeSource.use_splicing.splicemap) -s $os.path.basename($refGenomeSource.use_splicing.splicemap)
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
29 #if $computation.trim_mismatch_score.__str__ == '0':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
30 $ambig_splice_noclip
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
31 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
32 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
33 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
34 #if $refGenomeSource.use_snps.src == 'gmapdb':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
35 #if $refGenomeSource.use_snps.snpindex != None and len($refGenomeSource.use_snps.snpindex.__str__) > 0:
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
36 -v $refGenomeSource.use_snps.snpindex.value
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
37 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
38 #elif $refGenomeSource.use_snps.src == 'history':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
39 #if $refGenomeSource.use_snps.snpindex != None and len($refGenomeSource.use_snps.snpindex.__str__) > 0:
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
40 -V $refGenomeSource.use_snps.snpindex.extra_files_path -v $refGenomeSource.use_snps.snpindex.metadata.snps_name
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
41 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
42 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
43 #if $refGenomeSource.mode.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
44 --mode=$refGenomeSource.mode
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
45 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
46 #* ## No longer in options as of version 2011-11-30
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
47 #if $mapq_unique_score.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
48 --mapq-unique-score=$mapq_unique_score
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
49 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
50 *#
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
51 #if $computation.options == "advanced":
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
52 #if $computation.max_mismatches.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
53 --max-mismatches=$computation.max_mismatches
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
54 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
55 $computation.query_unk_mismatch
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
56 $computation.genome_unk_mismatch
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
57 #if $computation.terminal_threshold.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
58 --terminal-threshold=$computation.terminal_threshold
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
59 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
60 #if $computation.indel_penalty.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
61 --indel-penalty=$computation.indel_penalty
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
62 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
63 #if $computation.indel_endlength.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
64 --indel-endlength=$computation.indel_endlength
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
65 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
66 #if $computation.max_middle_insertions.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
67 --max-middle-insertions=$computation.max_middle_insertions
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
68 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
69 #if $computation.max_middle_deletions.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
70 --max-middle-deletions=$computation.max_middle_deletions
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
71 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
72 #if $computation.max_end_insertions.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
73 --max-end-insertions=$computation.max_end_insertions
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
74 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
75 #if $computation.max_end_deletions.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
76 --max-end-deletions=$computation.max_end_deletions
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
77 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
78 #if $computation.suboptimal_levels.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
79 --suboptimal-levels=$computation.suboptimal_levels
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
80 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
81 #if $computation.adapter_strip.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
82 --adapter-strip=$computation.adapter_strip
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
83 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
84 #if $computation.trim_mismatch_score.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
85 --trim-mismatch-score=$computation.trim_mismatch_score
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
86 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
87 #if $computation.trim_indel_score.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
88 --trim-indel-score=$computation.trim_indel_score
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
89 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
90 ## TODO - do we need these options (Is it tally XOR runlength?):
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
91 ## --tallydir= --use-tally=tally
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
92 ## --runlengthdir --use-runlength=runlength
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
93 #if $computation.use_tally != None and len($computation.use_tally.__str__) > 0:
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
94 ##--tallydir $os.path.dirname($computation.use_tally) --use-tally $os.path.basename($computation.use_tally)
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
95 --use-tally=$computation.use_tally
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
96 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
97 ## gmap options
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
98 #if $computation.gmap_mode.__str__ != '' and $computation.gmap_mode.__str__ != 'None':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
99 --gmap-mode='$computation.gmap_mode'
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
100 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
101 #if $computation.trigger_score_for_gmap.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
102 --trigger-score-for-gmap=$computation.trigger_score_for_gmap
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
103 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
104 #if $computation.max_gmap_pairsearch.__str__ != '' and $re.search("pairsearch",$computation.gmap_mode):
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
105 --max-gmap-pairsearch=$computation.max_gmap_pairsearch
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
106 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
107 #if $computation.max_gmap_terminal.__str__ != '' and $re.search("terminal",$computation.gmap_mode):
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
108 --max-gmap-terminal=$computation.max_gmap_terminal
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
109 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
110 #if $computation.max_gmap_improvement.__str__ != '' and $re.search("improv",$computation.gmap_mode):
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
111 --max-gmap-improvement=$computation.max_gmap_improvement
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
112 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
113 #if $computation.microexon_spliceprob.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
114 --microexon-spliceprob=$computation.microexon_spliceprob
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
115 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
116 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
117 #if $splicing.options == "advanced":
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
118 $splicing.novelsplicing
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
119 #if $splicing.localsplicedist.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
120 --localsplicedist=$splicing.localsplicedist
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
121 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
122 #if $splicing.local_splice_penalty.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
123 --local-splice-penalty=$splicing.local_splice_penalty
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
124 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
125 #if $splicing.distant_splice_penalty.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
126 --distant-splice-penalty=$splicing.distant_splice_penalty
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
127 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
128 #if $splicing.local_splice_endlength.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
129 --local-splice-endlength=$splicing.local_splice_endlength
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
130 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
131 #if $splicing.distant_splice_endlength.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
132 --distant-splice-endlength=$splicing.distant_splice_endlength
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
133 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
134 #if $splicing.distant_splice_identity.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
135 --distant-splice-identity=$splicing.distant_splice_identity
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
136 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
137 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
138 #if $output.options == "advanced":
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
139 #if $output.npath.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
140 --npath=$output.npath
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
141 #end if
2
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
142 #if $output.maxsearch.__str__ != '':
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
143 --maxsearch=$output.maxsearch
2
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
144 #end if
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
145 $output.quiet_if_excessive
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
146 $output.show_refdiff
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
147 $output.clip_overlap
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
148 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
149 #if $result.format == "sam":
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
150 --format=sam
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
151 $result.no_sam_headers
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
152 #if $result.read_group_id.__str__.strip != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
153 --read-group-id='$result.read_group_id'
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
154 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
155 #if $result.read_group_name.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
156 --read-group-name='$result.read_group_name'
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
157 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
158 #if $result.read_group_library.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
159 --read-group-library='$result.read_group_library'
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
160 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
161 #if $result.read_group_platform.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
162 --read-group-platform='$result.read_group_platform'
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
163 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
164 #if $result.quality_shift.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
165 --quality-shift=$result.quality_shift
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
166 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
167 #elif $result.format == "goby":
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
168 #if $result.goby_output.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
169 --goby-output='$result.goby_output'
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
170 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
171 #if $result.creads_window_start.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
172 --creads-window-start=$result.creads_window_start
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
173 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
174 #if $result.creads_window_end.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
175 --creads-window-end=$result.creads_window_end
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
176 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
177 $result.creads_complement
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
178 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
179 #if $results.split_output == 'yes':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
180 --split-output=gsnap_out
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
181 #if $results.fails.choice == 'nofails':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
182 --nofails
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
183 #elif $results.fails.choice == 'failsonly':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
184 --failsonly
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
185 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
186 $results.fails_as_input
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
187 #else
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
188 #if $results.fails.choice == 'nofails':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
189 --nofails
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
190 #elif $results.fails.choice == 'failsonly':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
191 --failsonly
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
192 $results.fails.fails_as_input
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
193 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
194 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
195 #if $seq.format == "gsnap_fasta":
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
196 $seq.circularinput $seq.gsnap
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
197 #else if $seq.format == "fastq":
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
198 #if $seq.barcode_length.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
199 --barcode-length=$seq.barcode_length
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
200 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
201 #if $seq.fastq_id_start.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
202 --fastq-id-start=$seq.fastq_id_start
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
203 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
204 #if $seq.fastq_id_end.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
205 --fastq-id-end=$seq.fastq_id_end
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
206 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
207 #if $seq.filter_chastity.__str__ != 'off':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
208 --filter-chastity=$seq.filter_chastity
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
209 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
210 #if $seq.paired.ispaired.__str__ == 'yes':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
211 #if $seq.paired.pairmax_dna.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
212 --pairmax-dna=$seq.paired.pairmax_dna
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
213 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
214 #if $seq.paired.pairmax_rna.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
215 --pairmax-rna=$seq.paired.pairmax_rna
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
216 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
217 #if $seq.paired.pairexpect.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
218 --pairexpect=$seq.paired.pairexpect
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
219 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
220 #if $seq.paired.pairdev.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
221 --pairdev=$seq.paired.pairdev
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
222 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
223 $seq.fastq $seq.paired.fastq
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
224 #else
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
225 $seq.fastq
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
226 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
227 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
228 #if $results.split_output == 'yes':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
229 2> $gsnap_stderr
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
230 #else:
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
231 #if $results.fails.choice.__str__ == 'failsonly' and $results.fails.fails_as_input.__str__ != '':
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
232 2> $gsnap_stderr > $gsnap_fq
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
233 #else
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
234 2> $gsnap_stderr > $gsnap_out
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
235 #end if
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
236 #end if
5
14561eb803a5 Uploaded v3.0.1b (still working on this prior to main Tool Shed release)
peterjc
parents: 3
diff changeset
237 ]]></command>
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
238 <inputs>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
239 <!-- Input data -->
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
240 <conditional name="seq">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
241 <param name="format" type="select" label="&lt;H2&gt;Input Sequences&lt;/H2&gt;Select the input format" help="">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
242 <option value="fastq">Fastq</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
243 <!--
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
244 <option value="goby">Goby compact-reads</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
245 -->
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
246 <option value="gsnap_fasta">GNSAP fasta</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
247 </param>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
248 <when value="fastq">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
249 <param name="fastq" type="data" format="fastq" label="Select a fastq dataset" />
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
250 <conditional name="paired">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
251 <param name="ispaired" type="boolean" truevalue="yes" falsevalue="no" checked="false" label="Use Paired Reads?"/>
2
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
252 <when value="no">
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
253 <!--
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
254 Could allow multiple input fastq and set the force-single-end flag
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
255 force-single-end When multiple FASTQ files are provided on the command line, GSNAP assumes
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
256 they are match paired-end files. This flag treats each file as single-end.
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
257 -->
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
258 </when>
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
259 <when value="yes">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
260 <param name="fastq" type="data" format="fastq" label="Select the paired reads reverse dataset" />
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
261 <param name="orientation" type="select" label="Orientation of paired-end reads" help="">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
262 <option value="FR">fwd-rev, typical Illumina default</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
263 <option value="RF">rev-fwd, for circularized inserts</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
264 <option value="FF">fwd-fwd, same strand</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
265 </param>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
266 <param name="pairmax_dna" type="integer" value="" optional="true" label="Max total genomic length for DNA-Seq paired reads, or other reads without splicing (default 1000)." help="Used if no splice file is provided and novelsplicing is off."/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
267 <param name="pairmax_rna" type="integer" value="" optional="true" label="Max total genomic length for RNA-Seq paired reads, or other reads that could have a splice (default 200000)." help="Used when novel splicing is specified or a splice file is provided. Should probably match the value for localsplicedist."/>
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
268 <param name="pairexpect" type="integer" value="" optional="true" label="Expected paired-end length"
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
269 help="Used for calling splices in medial part of paired-end reads (default 200)"/>
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
270 <param name="pairdev" type="integer" value="" optional="true" label="Allowable deviation from expected paired-end length"
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
271 help="Used for calling splices in medial part of paired-end reads (default 25)"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
272 </when>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
273 </conditional>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
274 <param name="barcode_length" type="integer" value="" optional="true" label="Amount of barcode to remove from start of read (default 0)" />
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
275 <param name="fastq_id_start" type="integer" value="" optional="true" label="Starting field of identifier in FASTQ header, whitespace-delimited, starting from 1" />
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
276 <param name="fastq_id_end" type="integer" value="" optional="true" label="Ending field of identifier in FASTQ header, whitespace-delimited, starting from 1"
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
277 help="Examples:
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
278 &lt;br&gt;@HWUSI-EAS100R:6:73:941:1973#0/1
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
279 &lt;br&gt; . start=1, end=1 (default) => identifier is HWUSI-EAS100R:6:73:941:1973#0/1
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
280 &lt;br&gt;@SRR001666.1 071112_SLXA-EAS1_s_7:5:1:817:345 length=36
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
281 &lt;br&gt; . start=1, end=1 => identifier is SRR001666.1
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
282 &lt;br&gt; . start=2, end=2 => identifier is 071112_SLXA-EAS1_s_7:5:1:817:345
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
283 &lt;br&gt; . start=1, end=2 => identifier is SRR001666.1 071112_SLXA-EAS1_s_7:5:1:817:345"
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
284 />
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
285 <param name="filter_chastity" type="select" label="Skip reads marked by the Illumina chastity program"
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
286 help="String after the accession having a 'Y' after the first colon, like this:
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
287 &lt;br&gt;@accession 1:Y:0:CTTGTA
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
288 &lt;br&gt;where the 'Y' signifies filtering by chastity.
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
289 &lt;br&gt; For 'either', a 'Y' on either end of a paired-end read will be filtered.
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
290 &lt;br&gt; For 'both', a 'Y' is required on both ends of a paired-end read (or on the only end of a single-end read)"
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
291 >
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
292 <option value="off">off - no filtering</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
293 <option value="either">either - a 'Y' on either end of a paired-end read</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
294 <option value="both">both - a 'Y' is required on both ends of a paired-end read or the only end of a single-end read</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
295 </param>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
296 </when>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
297 <!--
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
298 <when value="goby">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
299 </when>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
300 -->
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
301 <when value="gsnap_fasta">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
302 <param name="gsnap" type="data" format="fasta" label="Select a single-end dataset" help="GSNAP fasta must have the sequence entirely on one line, a second line is interpreted as the paired-end sequence"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
303 <param name="circularinput" type="boolean" checked="false" truevalue="--circular-input=true" falsevalue="" label="Circular-end data (paired reads are on same strand)"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
304 </when>
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
305
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
306 </conditional>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
307 <!-- No longer in options as of version 2011-11-30
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
308 <param name="mapq_unique_score" type="integer" value="" optional="true" label="MAPQ score threshold"
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
309 help="For multiple results, consider as a unique result if only one of the results has a MAPQ score equal or greater than this
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
310 (if not selected, then reports all multiple results, up to npaths)" />
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
311 -->
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
312
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
313 <!-- GMAPDB for alignment -->
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
314 <conditional name="refGenomeSource">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
315 <param name="genomeSource" type="select" label="&lt;HR&gt;&lt;H2&gt;Align To&lt;/H2&gt;Will you select a reference genome from your history or use a built-in index?" help="Built-ins were indexed using default options">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
316 <option value="indexed">Use a built-in index</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
317 <option value="gmapdb">Use a gmapdb from your history</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
318 </param>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
319 <when value="indexed">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
320 <param name="gmapindex" type="select" label="Select a reference genome" help="if your genome of interest is not listed - contact Galaxy team">
5
14561eb803a5 Uploaded v3.0.1b (still working on this prior to main Tool Shed release)
peterjc
parents: 3
diff changeset
321 <options from_data_table="gmap_indices">
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
322 <column name="uid" index="0" />
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
323 <column name="dbkey" index="1" />
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
324 <column name="name" index="2" />
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
325 <column name="kmers" index="3" />
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
326 <column name="maps" index="4" />
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
327 <column name="snps" index="5" />
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
328 <column name="value" index="6" />
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
329 </options>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
330 </param>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
331
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
332 <param name="kmer" type="select" data_ref="gmapindex" label="kmer size" help="Defaults to highest available kmer size">
5
14561eb803a5 Uploaded v3.0.1b (still working on this prior to main Tool Shed release)
peterjc
parents: 3
diff changeset
333 <options from_data_table="gmap_indices">
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
334 <column name="name" index="3"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
335 <column name="value" index="3"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
336 <filter type="param_value" ref="gmapindex" column="6"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
337 <filter type="multiple_splitter" column="3" separator=","/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
338 <filter type="add_value" name="" value=""/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
339 <filter type="sort_by" column="3"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
340 </options>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
341 </param>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
342
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
343 <param name="mode" type="select" label="Alignment mode" help="Assumes cmetindex and atoiindex were run on the gmap datatbase.">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
344 <option value="">standard</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
345 <option value="cmet-stranded">cmet-stranded for bisulfite-treated DNA reads (tolerance to C-to-T changes)</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
346 <option value="cmet-nonstranded">cmet-nonstranded for bisulfite-treated DNA reads (tolerance to C-to-T changes)</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
347 <option value="atoi-stranded">atoi-stranded for RNA-editing tolerance (A-to-G changes)</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
348 <option value="atoi-nonstranded">atoi-nonstranded for RNA-editing tolerance (A-to-G changes)</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
349 </param>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
350
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
351 <conditional name="use_splicing">
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
352 <param name="src" type="select" label="&lt;HR&gt;Known Splicesite and Introns"
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
353 help="Look for splicing involving known sites or known introns at short or long distances
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
354 See README instructions for the distinction between known sites and known introns">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
355 <option value="none" selected="true">None</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
356 <option value="gmapdb">From the GMAP Database</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
357 <option value="history">A Map in your history</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
358 </param>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
359 <when value="none"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
360 <when value="history">
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
361 <param name="splicemap" type="data" format="splicesites.iit,introns.iit" label="Select a splicesite map"
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
362 help="built with GMAP IIT"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
363 </when>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
364 <when value="gmapdb">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
365 <param name="splicemap" type="select" data_ref="gmapindex" label="Use map for splicing involving known sites or known introns" help="">
5
14561eb803a5 Uploaded v3.0.1b (still working on this prior to main Tool Shed release)
peterjc
parents: 3
diff changeset
366 <options from_data_table="gmap_indices">
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
367 <column name="name" index="4"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
368 <column name="value" index="4"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
369 <filter type="param_value" ref="gmapindex" column="6"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
370 <filter type="multiple_splitter" column="4" separator=","/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
371 <filter type="add_value" name="" value=""/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
372 <filter type="sort_by" column="4"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
373 </options>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
374 </param>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
375 </when>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
376 </conditional>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
377
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
378 <conditional name="use_snps">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
379 <param name="src" type="select" label="&lt;HR&gt;Known SNPs" help="for SNP tolerant alignments">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
380 <option value="none" selected="true">None</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
381 <option value="gmapdb">From the GMAP Database</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
382 <option value="history">A SNP Index in your history</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
383 </param>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
384 <when value="none"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
385 <when value="history">
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
386 <param name="snpindex" type="data" format="gmapsnpindex" label="Select a snpindex"
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
387 help="built with GMAP SNP Index"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
388 </when>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
389 <when value="gmapdb">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
390 <param name="snpindex" type="select" data_ref="gmapindex" label="Use database containing known SNPs" help="">
5
14561eb803a5 Uploaded v3.0.1b (still working on this prior to main Tool Shed release)
peterjc
parents: 3
diff changeset
391 <options from_data_table="gmap_indices">
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
392 <column name="name" index="5"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
393 <column name="value" index="5"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
394 <filter type="param_value" ref="gmapindex" column="6"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
395 <filter type="multiple_splitter" column="5" separator=","/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
396 <filter type="add_value" name="" value=""/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
397 <filter type="sort_by" column="5"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
398 </options>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
399 </param>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
400 </when>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
401 </conditional>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
402
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
403 </when>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
404 <when value="gmapdb">
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
405 <param name="gmapdb" type="data" format="gmapdb" label="Select a gmapdb"
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
406 help="A GMAP database built with GMAP Build"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
407 <param name="kmer" type="select" data_ref="gmapdb" label="kmer size" help="Defaults to highest available kmer size">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
408 <options>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
409 <filter type="data_meta" ref="gmapdb" key="kmers" multiple="True" separator=","/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
410 </options>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
411 </param>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
412
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
413 <param name="mode" type="select" label="Alignment mode" help="Assumes cmetindex and atoiindex were run on the gmap datatbase.">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
414 <option value="">standard</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
415 <option value="cmet-stranded">cmet-stranded for bisulfite-treated DNA reads (tolerance to C-to-T changes)</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
416 <option value="cmet-nonstranded">cmet-nonstranded for bisulfite-treated DNA reads (tolerance to C-to-T changes)</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
417 <option value="atoi-stranded">atoi-stranded for RNA-editing tolerance (A-to-G changes)</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
418 <option value="atoi-nonstranded">atoi-nonstranded for RNA-editing tolerance (A-to-G changes)</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
419 </param>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
420
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
421 <conditional name="use_splicing">
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
422 <param name="src" type="select" label="&lt;HR&gt;Known Splicesite and Introns"
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
423 help="Look for splicing involving known sites or known introns at short or long distances
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
424 See README instructions for the distinction between known sites and known introns">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
425 <option value="none" selected="true">None</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
426 <option value="gmapdb">From the GMAP Database</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
427 <option value="history">A Map in your history</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
428 </param>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
429 <when value="none"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
430 <when value="history">
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
431 <param name="splicemap" type="data" format="splicesites.iit,introns.iit" label="Select a splicesite map"
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
432 help="built with GMAP IIT"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
433 <param name="ambig_splice_noclip" type="boolean" checked="false" truevalue="--ambig-splice-noclip" falsevalue="" label="Do not clip at ambiguous splice sites"
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
434 help="For ambiguous known splicing at ends of the read, do not clip at the splice site, but extend instead into the intron.
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
435 This flag makes sense only if you are trying to eliminate all soft clipping with --trim-mismatch-score=0"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
436 </when>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
437 <when value="gmapdb">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
438 <param name="splicemap" type="select" data_ref="gmapdb" label="Use map for splicing involving known sites or known introns" help="">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
439 <options>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
440 <filter type="data_meta" ref="gmapdb" key="maps" multiple="True"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
441 </options>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
442 </param>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
443 <param name="ambig_splice_noclip" type="boolean" checked="false" truevalue="--ambig-splice-noclip" falsevalue="" label="Do not clip at ambiguous splice sites"
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
444 help="For ambiguous known splicing at ends of the read, do not clip at the splice site, but extend instead into the intron.
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
445 This flag makes sense only if you are trying to eliminate all soft clipping with --trim-mismatch-score=0"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
446 </when>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
447 </conditional>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
448
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
449 <conditional name="use_snps">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
450 <param name="src" type="select" label="&lt;HR&gt;Known SNPs" help="for SNP tolerant alignments">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
451 <option value="none" selected="true">None</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
452 <option value="gmapdb">From the GMAP Database</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
453 <option value="history">A SNP Index in your history</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
454 </param>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
455 <when value="none"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
456 <when value="history">
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
457 <param name="snpindex" type="data" format="gmapsnpindex" label="Select a snpindex"
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
458 help="built with GMAP SNP Index"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
459 </when>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
460 <when value="gmapdb">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
461 <param name="snpindex" type="select" data_ref="gmapdb" label="Use database containing known SNPs" help="">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
462 <options>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
463 <filter type="data_meta" ref="gmapdb" key="snps" multiple="True" separator=","/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
464 </options>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
465 </param>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
466 </when>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
467 </conditional>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
468
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
469 </when>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
470 </conditional>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
471
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
472 <!-- Computation options -->
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
473 <conditional name="computation">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
474 <param name="options" type="select" label="&lt;HR&gt;Computational Settings" help="">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
475 <option value="default">Use default settings</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
476 <option value="advanced">Set Computation Options</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
477 </param>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
478 <when value="default"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
479 <when value="advanced">
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
480 <param name="max_mismatches" type="float" value="" optional="true" label="Maximum number of mismatches allowed (uses default when negative)"
2
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
481 help="Maximum number of mismatches allowed (if not specified, then
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
482 defaults to the ultrafast level of ((readlength+index_interval-1)/kmer - 2))
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
483 (By default, the genome index interval is 3, but this can be changed
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
484 by providing a different value for -q to gmap_build when processing the genome.)
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
485 If specified between 0.0 and 1.0, then treated as a fraction
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
486 of each read length. Otherwise, treated as an integral number
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
487 of mismatches (including indel and splicing penalties)
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
488 For RNA-Seq, you may need to increase this value slightly
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
489 to align reads extending past the ends of an exon.">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
490 <validator type="in_range" message="The mismatches must >= 0." min="0."/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
491 </param>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
492 <param name="query_unk_mismatch" type="boolean" checked="false" truevalue="--query-unk-mismatch=1" falsevalue="" label="Count unknown (N) characters in the query as a mismatch"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
493 <param name="genome_unk_mismatch" type="boolean" checked="true" truevalue="" falsevalue="--genome-unk-mismatch=0" label="Count unknown (N) characters in the genome as a mismatch"/>
2
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
494 <param name="maxsearch" type="integer" value="" optional="true" label="Maximum number of alignments to find (default 1000)"
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
495 help="Must be larger than paths, which is the number to report.
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
496 Keeping this number large will allow for random selection among multiple alignments.
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
497 Reducing this number can speed up the program. "/>
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
498
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
499 <param name="terminal_threshold" type="integer" value="" optional="true" label="Threshold for searching for a terminal alignment"
2
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
500 help="Threshold for searching for a terminal alignment (from one end of the
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
501 read to the best possible position at the other end) (default 2
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
502 for standard, atoi-stranded, and atoi-nonstranded mode; default 100
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
503 for cmet-stranded and cmet-nonstranded mode).
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
504 For example, if this value is 2, then if GSNAP finds an exact or
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
505 1-mismatch alignment, it will not try to find a terminal alignment.
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
506 Note that this default value may not be low enough if you want to
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
507 obtain terminal alignments for very short reads, although such reads
2
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
508 probably don't have enough specificity for terminal alignments anyway.
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
509 To turn off terminal alignments, set this to a high value, greater
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
510 than the value for max-mismatches.
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
511 "/>
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
512 <param name="indel_penalty" type="integer" value="" optional="true" label="Penalty for an indel (default 2)"
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
513 help="Counts against mismatches allowed. To find indels, make indel-penalty less than or equal to max-mismatches. A value &lt; 2 can lead to false positives at read ends" />
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
514 <param name="indel_endlength" type="integer" value="" optional="true" label="Minimum length at end required for indel alignments (default 4)" />
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
515 <param name="max_middle_insertions" type="integer" value="" optional="true" label="Maximum number of middle insertions allowed (default 9)" />
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
516 <param name="max_middle_deletions" type="integer" value="" optional="true" label="Maximum number of middle deletions allowed (default 30)" />
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
517 <param name="max_end_insertions" type="integer" value="" optional="true" label="Maximum number of end insertions allowed (default 3)" />
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
518 <param name="max_end_deletions" type="integer" value="" optional="true" label="Maximum number of end deletions allowed (default 6)" />
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
519 <param name="suboptimal_levels" type="integer" value="" optional="true" label="Report suboptimal hits beyond best hit (default 0)"
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
520 help="All hits with best score plus suboptimal-levels are reported" />
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
521 <param name="adapter_strip" type="select" label="Method for removing adapters from reads"
2
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
522 help="Default is 'off'. To turn on, specify 'paired', which removes adapters
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
523 from paired-end reads if they appear to be present.">
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
524 <option value="paired">paired</option>
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
525 <option value="off" selected="true">off</option>
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
526 </param>
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
527 <param name="trim_mismatch_score" type="integer" value="" optional="true" label="Score to use for mismatches when trimming at ends (default is -3)"
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
528 help="to turn off trimming, specify 0 (Warning: turning trimming off will give false positive mismatches at the ends of reads)"/>
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
529 <param name="trim_indel_score" type="integer" value="" optional="true" label="Score to use for indels when trimming at ends (default is -4)"
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
530 help="to turn off trimming, specify 0 (Warning: turning trimming off will give false positive indels at the ends of reads)"/>
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
531 <param name="use_tally" type="data" format="tally.iit" optional="true" label="Select a tally IIT file to resolve concordant multiple results"
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
532 help="generated by gsnap_tally and iit_store"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
533
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
534 <!--
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
535 tallydir=STRING Directory for tally IIT file to resolve concordant multiple results (default is
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
536 location of genome index files specified using -D and -d). Note: can
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
537 just give full path name to use-tally instead.
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
538 use-tally=STRING Use this tally IIT file to resolve concordant multiple results
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
539 runlengthdir=STRING Directory for runlength IIT file to resolve concordant multiple results (default is
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
540 location of genome index files specified using -D and -d). Note: can
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
541 just give full path name to use-runlength instead.
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
542 use-runlength=STRING Use this runlength IIT file to resolve concordant multiple results
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
543 -->
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
544
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
545 <!-- Options for GMAP alignment within GSNAP -->
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
546 <param name="gmap_mode" type="select" multiple="true" optional="true" display="checkboxes" label="Cases to use GMAP for complex alignments containing multiple splices or indels"
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
547 help="Default: pairsearch,terminal,improve">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
548 <option value="pairsearch" selected="true">pairsearch</option>
2
f6ba0f12cca2 Untested work-in-progress GMAP wrappers v3.0.0, from JJ back in June 2013
peterjc
parents: 1
diff changeset
549 <option value="indel_knownsplice" selected="true">indel_knownsplice</option>
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
550 <option value="terminal" selected="true">terminal</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
551 <option value="improve" selected="true">improve</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
552 </param>
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
553 <param name="trigger_score_for_gmap" type="integer" value="" optional="true" label="GMAP pairsearch threshold (default 5)"
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
554 help="Try GMAP pairsearch on nearby genomic regions if best score (the total of both ends if paired-end) exceeds this value (default 5)" />
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
555 <param name="max_gmap_pairsearch" type="integer" value="" optional="true" label="GMAP pairsearch threshold (default 3)"
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
556 help="Perform GMAP pairsearch on nearby genomic regions up to this many candidate ends (default 3)." />
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
557 <param name="max_gmap_terminal" type="integer" value="" optional="true" label="GMAP terminal threshold (default 3)"
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
558 help="Perform GMAP terminal on nearby genomic regions up to this many candidate ends (default 3)." />
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
559 <param name="max_gmap_improvement" type="integer" value="" optional="true" label="GMAP improvement threshold (default 3)"
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
560 help="Perform GMAP improvement on nearby genomic regions up to this many candidate ends (default 3)." />
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
561 <param name="microexon_spliceprob" type="float" value="" optional="true" label="GMAP microexons threshold (default .90)"
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
562 help="Allow microexons only if one of the splice site probabilities is greater than this value." >
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
563 <validator type="in_range" message="The microexons probability must be between 0. and 1." min="0." max="1."/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
564 </param>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
565 </when>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
566 </conditional>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
567
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
568 <conditional name="splicing">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
569 <param name="options" type="select" label="&lt;HR&gt;Splicing options for RNA-Seq" help="">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
570 <option value="default">Use default settings</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
571 <option value="advanced">Set Splicing Options</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
572 </param>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
573 <when value="default"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
574 <when value="advanced">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
575 <!-- Splicing options for RNA-Seq -->
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
576 <!-- use-splicing This should be either a select list from the gmapdb maps or a data type using splicesdir and use-splicing -->
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
577 <!-- Neither novel splicing (-N) nor known splicing (-s) turned on => assume reads are DNA-Seq (genomic) -->
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
578 <param name="novelsplicing" type="boolean" checked="false" truevalue="--novelsplicing=1" falsevalue="" label="Look for novel splicing "/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
579 <param name="localsplicedist" type="integer" value="" optional="true" label="Definition of local novel splicing event (default 200000)"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
580 <param name="local_splice_penalty" type="integer" value="" optional="true" label="Penalty for a local splice (default 0). Counts against mismatches allowed"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
581 <param name="distant_splice_penalty" type="integer" value="" optional="true" label="Penalty for a distant splice (default 3). Counts against mismatches allowed"
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
582 help="A distant splice is one where the intron length exceeds the value of localsplicedist or is an
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
583 inversion, scramble, or translocation between two different chromosomes. Counts against mismatches allowed"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
584 <param name="distant_splice_endlength" type="integer" value="" optional="true" label="Minimum length at end required for distant spliced alignments"
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
585 help="(default 16, min is the kmer length)"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
586 <param name="shortend_splice_endlength" type="integer" value="" optional="true" label="Minimum length at end required for short-end spliced alignments"
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
587 help="(default 2, but unless known splice sites are provided, GSNAP may still need the end length to be the value of kmer size to find a given splice"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
588 <param name="distant_splice_identity" type="float" value="" optional="true" label="Minimum identity at end required for distant spliced alignments (default 0.95)"/>
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
589 <param name="antistranded_penalty" type="integer" value="" optional="true" label="Penalty for antistranded splicing when using stranded RNA-Seq protocols"
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
590 help="A positive value, such as 1, expects antisense on the first read and sense on the second read.
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
591 Default is 0, which treats sense and antisense equally well"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
592 </when>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
593 </conditional>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
594
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
595 <!-- Output data -->
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
596 <conditional name="output">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
597 <param name="options" type="select" label="&lt;HR&gt;&lt;H2&gt;Output&lt;/H2&gt;Output options for RNA-Seq" help="">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
598 <option value="default">Use default settings</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
599 <option value="advanced">Set Output Options</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
600 </param>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
601 <when value="default"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
602 <when value="advanced">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
603 <param name="npath" type="integer" value="" optional="true" label="Maximum number of paths to print (default 100)"/>
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
604 <param name="quiet_if_excessive" type="boolean" checked="false" truevalue="--quiet-if-excessive" falsevalue="" label="Quiet if Excessive"
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
605 help="If more than maximum number of paths are found, then nothing is printed."/>
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
606 <param name="show_refdiff" type="boolean" checked="false" truevalue="--show-refdiff" falsevalue="" label="Show SNP-tolerant alignment"
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
607 help="For GSNAP output in SNP-tolerant alignment, shows all differences relative to the reference genome as lower case (otherwise, it shows all differences relative to both the reference and alternate genome)"/>
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
608 <param name="clip_overlap" type="boolean" checked="false" truevalue="--clip-overlap" falsevalue="" label="Clip Overlap"
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
609 help="For paired-end reads whose alignments overlap, clip the overlapping region."/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
610 </when>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
611 </conditional>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
612 <conditional name="result">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
613 <param name="format" type="select" label="Select the output format" help="">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
614 <option value="sam">SAM</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
615 <!-- goby should only be an option if the input is in goby format
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
616 <option value="goby">Goby</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
617 -->
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
618 <option value="gsnap">GSNAP default output</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
619 </param>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
620 <when value="gsnap">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
621 </when>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
622 <when value="sam">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
623 <param name="no_sam_headers" type="boolean" truevalue="--no-sam-headers" falsevalue="" checked="false" label="Do not print headers beginning with '@'"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
624 <param name="read_group_id" type="text" value="" optional="true" label="Value to put into read-group id (RG-ID) field"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
625 <param name="read_group_name" type="text" value="" optional="true" label="Value to put into read-group name (RG-SM) field"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
626 <param name="read_group_library" type="text" value="" optional="true" label="Value to put into read-group library (RG-LB) field"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
627 <param name="read_group_platform" type="text" value="" optional="true" label="Value to put into read-group library platform (RG-PL) field"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
628 <param name="quality_shift" type="integer" value="" optional="true" label="Shift FASTQ quality scores by this amount in SAM output (default -31)"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
629 </when>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
630 <!--
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
631 <when value="goby">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
632 <param name="goby_output" type="text" value="" label="Basename for Goby output files"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
633 <param name="creads_window_start" type="integer" value="" optional="true" label="Compact reads window start (default: 0=start of file)"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
634 <param name="creads_window_end" type="integer" value="" optional="true" label="Compact reads window end (default: 0=end of file)"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
635 <param name="creads_complement" type="boolean" truevalue="-\-creads-complement" falsevalue="" checked="false" label="Complement read sequences (without reversing)"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
636 </when>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
637 -->
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
638 </conditional>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
639 <!-- TODO combine fails and split_output -->
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
640
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
641 <conditional name="results">
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
642 <param name="split_output" type="select" label="&lt;HR&gt;Split outputs"
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
643 help="Separate outputs for: nomapping, halfmapping_uniq, halfmapping_mult, unpaired_uniq, unpaired_mult, paired_uniq, paired_mult, concordant_uniq, and concordant_mult results">
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
644 <option value="no">no</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
645 <option value="yes">yes</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
646 </param>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
647 <when value="no">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
648 <conditional name="fails">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
649 <param name="choice" type="select" label="How to deal with fails" help="">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
650 <option value="default">default - include them in results</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
651 <option value="nofails">nofails - exclude fails from results</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
652 <option value="failsonly">failsonly - only output failing results</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
653 </param>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
654 <when value="default"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
655 <when value="nofails"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
656 <when value="failsonly">
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
657 <param name="fails_as_input" type="boolean" truevalue="--fails-as-input" falsevalue="" checked="false" label="Print completely failed alignments as input FASTA or FASTQ format"
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
658 help=""/>
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
659 </when>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
660 </conditional>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
661 </when>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
662 <when value="yes">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
663 <conditional name="fails">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
664 <param name="choice" type="select" label="How to deal with fails" help="">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
665 <option value="default">default - include them in results</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
666 <option value="nofails">nofails - exclude fails from results</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
667 <option value="failsonly">failsonly - only output failing results</option>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
668 </param>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
669 <when value="default"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
670 <when value="nofails"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
671 <when value="failsonly"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
672 </conditional>
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
673 <param name="fails_as_input" type="boolean" truevalue="--fails-as-input" falsevalue="" checked="false" label="Print completely failed alignments as input FASTA or FASTQ format"
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
674 help=""/>
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
675 </when>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
676 </conditional>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
677
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
678 </inputs>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
679 <outputs>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
680 <data format="txt" name="gsnap_stderr" label="${tool.name} on ${on_string}: gsnap.log"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
681
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
682 <data format="txt" name="gsnap_out" label="${tool.name} on ${on_string} ${result.format}" >
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
683 <filter>(results['split_output'] == 'no' and (results['fails']['choice'] != 'failsonly' or results['fails']['fails_as_input'] == False))</filter>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
684 <change_format>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
685 <when input="result['format']" value="sam" format="sam"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
686 <when input="result['format']" value="gsnap" format="gsnap"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
687 </change_format>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
688 </data>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
689
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
690 <data format="fastq" name="gsnap_fq" label="${tool.name} on ${on_string} fails.fq" >
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
691 <filter>(results['split_output'] == 'no' and results['fails']['choice'] == 'failsonly' and results['fails']['fails_as_input'] == True)</filter>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
692 </data>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
693
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
694 <!-- nomapping, halfmapping_uniq, halfmapping_mult, unpaired_uniq, unpaired_mult, paired_uniq, paired_mult, concordant_uniq, concordant_mult -->
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
695
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
696 <data format="txt" name="unpaired_mult" label="${tool.name} on ${on_string} unpaired_mult.${result.format}" from_work_dir="gsnap_out.unpaired_mult">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
697 <filter>(results['split_output'] == 'yes')</filter>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
698 <change_format>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
699 <when input="result['format']" value="sam" format="sam"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
700 <when input="result['format']" value="gsnap" format="gsnap"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
701 </change_format>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
702 </data>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
703 <data format="txt" name="unpaired_uniq" label="${tool.name} on ${on_string} unpaired_uniq.${result.format}" from_work_dir="gsnap_out.unpaired_uniq">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
704 <filter>(results['split_output'] == 'yes')</filter>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
705 <change_format>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
706 <when input="result['format']" value="sam" format="sam"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
707 <when input="result['format']" value="gsnap" format="gsnap"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
708 </change_format>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
709 </data>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
710 <data format="txt" name="unpaired_transloc" label="${tool.name} on ${on_string} unpaired_transloc.${result.format}" from_work_dir="gsnap_out.unpaired_transloc">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
711 <filter>(results['split_output'] == 'yes')</filter>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
712 <change_format>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
713 <when input="result['format']" value="sam" format="sam"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
714 <when input="result['format']" value="gsnap" format="gsnap"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
715 </change_format>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
716 </data>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
717 <data format="txt" name="halfmapping_mult" label="${tool.name} on ${on_string} halfmapping_mult.${result.format}" from_work_dir="gsnap_out.halfmapping_mult">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
718 <filter>(results['split_output'] == 'yes' and seq['format'] == 'fastq' and seq['paired']['ispaired'] == True)</filter>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
719 <change_format>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
720 <when input="result['format']" value="sam" format="sam"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
721 <when input="result['format']" value="gsnap" format="gsnap"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
722 </change_format>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
723 </data>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
724 <data format="txt" name="halfmapping_uniq" label="${tool.name} on ${on_string} halfmapping_uniq.${result.format}" from_work_dir="gsnap_out.halfmapping_uniq">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
725 <filter>(results['split_output'] == 'yes' and seq['format'] == 'fastq' and seq['paired']['ispaired'] == True)</filter>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
726 <change_format>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
727 <when input="result['format']" value="sam" format="sam"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
728 <when input="result['format']" value="gsnap" format="gsnap"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
729 </change_format>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
730 </data>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
731 <data format="txt" name="halfmapping_transloc" label="${tool.name} on ${on_string} halfmapping_transloc.${result.format}" from_work_dir="gsnap_out.halfmapping_transloc">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
732 <filter>(results['split_output'] == 'yes' and seq['format'] == 'fastq' and seq['paired']['ispaired'] == True)</filter>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
733 <change_format>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
734 <when input="result['format']" value="sam" format="sam"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
735 <when input="result['format']" value="gsnap" format="gsnap"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
736 </change_format>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
737 </data>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
738 <data format="txt" name="paired_mult" label="${tool.name} on ${on_string} paired_mult.${result.format}" from_work_dir="gsnap_out.paired_mult">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
739 <filter>(results['split_output'] == 'yes' and seq['format'] == 'fastq' and seq['paired']['ispaired'] == True)</filter>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
740 <change_format>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
741 <when input="result['format']" value="sam" format="sam"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
742 <when input="result['format']" value="gsnap" format="gsnap"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
743 </change_format>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
744 </data>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
745 <data format="txt" name="paired_uniq" label="${tool.name} on ${on_string} paired_uniq.${result.format}" from_work_dir="gsnap_out.paired_uniq">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
746 <filter>(results['split_output'] == 'yes' and seq['format'] == 'fastq' and seq['paired']['ispaired'] == True)</filter>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
747 <change_format>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
748 <when input="result['format']" value="sam" format="sam"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
749 <when input="result['format']" value="gsnap" format="gsnap"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
750 </change_format>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
751 </data>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
752 <data format="txt" name="paired_transloc" label="${tool.name} on ${on_string} paired_transloc.${result.format}" from_work_dir="gsnap_out.paired_transloc">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
753 <filter>(results['split_output'] == 'yes' and seq['format'] == 'fastq' and seq['paired']['ispaired'] == True)</filter>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
754 <change_format>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
755 <when input="result['format']" value="sam" format="sam"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
756 <when input="result['format']" value="gsnap" format="gsnap"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
757 </change_format>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
758 </data>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
759
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
760 <data format="txt" name="concordant_mult" label="${tool.name} on ${on_string} concordant_mult.${result.format}" from_work_dir="gsnap_out.concordant_mult">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
761 <filter>(results['split_output'] == 'yes' and seq['format'] == 'fastq' and seq['paired']['ispaired'] == True)</filter>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
762 <change_format>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
763 <when input="result['format']" value="sam" format="sam"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
764 <when input="result['format']" value="gsnap" format="gsnap"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
765 </change_format>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
766 </data>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
767 <data format="txt" name="concordant_uniq" label="${tool.name} on ${on_string} concordant_uniq.${result.format}" from_work_dir="gsnap_out.concordant_uniq">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
768 <filter>(results['split_output'] == 'yes' and seq['format'] == 'fastq' and seq['paired']['ispaired'] == True)</filter>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
769 <change_format>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
770 <when input="result['format']" value="sam" format="sam"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
771 <when input="result['format']" value="gsnap" format="gsnap"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
772 </change_format>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
773 </data>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
774 <data format="txt" name="concordant_transloc" label="${tool.name} on ${on_string} concordant_transloc.${result.format}" from_work_dir="gsnap_out.concordant_transloc">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
775 <filter>(results['split_output'] == 'yes' and seq['format'] == 'fastq' and seq['paired']['ispaired'] == True)</filter>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
776 <change_format>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
777 <when input="result['format']" value="sam" format="sam"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
778 <when input="result['format']" value="gsnap" format="gsnap"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
779 </change_format>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
780 </data>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
781
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
782 <data format="txt" name="nomapping" label="${tool.name} on ${on_string} nomapping.${result.format}" from_work_dir="gsnap_out.nomapping">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
783 <filter>(results['split_output'] == 'yes' and results['fails_as_input'] == False)</filter>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
784 <change_format>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
785 <when input="result['format']" value="sam" format="sam"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
786 <when input="result['format']" value="gsnap" format="gsnap"/>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
787 </change_format>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
788 </data>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
789
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
790 <data format="fastq" name="nomapping_fq" label="${tool.name} on ${on_string} nomapping.fq" from_work_dir="gsnap_out.nomapping.fq">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
791 <filter>(results['split_output'] == 'yes' and seq['format'] == 'fastq' and seq['paired']['ispaired'] == False)</filter>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
792 </data>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
793
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
794 <data format="fastq" name="nomapping_1_fq" label="${tool.name} on ${on_string} nomapping.1.fq" from_work_dir="gsnap_out.nomapping.1.fq">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
795 <filter>(results['split_output'] == 'yes' and seq['format'] == 'fastq' and seq['paired']['ispaired'] == True)</filter>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
796 </data>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
797
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
798 <data format="fastq" name="nomapping_2_fq" label="${tool.name} on ${on_string} nomapping.2.fq" from_work_dir="gsnap_out.nomapping.2.fq">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
799 <filter>(results['split_output'] == 'yes' and seq['format'] == 'fastq' and seq['paired']['ispaired'] == True)</filter>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
800 </data>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
801
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
802 <!-- Will problay need wrapper code to generate composite datatype for goby alignment
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
803 <data format="gobyalignment" name="goby_alignment" label="${tool.name} on ${on_string} uniq.${result.format}" from_work_dir="gsnap_out.nomapping">
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
804 <filter>result['format'] == 'goby'</filter>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
805 </data>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
806 -->
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
807
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
808 </outputs>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
809 <tests>
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
810 </tests>
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
811
5
14561eb803a5 Uploaded v3.0.1b (still working on this prior to main Tool Shed release)
peterjc
parents: 3
diff changeset
812 <help><![CDATA[
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
813
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
814 **What it does**
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
815
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
816 GSNAP_ (Genomic Short-read Nucleotide Alignment Program) is a short read aligner which can align both single- and paired-end reads as short as 14nt and of arbitrarily long length. It can detect short- and long-distance splicing, including interchromosomal splicing, in individual reads, using probabilistic models or a database of known splice sites. Our program also permits SNP-tolerant alignment to a reference space of all possible combinations of major and minor alleles, and can align reads from bisulfite-treated DNA for the study of methylation state. It is developed by Thomas D. Wu of Genentech, Inc.
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
817 Publication_ citation: Thomas D. Wu, Serban Nacu "Fast and SNP-tolerant detection of complex variants and splicing in short reads. Bioinformatics. 2010 Apr 1;26(7):873-81. Epub 2010 Feb 10.
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
818
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
819 .. _GSNAP: http://research-pub.gene.com/gmap/
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
820 .. _Publication: http://bioinformatics.oupjournals.org/cgi/content/full/26/7/873
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
821 https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2844994/?tool=pubmed
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
822
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
823 ------
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
824
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
825 **Know what you are doing**
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
826
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
827 .. class:: warningmark
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
828
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
829 You will want to read the README_
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
830
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
831 .. _README: http://research-pub.gene.com/gmap/src/README
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
832
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
833 ------
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
834
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
835 **Input formats**
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
836
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
837 Input to GSNAP should be either in FASTQ or FASTA format.
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
838
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
839 The FASTQ input may include quality scores, which will then be included in SAM
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
840 output, if that output format is selected.
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
841
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
842 For FASTA format, you should include one line per read (or end of a
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
843 paired-end read). The same FASTA file can have a mixture of
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
844 single-end and paired-end reads of varying lengths, if desired.
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
845
5
14561eb803a5 Uploaded v3.0.1b (still working on this prior to main Tool Shed release)
peterjc
parents: 3
diff changeset
846 *Single-end reads*:
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
847
5
14561eb803a5 Uploaded v3.0.1b (still working on this prior to main Tool Shed release)
peterjc
parents: 3
diff changeset
848 Each FASTA entry should contain one short read per line, like this::
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
849
5
14561eb803a5 Uploaded v3.0.1b (still working on this prior to main Tool Shed release)
peterjc
parents: 3
diff changeset
850 >Header information
14561eb803a5 Uploaded v3.0.1b (still working on this prior to main Tool Shed release)
peterjc
parents: 3
diff changeset
851 AAAACATTCTCCTCCGCATAAGCCTGCGTCAGATTA
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
852
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
853 Each short read can have a different length. However, the entire read
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
854 needs to be on a single line, and may not wrap around multiple lines.
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
855 If it extends to a second line, GSNAP will think that the read is
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
856 paired-end.
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
857
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
858
5
14561eb803a5 Uploaded v3.0.1b (still working on this prior to main Tool Shed release)
peterjc
parents: 3
diff changeset
859 *Paired-end reads*:
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
860
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
861 Each FASTA entry should contain two short reads, one per line, like
5
14561eb803a5 Uploaded v3.0.1b (still working on this prior to main Tool Shed release)
peterjc
parents: 3
diff changeset
862 this::
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
863
5
14561eb803a5 Uploaded v3.0.1b (still working on this prior to main Tool Shed release)
peterjc
parents: 3
diff changeset
864 >Header information
14561eb803a5 Uploaded v3.0.1b (still working on this prior to main Tool Shed release)
peterjc
parents: 3
diff changeset
865 AAAACATTCTCCTCCGCATAAGCCTAGTAGATTA
14561eb803a5 Uploaded v3.0.1b (still working on this prior to main Tool Shed release)
peterjc
parents: 3
diff changeset
866 GGCGTAGGTAGAAGTAGAGGTTAAGGCGCGTCAG
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
867
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
868 By default, the program assumes that the second end is in the reverse
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
869 complement direction compared with the first end. If they are in the
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
870 same direction, you may need to use the --circular-input (or -c) flag.
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
871
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
872 ( The Galaxy tool: "FASTA Width formatter" can be used to reformat fasta files to have single line sequences. )
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
873
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
874 ------
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
875
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
876 **Output formats in GSNAP**
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
877
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
878 SAM output format
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
879
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
880 Default GSNAP format
5
14561eb803a5 Uploaded v3.0.1b (still working on this prior to main Tool Shed release)
peterjc
parents: 3
diff changeset
881
14561eb803a5 Uploaded v3.0.1b (still working on this prior to main Tool Shed release)
peterjc
parents: 3
diff changeset
882 See the README_
14561eb803a5 Uploaded v3.0.1b (still working on this prior to main Tool Shed release)
peterjc
parents: 3
diff changeset
883
14561eb803a5 Uploaded v3.0.1b (still working on this prior to main Tool Shed release)
peterjc
parents: 3
diff changeset
884 ]]></help>
3
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
885 <citations>
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
886 <citation type="doi">10.1093/bioinformatics/btq057</citation>
488e9d642566 GMAP wrappers v3.0.1 after linting and cleanup, still untested work-in-progress
peterjc
parents: 2
diff changeset
887 </citations>
0
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
888 </tool>
10e3476429b5 Uploaded
jjohnson
parents:
diff changeset
889