annotate STACKS_procrad.xml @ 2:c9e10e0d6c10

fix discard file
author cmonjeau
date Mon, 24 Aug 2015 15:39:12 +0000
parents d6ba40f6c824
children 0e0ff9e9c761
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
2
c9e10e0d6c10 fix discard file
cmonjeau
parents: 0
diff changeset
56 --discard_file $discard_file
0
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
57 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
58 --activate_advanced_options $activate_advanced_options
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
59 -t $options_advanced.truncate
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
60 #if $options_advanced.discard:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
61 -q
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
62 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
63 #if $options_advanced.rescue:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
64 -r
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
65 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
66 -w $options_advanced.sliding
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
67 -s $options_advanced.score
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
68 #if $options_advanced.remove:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
69 -c
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
70 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
71 #if $options_advanced.inline:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
72 --inline_null
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
73 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
74 #if $options_advanced.index:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
75 --index_null
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
76 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
77 #if $options_advanced.inlinein:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
78 --inline_inline
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
79 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
80 #if $options_advanced.indexind:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
81 --index_index
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
82 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
83 #if $options_advanced.inlineind:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
84 --inline_index
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
85 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
86 #if $options_advanced.indexin:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
87 --index_inline
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
88 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
89 --logfile $output
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
90
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
91 </command>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
92
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
93 <inputs>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
94
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
95 <conditional name="options_type">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
96 <param name="options_type_selector" type="select" label="Single-end or paired-end reads files">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
97 <option value="single" selected="True">Single-end files</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
98 <option value="paired">Paired-end files</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
99 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
100 <when value="single">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
101 <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
102 </when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
103 <when value="paired">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
104 <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
105 <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
106 </when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
107 </conditional>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
108 <param name="inputype" type="select" format="text" label="Inputs format">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
109 <option value="fastq" selected="True">fastq</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
110 <option value="gzfastq">fastq.gz</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
111 <option value="bustard">Illumina BUSTARD</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
112 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
113 <param name="barcode" type="data" format="tabular,txt" label="Barcode file" help="Barcode file" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
114
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
115 <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
116
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
117 <conditional name="options_enzyme">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
118 <param name="options_enzyme_selector" type="select" label="Number of enzymes">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
119 <option value="1" >One</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
120 <option value="2">Two</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
121 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
122 <when value="1">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
123 <param name="enzyme" type="select" format="text" label="Enzyme" help="provide the restriction enzyme used" >
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
124 <option value="apeKI">apeKI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
125 <option value="bamHI">bamHI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
126 <option value="claI">claI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
127 <option value="dpnII">dpnII</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
128 <option value="eaeI">eaeI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
129 <option value="ecoRI">ecoRI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
130 <option value="ecoT22I">ecoT22I</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
131 <option value="hindIII">hindIII</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
132 <option value="mluCI">mluCI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
133 <option value="mseI">mseI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
134 <option value="mspI">mspI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
135 <option value="ndeI">ndeI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
136 <option value="nlaIII">nlaIII</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
137 <option value="notI">notI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
138 <option value="nsiI">nsiI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
139 <option value="pstI">pstI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
140 <option value="sau3AI">sau3AI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
141 <option value="sbfI">sbfI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
142 <option value="sexAI">sexAI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
143 <option value="sgrAI">sgrAI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
144 <option value="sphI">sphI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
145 <option value="taqI">taqI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
146 <option value="xbaI">xbaI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
147 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
148 </when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
149 <when value="2">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
150 <param name="enzyme" type="select" format="text" label="Enzyme" help="provide the restriction enzyme used" >
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
151 <option value="apeKI">apeKI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
152 <option value="bamHI">bamHI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
153 <option value="claI">claI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
154 <option value="dpnII">dpnII</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
155 <option value="eaeI">eaeI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
156 <option value="ecoRI">ecoRI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
157 <option value="ecoT22I">ecoT22I</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
158 <option value="hindIII">hindIII</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
159 <option value="mluCI">mluCI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
160 <option value="mseI">mseI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
161 <option value="mspI">mspI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
162 <option value="ndeI">ndeI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
163 <option value="nlaIII">nlaIII</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
164 <option value="notI">notI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
165 <option value="nsiI">nsiI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
166 <option value="pstI">pstI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
167 <option value="sau3AI">sau3AI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
168 <option value="sbfI">sbfI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
169 <option value="sexAI">sexAI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
170 <option value="sgrAI">sgrAI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
171 <option value="sphI">sphI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
172 <option value="taqI">taqI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
173 <option value="xbaI">xbaI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
174 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
175 <param name="enzyme2" type="select" format="text" label="Second enzyme" help="provide the second restriction enzyme used" >
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
176 <option value="apeKI">apeKI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
177 <option value="bamHI">bamHI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
178 <option value="claI">claI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
179 <option value="dpnII">dpnII</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
180 <option value="eaeI">eaeI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
181 <option value="ecoRI">ecoRI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
182 <option value="ecoT22I">ecoT22I</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
183 <option value="hindIII">hindIII</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
184 <option value="mluCI">mluCI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
185 <option value="mseI">mseI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
186 <option value="mspI">mspI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
187 <option value="ndeI">ndeI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
188 <option value="nlaIII">nlaIII</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
189 <option value="notI">notI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
190 <option value="nsiI">nsiI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
191 <option value="pstI">pstI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
192 <option value="sau3AI">sau3AI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
193 <option value="sbfI">sbfI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
194 <option value="sexAI">sexAI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
195 <option value="sgrAI">sgrAI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
196 <option value="sphI">sphI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
197 <option value="taqI">taqI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
198 <option value="xbaI">xbaI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
199 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
200 </when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
201 </conditional>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
202 <param name="capture" type="boolean" label="Capture discarded reads to a file" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
203 <section name="options_quality" title="quality options" expanded="False">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
204 <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
205 <option value="phred33">phred33</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
206 <option value="phred64">phred64</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
207 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
208 </section>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
209 <param name="activate_advanced_options" type="boolean" label="Activate advanced options" help="advanced options are defined below" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
210 <section name="options_advanced" title="advanced options" expanded="False">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
211 <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
212 <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
213 <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
214 <param name="discard" type="boolean" checked="false" default="false" label="Discard reads with low quality scores"/>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
215 <param name="rescue" type="boolean" checked="false" default="false" label="Rescue barcodes and RAD-Tags?"/>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
216 <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
217 <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
218 <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
219 <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
220 <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
221 <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
222 <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
223 </section>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
224 <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
225 <option value="fastq">fastq</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
226 <option value="fasta">fasta</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
227 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
228
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
229 <param name="options_output_infos_selector" type="select" label="Output type">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
230 <option value="1">Normal (a fastq file by barcode)</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
231 <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
232 <option value="3">Only a zip archive with all files (one archive with all fastq files)</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
233 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
234
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
235 </inputs>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
236 <outputs>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
237
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
238 <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
239 <data format="txt" name="additional" label="fast(a/q) file with ${tool.name}" hidden="true">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
240 <discover_datasets pattern="__designation_and_ext__" directory="galaxy_outputs" visible="true" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
241 </data>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
242 <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
243 <filter>options_output_infos_selector != "1"</filter>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
244 </data>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
245 <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
246 <filter>capture</filter>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
247 </data>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
248 </outputs>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
249
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
250 <stdio>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
251 <exit_code range="1" level="fatal" description="Error in Stacks Process radtag execution" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
252 </stdio>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
253
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
254
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
255 <help>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
256
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
257 .. class:: infomark
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
258
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
259 **What it does**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
260
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
261 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
262 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
263 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
264 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
265 specified on the command line (the threshold and window size can be adjusted).
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
266 The process_radtags program can:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
267 handle data that is barcoded, either inline or using an index, or unbarcoded.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
268 use combinatorial barcodes.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
269 check and correct for a restriction enzyme cutsite for single or double-digested
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
270 data.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
271 filter adapter sequence while allowing for sequencing error in the adapter pattern.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
272 process individual files or whole directories of files.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
273 directly read gzipped data
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
274 filter reads based on Illumina's Chastity filter
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
275
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
276 --------
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
277
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
278 **Help**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
279
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
280 Input files:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
281
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
282 - FASTQ, FASTA, zip, tar.gz
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
283
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
284 - Barcode File Format
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
285
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
286 The barcode file is a very simple format : one barcode per line.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
287
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
288 CGATA
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
289 CGGCG
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
290 GAAGC
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
291 GAGAT
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
292 CGATA
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
293 CGGCG
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
294 GAAGC
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
295 GAGAT
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
296
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
297 Combinatorial barcodes are specified, one per column, separated by a tab::
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
298
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
299 CGATA ACGTA
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
300 CGGCG CGTA
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
301 GAAGC CGTA
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
302 GAGAT CGTA
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
303 CGATA AGCA
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
304 CGGCG AGCA
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
305 GAAGC AGCA
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
306 GAGAT AGCA
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
307
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
308
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
309 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
310
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 **Created by:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
315
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
316 Stacks was developed by Julian Catchen with contributions from Angel Amores, Paul Hohenlohe, and Bill Cresko
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
317
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
318 --------
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
319
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
320 **Project links:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
321
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
322 `STACKS website &lt;http://creskolab.uoregon.edu/stacks/&gt;`_ .
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
323
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
324 `STACKS manual &lt;http://creskolab.uoregon.edu/stacks/stacks_manual.pdf&gt;`_ .
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
325
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
326 `STACKS google group &lt;https://groups.google.com/forum/#!forum/stacks-users&gt;`_ .
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
327
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
328 --------
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
329
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
330 **References:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
331
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
332 -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
333
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
334 -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
335
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
336 -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
337
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
338 -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
339
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
340 -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
341
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
342 -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
343
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
344 --------
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
345
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
346 **Integrated by:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
347
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
348 Yvan Le Bras and Cyril Monjeaud
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
349
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
350 GenOuest Bio-informatics Core Facility
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
351
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
352 UMR 6074 IRISA INRIA-CNRS-UR1 Rennes (France)
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
353
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
354 support@genouest.org
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
355
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
356 If you use this tool in Galaxy, please cite :
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
357
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
358 `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
359
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
360
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
361
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
362 </help>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
363 <citations>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
364 <citation type="doi">10.1111/mec.12354</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
365 <citation type="doi">10.1111/mec.12330</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
366 <citation type="doi">10.1534/g3.111.000240</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
367 <citation type="doi">10.1534/genetics.111.127324</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
368 <citation type="doi">10.1111/j.1755-0998.2010.02967.x</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
369 <citation type="doi">10.1073/pnas.1006538107</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
370
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
371 <citation type="bibtex">@INPROCEEDINGS{JOBIM2013,
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
372 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
373 title = {Towards a Life Sciences Virtual Research Environment: An e-Science initiative in Western France},
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
374 booktitle = {JOBIM 2013 Proceedings},
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
375 year = {2013},
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
376 url = {https://www.e-biogenouest.org/resources/128},
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
377 pages = {97-106}
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
378 }</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
379 </citations>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
380 </tool>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
381