annotate STACKS_refmap.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="STACKSrefmap" name="STACKS : Reference map" force_history_refresh="True">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
2 <description>Run the STACKS ref_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 <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
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
31 <command interpreter="python">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
32 STACKS_refmap.py
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
33 #if str( $options_usage.options_usage_selector ) == "genetic"
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
34 -p $parent_sequences
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
35 #if str( $options_usage.options_progeny.options_progeny_selector ) == "yes"
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
36 -r $progeny_sequences
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
37 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
38 #else
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
39 -s $individual_samples
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
40 #if str( $options_usage.options_popmap.popmap_selector) == "yes"
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
41 -O $options_usage.options_popmap.popmap
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
42 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
43 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
44 -n $mismatchbetlocibuild
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
45 -m $mincov
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
46 --bound_low $snp_options.boundlow
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
47 --bound_high $snp_options.boundhigh
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
48 --alpha $snp_options.alpha
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
49 --catalogsnps $catalogsnps
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
50 --catalogalleles $catalogalleles
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
51 --catalogtags $catalogtags
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
52 --logfile $output
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
53 --compress_output $output_compress
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
54 ##additionnal outputs
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
55 --total_output $total_output
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
56 --tags_output $tags_output
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
57 --snps_output $snps_output
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
58 --alleles_output $alleles_output
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
59 --matches_output $matches_output
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
60
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
61 </command>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
62
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
63 <inputs>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
64 <conditional name="options_usage">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
65 <param name="options_usage_selector" type="select" label="Select your usage">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
66 <option value="genetic" selected="true">Genetic map</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
67 <option value="population">Population</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
68 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
69 <when value="genetic">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
70 <param name="parent_sequence" format="sam,zip,tar.gz" type="data" multiple="true" label="Files containing parent sequences" help="SAM/ZIP/TAR.GZ files" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
71 <conditional name="options_progeny">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
72 <param name="options_progeny_selector" type="select" label="Use progeny files">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
73 <option value="yes" selected="true">Yes</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
74 <option value="no">No</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
75 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
76 <when value="yes">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
77 <param name="progeny_sequence" format="sam,zip,tar.gz" type="data" multiple="true" label="Files containing progeny sequences" help="SAM/ZIP/TAR.GZ files containing progeny sequences from a mapping cross" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
78 </when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
79 <when value="no">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
80 </when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
81 </conditional>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
82
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
83 </when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
84 <when value="population">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
85 <param name="individual_sample" format="sam,zip,tar.gz" type="data" multiple="true" label="Files containing an individual sample from a population" help="SAM/ZIP/TAR.GZ files." />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
86 <conditional name="options_popmap">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
87 <param name="popmap_selector" type="select" label="Analyzing one or more populations?" >
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
88 <option value="no" selected="true">No</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
89 <option value="yes">Yes</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
90 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
91 <when value="no"></when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
92 <when value="yes">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
93 <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
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 </conditional>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
98
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
99 <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
100 <param name="mincov" type="integer" value="1" label="Minimum depth of coverage" help="specify the minimum depth of coverage to report a stack in pstacks" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
101 <!-- SNP Model options -->
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
102 <section name="snp_options" title="SNP_Model_Options" expanded="False">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
103 <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
104 <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
105 <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
106 </section>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
107 <!-- Output options -->
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
108 <param name="output_compress" type="select" label="Output type" help="please see below for details">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
109 <option value="default" selected="true">No compression</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
110 <option value="categories">Compressed by categories</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
111 <option value="total">Compressed all outputs</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
112 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
113 </inputs>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
114 <outputs>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
115
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
116 <data format="txt" name="output" label="result.log with ${tool.name} on ${on_string}" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
117 <data format="txt" name="additional" label="additional file with ${tool.name}" hidden="true">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
118 <discover_datasets pattern="__designation_and_ext__" directory="galaxy_outputs" visible="true" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
119 </data>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
120
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
121 <data format="tabular" name="catalogsnps" label="catalog.snps with ${tool.name} on ${on_string}" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
122 <data format="tabular" name="catalogalleles" label="catalog.alleles with ${tool.name} on ${on_string}" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
123 <data format="tabular" name="catalogtags" label="catalog.tags with ${tool.name} on ${on_string}" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
124
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
125 <!-- additionnal output archives -->
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
126 <data format="zip" name="total_output" label="total_output.zip with ${tool.name} on ${on_string}" >
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
127 <filter>output_compress == "total"</filter>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
128 </data>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
129 <data format="zip" name="tags_output" label="tags_output.zip with ${tool.name} on ${on_string}" >
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
130 <filter>output_compress == "categories"</filter>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
131 </data>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
132 <data format="zip" name="snps_output" label="snps_output.zip with ${tool.name} on ${on_string}" >
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
133 <filter>output_compress == "categories"</filter>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
134 </data>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
135 <data format="zip" name="alleles_output" label="alleles_output.zip with ${tool.name} on ${on_string}" >
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
136 <filter>output_compress == "categories"</filter>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
137 </data>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
138 <data format="zip" name="matches_output" label="matches_output.zip with ${tool.name} on ${on_string}" >
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
139 <filter>output_compress == "categories"</filter>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
140 </data>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
141 </outputs>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
142 <help>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
143
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
144 .. class:: infomark
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
145
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
146 **What it does**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
147
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
148 This program expects data that have been aligned to a reference genome, and can accept data directly from Bowtie, or from any aligner that can produce SAM format. To avoid datasets names problems, we recommand the use of the *Map with BWA for STACKS tool*. This program will execute each of the Stacks components: first, running pstacks on each of the samples specified, building loci (based on the reference alignment) and calling SNPs in each. Second, cstacks will be run to create a catalog of all loci specified as 'parents' or 'samples' on the command line, again using alignment to match loci in the catalog. Finally, sstacks will be executed to match each sample against the catalog. The ref_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
149
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
150
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
151 --------
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
152
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
153
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
154 **Created by:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
155
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
156 Stacks was developed by Julian Catchen with contributions from Angel Amores, Paul Hohenlohe, and Bill Cresko
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
157
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
158 --------
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
159
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
160 **Example:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
161
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
162 Input files:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
163
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
164 - SAM, zip, tar.gz
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
165
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
166 - Population map::
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
167
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
168 indv_01 1
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
169 indv_02 1
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
170 indv_03 1
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
171 indv_04 2
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
172 indv_05 2
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
173 indv_06 2
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
174
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
175 Output files:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
176
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
177 - XXX.tags.tsv file::
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
178
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
179 Column Name Description
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
180 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
181 2 Sample ID Each sample passed through Stacks gets a unique id for that sample.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
182 3 Stack ID Each stack formed gets an ID.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
183 4 Chromosome If aligned to a reference genome using pstacks, otherwise it is blank.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
184 5 Basepair If aligned to ref genome using pstacks.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
185 6 Strand If aligned to ref genome using pstacks.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
186 7 Sequence Type Either 'consensus', 'primary' or 'secondary', see the Stacks paper for definitions of these terms.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
187 8 Sequence ID The individual sequence read that was merged into this stack.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
188 9 Sequence The raw sequencing read.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
189 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
190 11 Blacklisted Flag If "1", this stack was still confounded depsite processing by the deleveraging algorithm.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
191 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
192
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
193 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
194
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
195
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
196 - XXX.snps.tsv file::
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
197
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
198 Column Name Description
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
199 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
200 2 Sample ID
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
201 3 Stack ID
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
202 4 SNP Column
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
203 5 Likelihood ratio From the SNP-calling model.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
204 6 Rank_1 Majority nucleotide.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
205 7 Rank_2 Alternative nucleotide.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
206
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
207 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
208
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
209
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
210 - XXX.alleles.tsv file::
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
211
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
212 Column Name Description
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
213 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
214 2 Sample ID
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
215 3 Stack ID
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
216 4 Haplotype The haplotype, as constructed from the called SNPs at each locus.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
217 5 Percent Percentage of reads that have this haplotype
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
218 6 Count Raw number of reads that have this haplotype
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
219
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
220
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
221 - XXX.matches.tsv file::
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
222
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
223 Column Name Description
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
224 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
225 2 Batch ID
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
226 3 Catalog ID
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
227 4 Sample ID
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
228 5 Stack ID
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
229 6 Haplotype
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
230 7 Stack Depth
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
231
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
232 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
233
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
234
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
235 - batch_X.sumstats.tsv Summary Statistics Output::
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
236
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
237 Batch ID The batch identifier for this data set.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
238 Locus ID Catalog locus identifier.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
239 Chromosome If aligned to a reference genome.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
240 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
241 Column The nucleotide site within the catalog locus.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
242 Population ID The ID supplied to the populations program, as written in the population map file.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
243 P Nucleotide The most frequent allele at this position in this population.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
244 Q Nucleotide The alternative allele.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
245 Number of Individuals Number of individuals sampled in this population at this site.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
246 P Frequency of most frequent allele.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
247 Observed Heterozygosity The proportion of individuals that are heterozygotes in this population.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
248 Observed Homozygosity The proportion of individuals that are homozygotes in this population.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
249 Expected Heterozygosity Heterozygosity expected under Hardy-Weinberg equilibrium.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
250 Expected Homozygosity Homozygosity expected under Hardy-Weinberg equilibrium.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
251 pi An estimate of nucleotide diversity.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
252 Smoothed pi A weighted average of p depending on the surrounding 3s of sequence in both directions.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
253 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
254 FIS The inbreeding coefficient of an individual (I) relative to the subpopulation (S).
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
255 Smoothed FIS A weighted average of FIS depending on the surrounding 3s of sequence in both directions.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
256 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
257 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
258
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
259 - batch_X.fst_Y-Z.tsv Pairwise FST Output::
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
260
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
261 Batch ID The batch identifier for this data set.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
262 Locus ID Catalog locus identifier.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
263 Population ID 1 The ID supplied to the populations program, as written in the population map file.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
264 Population ID 2 The ID supplied to the populations program, as written in the population map file.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
265 Chromosome If aligned to a reference genome.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
266 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
267 Column The nucleotide site within the catalog locus.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
268 Overall pi An estimate of nucleotide diversity across the two populations.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
269 FST A measure of population differentiation.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
270 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
271 Odds Ratio Fisher's Exact Test odds ratio
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
272 CI High Fisher's Exact Test confidence interval.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
273 CI Low Fisher's Exact Test confidence interval.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
274 LOD Score Logarithm of odds score.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
275 Expected Heterozygosity Heterozygosity expected under Hardy-Weinberg equilibrium.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
276 Expected Homozygosity Homozygosity expected under Hardy-Weinberg equilibrium.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
277 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
278 Smoothed FST A weighted average of FST depending on the surrounding 3s of sequence in both directions.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
279 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
280
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
281
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
282 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
283
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
284
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
285 --------
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
286
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
287 **Project links:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
288
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
289 `STACKS website &lt;http://creskolab.uoregon.edu/stacks/&gt;`_ .
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
290
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
291 `STACKS manual &lt;http://creskolab.uoregon.edu/stacks/stacks_manual.pdf&gt;`_ .
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
292
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
293 `STACKS google group &lt;https://groups.google.com/forum/#!forum/stacks-users&gt;`_ .
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
294
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
295 --------
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
296
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
297 **References:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
298
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
299 -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
300
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
301 -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
302
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
303 -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
304
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
305 -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
306
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
307 -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
308
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
309 -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
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 **Integrated by:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
314
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
315 Yvan Le Bras and Cyril Monjeaud
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
316
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
317 GenOuest Bio-informatics Core Facility
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
318
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
319 UMR 6074 IRISA INRIA-CNRS-UR1 Rennes (France)
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
320
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
321 support@genouest.org
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
322
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
323 If you use this tool in Galaxy, please cite :
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
324
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
325 `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
326
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
327
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
328 </help>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
329 <citations>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
330 <citation type="doi">10.1111/mec.12354</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
331 <citation type="doi">10.1111/mec.12330</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
332 <citation type="doi">10.1534/g3.111.000240</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
333 <citation type="doi">10.1534/genetics.111.127324</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
334 <citation type="doi">10.1111/j.1755-0998.2010.02967.x</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
335 <citation type="doi">10.1073/pnas.1006538107</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
336
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
337 <citation type="bibtex">@INPROCEEDINGS{JOBIM2013,
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
338 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
339 title = {Towards a Life Sciences Virtual Research Environment: An e-Science initiative in Western France},
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
340 booktitle = {JOBIM 2013 Proceedings},
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
341 year = {2013},
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
342 url = {https://www.e-biogenouest.org/resources/128},
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
343 pages = {97-106}
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
344 }</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
345 </citations>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
346 </tool>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
347