annotate STACKS_procrad.xml @ 0:d6ba40f6c824

first commit
author cmonjeau
date Mon, 24 Aug 2015 09:29:12 +0000
parents
children c9e10e0d6c10
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
1 <?xml version="1.0"?>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
2 <tool id="STACKSprocrad" name="STACKS : Process radtags" force_history_refresh="True" version="1.1.0">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
3 <description>Run the STACKS cleaning script</description>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
4 <configfiles>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
5 <configfile name="input_single">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
6 #if str( $options_type.options_type_selector ) == "single":
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
7 #for $input in $options_type.inputs_single:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
8 ${input.display_name}::${input}
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
9 #end for
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
10 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
11 </configfile>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
12 <configfile name="input_paired1">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
13 #if str( $options_type.options_type_selector ) == "paired":
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
14 #for $input in $options_type.inputs_paired1:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
15 ${input.display_name}::${input}
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
16 #end for
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
17 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
18 </configfile>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
19 <configfile name="input_paired2">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
20 #if str( $options_type.options_type_selector ) == "paired":
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
21 #for $input in $options_type.inputs_paired2:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
22 ${input.display_name}::${input}
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
23 #end for
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
24 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
25 </configfile>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
26 </configfiles>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
27 <requirements>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
28 <requirement type="package" version="1.18">stacks</requirement>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
29 </requirements>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
30 <command interpreter="python">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
31
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
32 STACKS_procrad.py
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
33 --input_type $options_type.options_type_selector
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
34 #if str( $options_type.options_type_selector ) == "single":
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
35 --input_single $input_single
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
36 #else
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
37 --input_paired1 $input_paired1
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
38 --input_paired2 $input_paired2
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
39 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
40 --inputype $inputype
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
41 --barcode $barcode
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
42 --sample_name $sample_name
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
43 --output_choice $options_output_infos_selector
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
44 #if str( $options_output_infos_selector ) != "1":
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
45 --output_archive $output_archive
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
46 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
47 --input_enzyme $options_enzyme.options_enzyme_selector
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
48 --enzyme1 $options_enzyme.enzyme
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
49 #if str( $options_enzyme.options_enzyme_selector ) == "2":
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
50 --enzyme2 $options_enzyme.enzyme2
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
51 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
52 --outype $outype
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
53 --qualitenc $options_quality.qualitenc
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
54 #if $capture:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
55 -D
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
56 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
57 --activate_advanced_options $activate_advanced_options
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
58 -t $options_advanced.truncate
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
59 #if $options_advanced.discard:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
60 -q
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
61 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
62 #if $options_advanced.rescue:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
63 -r
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
64 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
65 -w $options_advanced.sliding
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
66 -s $options_advanced.score
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
67 #if $options_advanced.remove:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
68 -c
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
69 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
70 #if $options_advanced.inline:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
71 --inline_null
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
72 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
73 #if $options_advanced.index:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
74 --index_null
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
75 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
76 #if $options_advanced.inlinein:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
77 --inline_inline
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
78 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
79 #if $options_advanced.indexind:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
80 --index_index
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
81 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
82 #if $options_advanced.inlineind:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
83 --inline_index
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
84 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
85 #if $options_advanced.indexin:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
86 --index_inline
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
87 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
88 --logfile $output
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
89
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
90 </command>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
91
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
92 <inputs>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
93
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
94 <conditional name="options_type">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
95 <param name="options_type_selector" type="select" label="Single-end or paired-end reads files">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
96 <option value="single" selected="True">Single-end files</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
97 <option value="paired">Paired-end files</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
98 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
99 <when value="single">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
100 <param name="inputs_single" format="fastq,fastq.gz" type="data" multiple="true" label="singles-end reads infile(s)" help="input files" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
101 </when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
102 <when value="paired">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
103 <param name="inputs_paired1" format="fastq,fastq.gz" type="data" multiple="true" label="paired-end reads infile(s) 1" help="Files must have this syntax : name_R1_001.fastq" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
104 <param name="inputs_paired2" format="fastq,fastq.gz" type="data" multiple="true" label="paired-end reads infile(s) 2" help="Files must have this syntax : name_R2_001.fastq" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
105 </when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
106 </conditional>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
107 <param name="inputype" type="select" format="text" label="Inputs format">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
108 <option value="fastq" selected="True">fastq</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
109 <option value="gzfastq">fastq.gz</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
110 <option value="bustard">Illumina BUSTARD</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
111 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
112 <param name="barcode" type="data" format="tabular,txt" label="Barcode file" help="Barcode file" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
113
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
114 <param name="sample_name" type="text" value="sample" label="Sample name" help="Precise the sample name if using several NGS runs" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
115
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
116 <conditional name="options_enzyme">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
117 <param name="options_enzyme_selector" type="select" label="Number of enzymes">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
118 <option value="1" >One</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
119 <option value="2">Two</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
120 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
121 <when value="1">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
122 <param name="enzyme" type="select" format="text" label="Enzyme" help="provide the restriction enzyme used" >
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
123 <option value="apeKI">apeKI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
124 <option value="bamHI">bamHI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
125 <option value="claI">claI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
126 <option value="dpnII">dpnII</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
127 <option value="eaeI">eaeI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
128 <option value="ecoRI">ecoRI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
129 <option value="ecoT22I">ecoT22I</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
130 <option value="hindIII">hindIII</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
131 <option value="mluCI">mluCI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
132 <option value="mseI">mseI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
133 <option value="mspI">mspI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
134 <option value="ndeI">ndeI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
135 <option value="nlaIII">nlaIII</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
136 <option value="notI">notI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
137 <option value="nsiI">nsiI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
138 <option value="pstI">pstI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
139 <option value="sau3AI">sau3AI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
140 <option value="sbfI">sbfI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
141 <option value="sexAI">sexAI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
142 <option value="sgrAI">sgrAI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
143 <option value="sphI">sphI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
144 <option value="taqI">taqI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
145 <option value="xbaI">xbaI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
146 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
147 </when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
148 <when value="2">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
149 <param name="enzyme" type="select" format="text" label="Enzyme" help="provide the restriction enzyme used" >
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
150 <option value="apeKI">apeKI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
151 <option value="bamHI">bamHI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
152 <option value="claI">claI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
153 <option value="dpnII">dpnII</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
154 <option value="eaeI">eaeI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
155 <option value="ecoRI">ecoRI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
156 <option value="ecoT22I">ecoT22I</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
157 <option value="hindIII">hindIII</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
158 <option value="mluCI">mluCI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
159 <option value="mseI">mseI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
160 <option value="mspI">mspI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
161 <option value="ndeI">ndeI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
162 <option value="nlaIII">nlaIII</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
163 <option value="notI">notI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
164 <option value="nsiI">nsiI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
165 <option value="pstI">pstI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
166 <option value="sau3AI">sau3AI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
167 <option value="sbfI">sbfI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
168 <option value="sexAI">sexAI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
169 <option value="sgrAI">sgrAI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
170 <option value="sphI">sphI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
171 <option value="taqI">taqI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
172 <option value="xbaI">xbaI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
173 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
174 <param name="enzyme2" type="select" format="text" label="Second enzyme" help="provide the second restriction enzyme used" >
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
175 <option value="apeKI">apeKI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
176 <option value="bamHI">bamHI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
177 <option value="claI">claI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
178 <option value="dpnII">dpnII</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
179 <option value="eaeI">eaeI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
180 <option value="ecoRI">ecoRI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
181 <option value="ecoT22I">ecoT22I</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
182 <option value="hindIII">hindIII</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
183 <option value="mluCI">mluCI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
184 <option value="mseI">mseI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
185 <option value="mspI">mspI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
186 <option value="ndeI">ndeI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
187 <option value="nlaIII">nlaIII</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
188 <option value="notI">notI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
189 <option value="nsiI">nsiI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
190 <option value="pstI">pstI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
191 <option value="sau3AI">sau3AI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
192 <option value="sbfI">sbfI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
193 <option value="sexAI">sexAI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
194 <option value="sgrAI">sgrAI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
195 <option value="sphI">sphI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
196 <option value="taqI">taqI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
197 <option value="xbaI">xbaI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
198 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
199 </when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
200 </conditional>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
201 <param name="capture" type="boolean" label="Capture discarded reads to a file" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
202 <section name="options_quality" title="quality options" expanded="False">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
203 <param name="qualitenc" type="select" format="text" label="Quality encoded type" help="specify how quality scores are encoded, 'phred33' (Illumina 1.8+, Sanger, default) or 'phred64' (Illumina 1.3 - 1.5)" >
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
204 <option value="phred33">phred33</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
205 <option value="phred64">phred64</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
206 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
207 </section>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
208 <param name="activate_advanced_options" type="boolean" label="Activate advanced options" help="advanced options are defined below" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
209 <section name="options_advanced" title="advanced options" expanded="False">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
210 <param name="sliding" type="float" value="0.15" label="set the size of the sliding window as a fraction of the read length, between 0 and 1 (default 0.15)" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
211 <param name="score" type="integer" value="10" label="Set the score limit. If the average score within the sliding window drops below this value, the read is discarded (default 10)" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
212 <param name="remove" type="boolean" checked="false" default="false" label="Clean data, remove any read with an uncalled base" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
213 <param name="discard" type="boolean" checked="false" default="false" label="Discard reads with low quality scores"/>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
214 <param name="rescue" type="boolean" checked="false" default="false" label="Rescue barcodes and RAD-Tags?"/>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
215 <param name="truncate" type="integer" value="-1" label="Truncate final read length to this value" help="default = -1" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
216 <param name="inline" type="boolean" checked="true" default="true" label="Barcode options -> inline_null" help="barcode is inline with sequence, occurs only on single-end read" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
217 <param name="index" type="boolean" checked="false" default="false" label="Barcode options -> index_null" help="barcode is provided in FASTQ header, occurs only on single-end read"/>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
218 <param name="inlinein" type="boolean" checked="false" default="false" label="Barcode options -> inline_inline" help="barcode is inline with sequence, occurs on single and paired-end read" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
219 <param name="indexind" type="boolean" checked="false" default="false" label="Barcode options -> index_index" help="barcode is provided in FASTQ header, occurs on single and paired-end read" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
220 <param name="inlineind" type="boolean" checked="false" default="false" label="Barcode options -> inline_index" help="barcode is inline with sequence on single-end read, occurs in FASTQ header for paired-end read" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
221 <param name="indexin" type="boolean" checked="false" default="false" label="Barcode options -> index_inline" help="barcode occurs in FASTQ header for single-end read, is inline with sequence on paired-end read" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
222 </section>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
223 <param name="outype" type="select" format="text" label="Output format" help="output type, either 'fastq' or 'fasta' (default fastq)" >
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
224 <option value="fastq">fastq</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
225 <option value="fasta">fasta</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
226 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
227
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
228 <param name="options_output_infos_selector" type="select" label="Output type">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
229 <option value="1">Normal (a fastq file by barcode)</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
230 <option value="2" selected="True">Additional zip archive with all files (Normal + one archive with all fastq files)</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
231 <option value="3">Only a zip archive with all files (one archive with all fastq files)</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
232 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
233
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
234 </inputs>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
235 <outputs>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
236
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
237 <data format="txt" name="output" label="results.log with ${tool.name} on ${on_string}: demultiplexed and cleaned reads" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
238 <data format="txt" name="additional" label="fast(a/q) file with ${tool.name}" hidden="true">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
239 <discover_datasets pattern="__designation_and_ext__" directory="galaxy_outputs" visible="true" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
240 </data>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
241 <data format="zip" name="output_archive" label="all_files.zip with ${tool.name} on ${on_string}: demultiplexed and cleaned reads ">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
242 <filter>options_output_infos_selector != "1"</filter>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
243 </data>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
244 <data format="fastq" name="discard_file" label="discard.fastq with ${tool.name} on ${on_string}: demultiplexed and cleaned reads ">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
245 <filter>capture</filter>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
246 </data>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
247
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
248
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
249 </outputs>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
250
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
251 <stdio>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
252 <exit_code range="1" level="fatal" description="Error in Stacks Process radtag execution" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
253 </stdio>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
254
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
255
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
256 <help>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
257
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
258 .. class:: infomark
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
259
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
260 **What it does**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
261
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
262 This program examines raw reads from an Illumina sequencing run and first, checks that the barcode and the RAD cutsite are intact, and demultiplexes the data. If there are
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
263 errors in the barcode or the RAD site within a certain allowance process_radtags can correct them. Second, it slides a window down the length of the read and checks the
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
264 average quality score within the window. If the score drops below 90% probability of being correct (a raw phred score of 10), the read is discarded. This allows for some
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
265 seqeuncing errors while elimating reads where the sequence is degrading as it is being sequenced. By default the sliding window is 15% of the length of the read, but can be
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
266 specified on the command line (the threshold and window size can be adjusted).
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
267 The process_radtags program can:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
268 handle data that is barcoded, either inline or using an index, or unbarcoded.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
269 use combinatorial barcodes.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
270 check and correct for a restriction enzyme cutsite for single or double-digested
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
271 data.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
272 filter adapter sequence while allowing for sequencing error in the adapter pattern.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
273 process individual files or whole directories of files.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
274 directly read gzipped data
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
275 filter reads based on Illumina's Chastity filter
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
276
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
277 --------
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
278
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
279 **Help**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
280
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
281 Input files:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
282
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
283 - FASTQ, FASTA, zip, tar.gz
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
284
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
285 - Barcode File Format
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
286
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
287 The barcode file is a very simple format : one barcode per line.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
288
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
289 CGATA
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
290 CGGCG
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
291 GAAGC
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
292 GAGAT
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
293 CGATA
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
294 CGGCG
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
295 GAAGC
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
296 GAGAT
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
297
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
298 Combinatorial barcodes are specified, one per column, separated by a tab::
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
299
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
300 CGATA ACGTA
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
301 CGGCG CGTA
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
302 GAAGC CGTA
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
303 GAGAT CGTA
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
304 CGATA AGCA
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
305 CGGCG AGCA
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
306 GAAGC AGCA
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
307 GAGAT AGCA
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
308
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
309
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
310 Instructions to add the functionality of archives management in Galaxy on the `eBiogenouest HUB wiki &lt;https://www.e-biogenouest.org/wiki/ManArchiveGalaxy&gt;`_ .
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
311
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
312 --------
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
313
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
314
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
315 **Created by:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
316
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
317 Stacks was developed by Julian Catchen with contributions from Angel Amores, Paul Hohenlohe, and Bill Cresko
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
318
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
319 --------
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
320
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
321 **Project links:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
322
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
323 `STACKS website &lt;http://creskolab.uoregon.edu/stacks/&gt;`_ .
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
324
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
325 `STACKS manual &lt;http://creskolab.uoregon.edu/stacks/stacks_manual.pdf&gt;`_ .
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
326
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
327 `STACKS google group &lt;https://groups.google.com/forum/#!forum/stacks-users&gt;`_ .
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
328
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
329 --------
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
330
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
331 **References:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
332
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
333 -J. Catchen, P. Hohenlohe, S. Bassham, A. Amores, and W. Cresko. Stacks: an analysis tool set for population genomics. Molecular Ecology. 2013.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
334
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
335 -J. Catchen, S. Bassham, T. Wilson, M. Currey, C. O'Brien, Q. Yeates, and W. Cresko. The population structure and recent colonization history of Oregon threespine stickleback determined using restriction-site associated DNA-sequencing. Molecular Ecology. 2013.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
336
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
337 -J. Catchen, A. Amores, P. Hohenlohe, W. Cresko, and J. Postlethwait. Stacks: building and genotyping loci de novo from short-read sequences. G3: Genes, Genomes, Genetics, 1:171-182, 2011.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
338
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
339 -A. Amores, J. Catchen, A. Ferrara, Q. Fontenot and J. Postlethwait. Genome evolution and meiotic maps by massively parallel DNA sequencing: Spotted gar, an outgroup for the teleost genome duplication. Genetics, 188:799'808, 2011.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
340
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
341 -P. Hohenlohe, S. Amish, J. Catchen, F. Allendorf, G. Luikart. RAD sequencing identifies thousands of SNPs for assessing hybridization between rainbow trout and westslope cutthroat trout. Molecular Ecology Resources, 11(s1):117-122, 2011.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
342
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
343 -K. Emerson, C. Merz, J. Catchen, P. Hohenlohe, W. Cresko, W. Bradshaw, C. Holzapfel. Resolving postglacial phylogeography using high-throughput sequencing. Proceedings of the National Academy of Science, 107(37):16196-200, 2010.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
344
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
345 --------
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
346
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
347 **Integrated by:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
348
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
349 Yvan Le Bras and Cyril Monjeaud
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
350
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
351 GenOuest Bio-informatics Core Facility
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
352
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
353 UMR 6074 IRISA INRIA-CNRS-UR1 Rennes (France)
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
354
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
355 support@genouest.org
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
356
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
357 If you use this tool in Galaxy, please cite :
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
358
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
359 `Y. Le Bras, A. Roult, C. Monjeaud, M. Bahin, O. Quenez, C. Heriveau, A. Bretaudeau, O. Sallou, O. Collin, Towards a Life Sciences Virtual Research Environment : an e-Science initiative in Western France. JOBIM 2013. &lt;https://www.e-biogenouest.org/resources/128&gt;`_
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
360
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
361
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
362
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
363 </help>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
364 <citations>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
365 <citation type="doi">10.1111/mec.12354</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
366 <citation type="doi">10.1111/mec.12330</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
367 <citation type="doi">10.1534/g3.111.000240</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
368 <citation type="doi">10.1534/genetics.111.127324</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
369 <citation type="doi">10.1111/j.1755-0998.2010.02967.x</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
370 <citation type="doi">10.1073/pnas.1006538107</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
371
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
372 <citation type="bibtex">@INPROCEEDINGS{JOBIM2013,
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
373 author = {Le Bras, Y. and ROULT, A. and Monjeaud, C. and Bahin, M. and Quenez, O. and Heriveau, C. and Bretaudeau, A. and Sallou, O. and Collin, O.},
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
374 title = {Towards a Life Sciences Virtual Research Environment: An e-Science initiative in Western France},
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
375 booktitle = {JOBIM 2013 Proceedings},
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
376 year = {2013},
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
377 url = {https://www.e-biogenouest.org/resources/128},
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
378 pages = {97-106}
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
379 }</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
380 </citations>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
381 </tool>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
382