annotate gsnap.xml @ 9:7f032685214b

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