annotate STACKS_denovomap.xml @ 1:ccfa8e539bdf

add archive toolbox to manage zip outputs
author cmonjeau
date Mon, 24 Aug 2015 10:09:14 +0000
parents d6ba40f6c824
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
1 <tool id="STACKSdenovomap" name="STACKS : De novo map" force_history_refresh="True">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
2 <description>Run the STACKS denovo_map.pl wrapper</description>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
3
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
4 <configfiles>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
5 <configfile name="parent_sequences">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
6 #if str( $options_usage.options_usage_selector ) == "genetic"
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
7 #for $input in $options_usage.parent_sequence:
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="progeny_sequences">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
13 #if str( $options_usage.options_usage_selector ) == "genetic" and str( $options_usage.options_progeny.options_progeny_selector ) == "yes"
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
14 #for $input in $options_usage.options_progeny.progeny_sequence:
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="individual_samples">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
20 #if str( $options_usage.options_usage_selector ) == "population"
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
21 #for $input in $options_usage.individual_sample:
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
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
28 <requirements>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
29 <requirement type="package" version="1.18">stacks</requirement>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
30 </requirements>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
31
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
32 <command interpreter="python">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
33 STACKS_denovomap.py
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
34 #if str( $options_usage.options_usage_selector ) == "genetic"
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
35 -p $parent_sequences
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
36 -b $options_usage.paired
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
37 #if str( $options_usage.options_progeny.options_progeny_selector ) == "yes"
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
38 -r $progeny_sequences
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
39 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
40 #else
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
41 -s $individual_samples
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
42 #if str( $options_usage.options_popmap.popmap_selector) == "yes"
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
43 -O $options_usage.options_popmap.popmap
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
44 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
45 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
46 -m $advanced_options.minident
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
47 -P $advanced_options.minidentprogeny
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
48 -M $advanced_options.mismatchbetlociproc
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
49 -N $advanced_options.mismatchsecond
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
50 -n $advanced_options.mismatchbetlocibuild
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
51 -t $advanced_options.remove_hightly
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
52 -H $advanced_options.disable_calling
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
53 ## snp_model
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
54 #if str( $snp_options.select_model.model_type) == "bounded"
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
55 --bound_low $snp_options.select_model.boundlow
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
56 --bound_high $snp_options.select_model.boundhigh
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
57 --alpha $snp_options.select_model.alpha
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
58 #else
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
59 --alpha $snp_options.select_model.alpha
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
60 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
61 ## outputs
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
62 --catalogsnps $catalogsnps
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
63 --catalogalleles $catalogalleles
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
64 --catalogtags $catalogtags
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
65 --logfile $output
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
66 --compress_output $output_compress
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
67 ##additionnal outputs
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
68 --total_output $total_output
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
69 --tags_output $tags_output
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
70 --snps_output $snps_output
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
71 --alleles_output $alleles_output
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
72 --matches_output $matches_output
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
73
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
74 </command>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
75
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
76 <inputs>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
77 <conditional name="options_usage">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
78 <param name="options_usage_selector" type="select" label="Select your usage">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
79 <option value="genetic" selected="true">Genetic map</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
80 <option value="population">Population</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
81 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
82 <when value="genetic">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
83 <param name="parent_sequence" format="fastq,fasta,zip,tar.gz" type="data" multiple="true" label="Files containing parent sequences" help="FASTQ/FASTA/ZIP/TAR.GZ files containing parent sequences from a mapping cross" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
84 <param name="paired" type="boolean" checked="false" default="false" label="Paired-end fastq files?" help="be careful, all files must have a paired-end friend"/>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
85 <conditional name="options_progeny">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
86 <param name="options_progeny_selector" type="select" label="Use progeny files">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
87 <option value="yes" selected="true">Yes</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
88 <option value="no">No</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
89 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
90 <when value="yes">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
91 <param name="progeny_sequence" format="fastq,fasta,zip,tar.gz" type="data" multiple="true" label="Files containing progeny sequences" help="FASTQ/FASTA/ZIP/TAR.GZ files containing progeny sequences from a mapping cross" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
92 </when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
93 <when value="no">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
94 </when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
95 </conditional>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
96 </when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
97 <when value="population">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
98 <param name="individual_sample" format="fastq,fasta,zip,tar.gz" type="data" multiple="true" label="Files containing an individual sample from a population" help="FASTQ/FASTA/ZIP/TAR.GZ files contiaining an individual sample from a population" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
99 <conditional name="options_popmap">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
100 <param name="popmap_selector" type="select" label="Analyzing one or more populations?" >
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
101 <option value="no" selected="true">No</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
102 <option value="yes">Yes</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
103 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
104 <when value="no"></when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
105 <when value="yes">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
106 <param name="popmap" type="data" format="tabular,txt" label="Specify a population map" help="If analyzing one or more populations, specify a population map" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
107 </when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
108 </conditional>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
109
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
110 </when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
111 </conditional>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
112 <!-- stack assembly options -->
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
113 <section name="advanced_options" title="advanced_options" expanded="False">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
114 <param name="minident" type="integer" value="-1" label="Minimum number of identical raw reads required to create a stack" help="leave -1 if you don't use the parameter" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
115 <param name="minidentprogeny" type="integer" value="-1" label="Minimum number of identical raw reads required to create a stack (progeny)" help="leave -1 if you don't use the parameter" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
116 <param name="mismatchbetlociproc" type="integer" value="2" label="Number of mismatches allowed between loci when processing a single individual"/>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
117 <param name="mismatchsecond" type="integer" value="-1" label="Number of mismatches allowed when aligning secondary reads" help="leave -1 if you don't use the parameter" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
118 <param name="mismatchbetlocibuild" type="integer" value="0" label="specify the number of mismatches allowed between loci when building the catalog"/>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
119 <param name="remove_hightly" type="boolean" checked="false" default="false" label="remove, or break up, highly repetitive RAD-Tags in the ustacks program" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
120 <param name="disable_calling" type="boolean" checked="false" default="false" label="disable calling haplotypes from secondary reads" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
121 </section>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
122 <!-- SNP Model options -->
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
123 <section name="snp_options" title="SNP_Model_Options" expanded="False">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
124 <conditional name="select_model">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
125 <param name="model_type" type="select" label="Choose the model">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
126 <option value="snp" selected="true">SNP</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
127 <option value="bounded">Bounded</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
128 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
129 <when value="snp">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
130 <param name="alpha" type="float" value="0.05" min="0.001" max="0.1" label="chi square significance level required to call a heterozygote or homozygote" help="either 0.1, 0.05 (default), 0.01, or 0.001" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
131 </when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
132 <when value="bounded">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
133 <param name="boundlow" type="float" value="0.0" min="0.0" max="1.0" label="lower bound for epsilon, the error rate" help="between 0 and 1.0"/>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
134 <param name="boundhigh" type="float" value="1.0" min="0.0" max="1.0" label="upper bound for epsilon, the error rate" help="between 0 and 1.0" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
135 <param name="alpha" type="float" value="0.05" min="0.001" max="0.1" label="chi square significance level required to call a heterozygote or homozygote" help="either 0.1, 0.05 (default), 0.01, or 0.001" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
136 </when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
137 </conditional>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
138 </section>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
139 <!-- Output options -->
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
140 <param name="output_compress" type="select" label="Output type" help="please see below for details">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
141 <option value="default" selected="true">No compression</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
142 <option value="categories">Compressed by categories</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
143 <option value="total">Compressed all outputs</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
144 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
145 </inputs>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
146 <outputs>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
147
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
148 <data format="txt" name="output" label="result.log with ${tool.name} on ${on_string}" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
149 <data format="txt" name="additional" label="additional file with ${tool.name}" hidden="true">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
150 <discover_datasets pattern="__designation_and_ext__" directory="galaxy_outputs" visible="true" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
151 </data>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
152 <data format="tabular" name="catalogsnps" label="catalog.snps with ${tool.name} on ${on_string}" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
153 <data format="tabular" name="catalogalleles" label="catalog.alleles with ${tool.name} on ${on_string}" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
154 <data format="tabular" name="catalogtags" label="catalog.tags with ${tool.name} on ${on_string}" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
155
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
156
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
157 <!-- additionnal output archives -->
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
158 <data format="zip" name="total_output" label="total_output.zip with ${tool.name} on ${on_string}" >
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
159 <filter>output_compress == "total"</filter>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
160 </data>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
161 <data format="zip" name="tags_output" label="tags_output.zip with ${tool.name} on ${on_string}" >
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
162 <filter>output_compress == "categories"</filter>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
163 </data>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
164 <data format="zip" name="snps_output" label="snps_output.zip with ${tool.name} on ${on_string}" >
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
165 <filter>output_compress == "categories"</filter>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
166 </data>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
167 <data format="zip" name="alleles_output" label="alleles_output.zip with ${tool.name} on ${on_string}" >
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
168 <filter>output_compress == "categories"</filter>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
169 </data>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
170 <data format="zip" name="matches_output" label="matches_output.zip with ${tool.name} on ${on_string}" >
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
171 <filter>output_compress == "categories"</filter>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
172 </data>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
173
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
174 </outputs>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
175 <stdio>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
176 <exit_code range="1" level="fatal" description="Error in Stacks Denovo execution" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
177 </stdio>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
178 <help>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
179
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
180 .. class:: infomark
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
181
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
182 **What it does**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
183
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
184 This program will run each of the Stacks components: first, running ustacks on each of the samples specified, building loci and calling SNPs in each. Second, cstacks will be run to create a catalog of all loci that were marked as 'parents' or 'samples' on the command line, and finally, sstacks will be executed to match each sample against the catalog. A bit more detail on this process can be found in the FAQ. The denovo_map.pl program will also load the results of each stage of the analysis: individual loci, the catalog, and matches against the catalog into the database (although this can be disabled). After matching, the program will build a database index to speed up access (index_radtags.pl) and enable web-based filtering.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
185
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
186 --------
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
187
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
188 **Created by:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
189
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
190 Stacks was developed by Julian Catchen with contributions from Angel Amores, Paul Hohenlohe, and Bill Cresko
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
191
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
192 --------
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
193
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
194 **Example:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
195
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
196 Input files:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
197
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
198 FASTQ, FASTA, zip, tar.gz
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
199
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
200 - Population map::
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
201
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
202 indv_01 1
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
203 indv_02 1
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
204 indv_03 1
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
205 indv_04 2
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
206 indv_05 2
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
207 indv_06 2
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
208
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
209
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
210 Output files:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
211
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
212 - XXX.tags.tsv file::
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
213
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
214 Column Name Description
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
215 1 Sql ID This field will always be "0", however the MySQL database will assign an ID when it is loaded.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
216 2 Sample ID Each sample passed through Stacks gets a unique id for that sample.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
217 3 Stack ID Each stack formed gets an ID.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
218 4 Chromosome If aligned to a reference genome using pstacks, otherwise it is blank.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
219 5 Basepair If aligned to ref genome using pstacks.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
220 6 Strand If aligned to ref genome using pstacks.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
221 7 Sequence Type Either 'consensus', 'primary' or 'secondary', see the Stacks paper for definitions of these terms.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
222 8 Sequence ID The individual sequence read that was merged into this stack.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
223 9 Sequence The raw sequencing read.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
224 10 Deleveraged Flag If "1", this stack was processed by the deleveraging algorithm and was broken down from a larger stack.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
225 11 Blacklisted Flag If "1", this stack was still confounded depsite processing by the deleveraging algorithm.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
226 12 Lumberja ckstack Flag If "1", this stack was set aside due to having an extreme depth of coverage.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
227
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
228 Notes: For the tags file, each stack will start in the file with a consensus sequence for the entire stack followed by the flags for that stack. Then, each individual read that was merged into that stack will follow. The next stack will start with another consensus sequence.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
229
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
230
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
231 - XXX.snps.tsv file::
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
232
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
233 Column Name Description
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
234 1 Sql ID This field will always be "0", however the MySQL database will assign an ID when it is loaded.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
235 2 Sample ID
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
236 3 Stack ID
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
237 4 SNP Column
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
238 5 Likelihood ratio From the SNP-calling model.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
239 6 Rank_1 Majority nucleotide.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
240 7 Rank_2 Alternative nucleotide.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
241
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
242 Notes: If a stack has two SNPs called within it, then there will be two lines in this file listing each one.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
243
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
244
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
245 - XXX.alleles.tsv file::
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
246
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
247 Column Name Description
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
248 1 Sql ID This field will always be "0", however the MySQL database will assign an ID when it is loaded.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
249 2 Sample ID
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
250 3 Stack ID
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
251 4 Haplotype The haplotype, as constructed from the called SNPs at each locus.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
252 5 Percent Percentage of reads that have this haplotype
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
253 6 Count Raw number of reads that have this haplotype
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
254
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
255
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
256 - XXX.matches.tsv file::
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
257
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
258 Column Name Description
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
259 1 Sql ID This field will always be "0", however the MySQL database will assign an ID when it is loaded.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
260 2 Batch ID
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
261 3 Catalog ID
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
262 4 Sample ID
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
263 5 Stack ID
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
264 6 Haplotype
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
265 7 Stack Depth
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
266
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
267 Notes: Each line in this file records a match between a catalog locus and a locus in an individual, for a particular haplotype. The Batch ID plus the Catalog ID together represent a unique locus in the entire population, while the Sample ID and the Stack ID together represent a unique locus in an individual sample.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
268
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
269
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
270 - batch_X.sumstats.tsv Summary Statistics Output::
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
271
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
272 Batch ID The batch identifier for this data set.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
273 Locus ID Catalog locus identifier.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
274 Chromosome If aligned to a reference genome.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
275 Basepair If aligned to a reference genome. This is the alignment of the whole catalog locus. The exact basepair reported is aligned to the location of the RAD site (depending on whether alignment is to the positive or negative strand).
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
276 Column The nucleotide site within the catalog locus.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
277 Population ID The ID supplied to the populations program, as written in the population map file.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
278 P Nucleotide The most frequent allele at this position in this population.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
279 Q Nucleotide The alternative allele.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
280 Number of Individuals Number of individuals sampled in this population at this site.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
281 P Frequency of most frequent allele.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
282 Observed Heterozygosity The proportion of individuals that are heterozygotes in this population.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
283 Observed Homozygosity The proportion of individuals that are homozygotes in this population.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
284 Expected Heterozygosity Heterozygosity expected under Hardy-Weinberg equilibrium.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
285 Expected Homozygosity Homozygosity expected under Hardy-Weinberg equilibrium.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
286 pi An estimate of nucleotide diversity.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
287 Smoothed pi A weighted average of p depending on the surrounding 3s of sequence in both directions.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
288 Smoothed pi P-value If bootstrap resampling is enabled, a p-value ranking the significance of p within this population.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
289 FIS The inbreeding coefficient of an individual (I) relative to the subpopulation (S).
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
290 Smoothed FIS A weighted average of FIS depending on the surrounding 3s of sequence in both directions.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
291 Smoothed FIS P-value If bootstrap resampling is enabled, a p-value ranking the significance of FIS within this population.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
292 Private allele True (1) or false (0), depending on if this allele is only occurs in this population.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
293
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
294 - batch_X.fst_Y-Z.tsv Pairwise FST Output::
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
295
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
296 Batch ID The batch identifier for this data set.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
297 Locus ID Catalog locus identifier.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
298 Population ID 1 The ID supplied to the populations program, as written in the population map file.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
299 Population ID 2 The ID supplied to the populations program, as written in the population map file.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
300 Chromosome If aligned to a reference genome.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
301 Basepair If aligned to a reference genome. This is the alignment of the whole catalog locus. The exact basepair reported is aligned to the location of the RAD site (depending on whether alignment is to the positive or negative strand).
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
302 Column The nucleotide site within the catalog locus.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
303 Overall pi An estimate of nucleotide diversity across the two populations.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
304 FST A measure of population differentiation.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
305 FET p-value P-value describing if the FST measure is statistically significant according to Fisher's Exact Test.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
306 Odds Ratio Fisher's Exact Test odds ratio
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
307 CI High Fisher's Exact Test confidence interval.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
308 CI Low Fisher's Exact Test confidence interval.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
309 LOD Score Logarithm of odds score.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
310 Expected Heterozygosity Heterozygosity expected under Hardy-Weinberg equilibrium.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
311 Expected Homozygosity Homozygosity expected under Hardy-Weinberg equilibrium.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
312 Corrected FST FST with either the FET p-value, or a window-size or genome size Bonferroni correction.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
313 Smoothed FST A weighted average of FST depending on the surrounding 3s of sequence in both directions.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
314 Smoothed FST P-value If bootstrap resampling is enabled, a p-value ranking the significance of FST within this pair of populations.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
315
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
316
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
317 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
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 **Output type:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
322
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
323 - Output type details::
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
324
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
325 No compression All files will be added in the current history.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
326 Compressed by categories Files will be compressed by categories (snps, allele, matches and tags) into 4 zip archives. These archives and batch files will be added in the current history.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
327 Compressed all outputs All files will be compressed in an unique zip archive. Batch files will be added in the current history with the archive.
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
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
332 **Project links:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
333
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
334 `STACKS website &lt;http://creskolab.uoregon.edu/stacks/&gt;`_ .
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
335
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
336 `STACKS manual &lt;http://creskolab.uoregon.edu/stacks/stacks_manual.pdf&gt;`_ .
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
337
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
338 `STACKS google group &lt;https://groups.google.com/forum/#!forum/stacks-users&gt;`_ .
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
339
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
340 --------
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
341
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
342 **References:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
343
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
344 -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
345
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
346 -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
347
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
348 -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
349
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
350 -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
351
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
352 -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
353
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
354 -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
355
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
356 --------
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
357
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
358 **Integrated by:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
359
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
360 Yvan Le Bras and Cyril Monjeaud
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
361
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
362 GenOuest Bio-informatics Core Facility
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
363
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
364 UMR 6074 IRISA INRIA-CNRS-UR1 Rennes (France)
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
365
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
366 support@genouest.org
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
367
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
368 </help>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
369 <citations>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
370 <citation type="doi">10.1111/mec.12354</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
371 <citation type="doi">10.1111/mec.12330</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
372 <citation type="doi">10.1534/g3.111.000240</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
373 <citation type="doi">10.1534/genetics.111.127324</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
374 <citation type="doi">10.1111/j.1755-0998.2010.02967.x</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
375 <citation type="doi">10.1073/pnas.1006538107</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
376
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
377 <citation type="bibtex">@INPROCEEDINGS{JOBIM2013,
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
378 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
379 title = {Towards a Life Sciences Virtual Research Environment: An e-Science initiative in Western France},
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
380 booktitle = {JOBIM 2013 Proceedings},
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
381 year = {2013},
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
382 url = {https://www.e-biogenouest.org/resources/128},
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
383 pages = {97-106}
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
384 }</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
385 </citations>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
386 </tool>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
387