annotate STACKS_genotypes.xml @ 2:c9e10e0d6c10

fix discard file
author cmonjeau
date Mon, 24 Aug 2015 15:39:12 +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="STACKSgenotypes" name="STACKS : genotypes" force_history_refresh="True">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
2 <description>Run the STACKS genotypes program</description>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
3
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
4
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
5 <requirements>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
6 <requirement type="package" version="1.18">stacks</requirement>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
7 </requirements>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
8
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
9 <command interpreter="python">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
10
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
11 STACKS_genotypes.py
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
12 -P $STACKS_archive
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
13 -b $batchid
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
14 -c $corrections
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
15 #if str( $options_output.options_output_selector ) == "1":
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
16 -t $options_output.map
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
17 -o $options_output.filetype
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
18 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
19 #if str( $options_enzyme.options_enzyme_selector ) == "1":
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
20 -e $options_enzyme.enzyme
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
21 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
22 --active_advanced $active_advanced
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
23 -r $advanced_options.minprogeny
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
24 -m $advanced_options.mindepth
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
25 #if str( $advanced_options.blacklistselect.advanced_blackoptions_selector) == "advanced"
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
26 -B $advanced_options.blacklistselect.blacklist
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
27 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
28 #if str( $advanced_options.whitelistselect.advanced_whiteoptions_selector) == "advanced"
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
29 -W $advanced_options.whitelistselect.whitelist
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
30 #end if
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
31 --active_autocorrect $active_autocorrect
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
32 --min_hom_seqs $options_autocorrect.hom
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
33 --min_het_seqs $options_autocorrect.het
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
34 --max_het_seqs $options_autocorrect.hetmax
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
35 --logfile $output
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
36 --compress_output $output_compress
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
37 ##additionnal outputs
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
38 --total_output $total_output
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
39
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
40
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
41 </command>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
42
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
43 <inputs>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
44 <param name="STACKS_archive" format="zip,tar.gz" type="data" label="Archive from STACKS pipeline regrouping all outputs" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
45 <param name="batchid" type="integer" value="1" label="Batch ID" help="Batch ID to examine when exporting from the catalog" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
46 <conditional name="options_output">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
47 <param name="options_output_selector" type="select" label="Did you want to use the file type output option?">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
48 <option value="1">Yes</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
49 <option value="2" selected="true">No</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
50 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
51 <when value="1">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
52 <param name="map" type="select" format="text" label="map type" help="map type to write. 'CP', 'DH', 'F2', 'BC1', and 'GEN' are the currently supported map types" >
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
53 <option value="CP">CP</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
54 <option value="DH">DH</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
55 <option value="F2">F2</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
56 <option value="BC1">BC1</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
57 <option value="GEN">GEN</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
58 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
59 <param name="filetype" type="select" format="text" label="output file type" help="output file type to write, 'joinmap', 'onemap', 'rqtl', and 'genomic' are currently supported" >
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
60 <option value="joinmap">joinmap</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
61 <option value="onemap">onemap</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
62 <option value="rqtl">rqtl</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
63 <option value="genomic">genomic</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
64 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
65 </when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
66 <when value="2">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
67 </when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
68 </conditional>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
69 <conditional name="options_enzyme">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
70 <param name="options_enzyme_selector" type="select" label="Did you want to use the genomic output option?">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
71 <option value="1">Yes</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
72 <option value="2" selected="true">No</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
73 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
74 <when value="1">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
75 <param name="enzyme" type="select" format="text" label="provide the restriction enzyme used" help="required if generating genomic output" >
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
76 <option value="apeKI">apeKI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
77 <option value="bamHI">bamHI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
78 <option value="claI">claI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
79 <option value="dpnII">dpnII</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
80 <option value="eaeI">eaeI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
81 <option value="ecoRI">ecoRI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
82 <option value="ecoT22I">ecoT22I</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
83 <option value="hindIII">hindIII</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
84 <option value="mluCI">mluCI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
85 <option value="mseI">mseI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
86 <option value="mspI">mspI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
87 <option value="ndeI">ndeI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
88 <option value="nlaIII">nlaIII</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
89 <option value="notI">notI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
90 <option value="nsiI">nsiI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
91 <option value="pstI">pstI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
92 <option value="sau3AI">sau3AI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
93 <option value="sbfI">sbfI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
94 <option value="sexAI">sexAI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
95 <option value="sgrAI">sgrAI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
96 <option value="sphI">sphI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
97 <option value="taqI">taqI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
98 <option value="xbaI">xbaI</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
99 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
100 </when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
101 <when value="2">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
102 </when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
103 </conditional>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
104 <param name="corrections" type="boolean" checked="false" default="false" label="Activate automated corrections" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
105 <param name="active_autocorrect" type="boolean" checked="false" label="Activate automated corrections advanced options" help="autocorrect options are defined below" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
106 <section name="options_autocorrect" title="autocorrect options" expanded="False">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
107 <param name="hom" type="integer" value="5" label="min number of reads for homozygous genotype" help="minimum number of reads required at a stack to call a homozygous genotype (default 5)" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
108 <param name="het" type="float" value="0.05" label="homozygote minor minimum allele frequency" help="below this minor allele frequency a stack is called a homozygote, above it (next choice) it is called unknown (default 0.05)" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
109 <param name="hetmax" type="float" value="0.1" label="heterozygote minor minimum allele frequency" help=" minimum frequency of minor allele to call a heterozygote (default 0.1)" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
110 </section>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
111 <!-- Output options -->
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
112 <param name="active_advanced" type="boolean" checked="false" label="Activate advanced options" help="advanced options are defined below" />
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 <conditional name="whitelistselect">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
115 <param name="advanced_whiteoptions_selector" type="select" label="whitelist advanced options">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
116 <option value="default" selected="true">Default</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
117 <option value="advanced">Advanced</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
118 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
119 <when value="default"></when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
120 <when value="advanced">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
121 <param name="whitelist" format="txt, tabular" type="data" label="specify a file containing Whitelisted markers to include in the export" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
122 </when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
123 </conditional>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
124 <conditional name="blacklistselect">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
125 <param name="advanced_blackoptions_selector" type="select" label="blacklist advanced options">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
126 <option value="default" selected="true">Default</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
127 <option value="advanced">Advanced</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
128 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
129 <when value="default"></when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
130 <when value="advanced">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
131 <param name="blacklist" format="txt, tabular" type="data" label="specify a file containing Blacklisted markers to be excluded from the export" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
132 </when>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
133 </conditional>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
134 <param name="minprogeny" type="integer" value="50" label="min number of progeny" help="minimum number of progeny required to print a marker" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
135 <param name="mindepth" type="integer" value="1" label="min stack depth" help="specify a minimum stack depth required for individuals at a locus" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
136 </section>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
137 <param name="output_compress" type="select" label="Output type" help="please see below for details">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
138 <option value="default" selected="true">No compression</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
139 <option value="total">Compressed all outputs</option>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
140 </param>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
141 </inputs>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
142 <outputs>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
143
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
144 <data format="tabular" name="output" label="results with ${tool.name} on ${on_string}" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
145
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
146 <data format="txt" name="additional" label="additional file with ${tool.name}" hidden="true">
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
147 <discover_datasets pattern="__designation__" ext="tabular" directory="galaxy_outputs" visible="true" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
148 </data>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
149
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
150
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
151 <!-- additionnal output archives -->
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
152 <data format="zip" name="total_output" label="total_output.zip with ${tool.name} on ${on_string}" >
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
153 <filter>output_compress == "total"</filter>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
154 </data>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
155
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
156 </outputs>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
157
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
158 <stdio>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
159 <exit_code range="1" level="fatal" description="Error in Stacks Denovo execution" />
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
160 </stdio>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
161 <help>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
162
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
163 .. class:: infomark
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
164
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
165 **What it does**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
166
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
167 This program exports a Stacks data set either as a set of observed haplotypes at each locus in the population, or with the haplotypes encoded into genotypes. The -r option allows only loci that exist in a certain number of population individuals to be exported. In a mapping context, raising or lowering this limit is an effective way to control the quality level of markers exported as genuine markers will be found in a large number of progeny. If exporting a set of observed haplotypes in a population, the "min stack depth" option can be used to restict exported loci to those that have a minimum depth of reads.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
168
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
169 By default, when executing the pipeline (either denovo_map or ref_map) the genotypes program will be executed last and will identify mappable markers in the population and export both a set of observed haplotypes and a set of generic genotypes with "min number of progeny" option = 1.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
170
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
171
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
172 Making Corrections
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
173
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
174 If enabled with the "make automated corrections to the data" option, the genotypes program will make automated corrections to the data. Since loci are matched up in the population, the script can correct false-negative heterozygote alleles since it knows the existence of alleles at a particular locus in the other individuals. For example, the program will identify loci with SNPs that didn’t have high enough coverage to be identified by the SNP caller. It will also check that homozygous tags have a minimum depth of coverage, since a low-coverage polymorphic locus may appear homozygous simply because the other allele wasn’t sequenced.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
175
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
176
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
177 Correction Thresholds
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
178
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
179 The thresholds for automatic corrections can be modified by using the "automated corrections option" and changing the default values for the "min number of reads for homozygous genotype", "homozygote minor minimum allele frequency" and "heterozygote minor minimum allele frequency" parameters to genotypes. "min number of reads for homozygous genotype" is the minimum number of reads required to consider a stack homozygous (default of 5). The "homozygote minor minimum allele frequency" and "heterozygote minor minimum allele frequency" variables represent fractions. If the ratio of the depth of the the smaller allele to the bigger allele is greater than "heterozygote minor minimum allele frequency" (default of 1/10) a stack is called a het. If the ratio is less than homozygote minor minimum allele frequency (default of 1/20) a stack is called homozygous. If the ratio is in between the two values it is unknown and a genotype will not be assigned.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
180
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
181 Automated corrections made by the program are shown in the output file in capital letters.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
182
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
183 --------
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
184
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
185 **Created by:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
186
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
187 Stacks was developed by Julian Catchen with contributions from Angel Amores, Paul Hohenlohe, and Bill Cresko
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
188
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
189 --------
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
190
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
191 **Example:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
192
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
193 Input files:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
194
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
195 FASTQ, FASTA, zip, tar.gz
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
196
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
197 Output files:
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
198
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
199 - XXX.tags.tsv file::
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
200
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
201 Column Name Description
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
202 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
203 2 Sample ID Each sample passed through Stacks gets a unique id for that sample.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
204 3 Stack ID Each stack formed gets an ID.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
205 4 Chromosome If aligned to a reference genome using pstacks, otherwise it is blank.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
206 5 Basepair If aligned to ref genome using pstacks.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
207 6 Strand If aligned to ref genome using pstacks.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
208 7 Sequence Type Either 'consensus', 'primary' or 'secondary', see the Stacks paper for definitions of these terms.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
209 8 Sequence ID The individual sequence read that was merged into this stack.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
210 9 Sequence The raw sequencing read.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
211 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
212 11 Blacklisted Flag If "1", this stack was still confounded depsite processing by the deleveraging algorithm.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
213 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
214
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
215 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
216
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
217
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
218 - XXX.snps.tsv file::
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
219
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
220 Column Name Description
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
221 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
222 2 Sample ID
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
223 3 Stack ID
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
224 4 SNP Column
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
225 5 Likelihood ratio From the SNP-calling model.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
226 6 Rank_1 Majority nucleotide.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
227 7 Rank_2 Alternative nucleotide.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
228
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
229 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
230
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
231
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
232 - XXX.alleles.tsv file::
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
233
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
234 Column Name Description
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
235 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
236 2 Sample ID
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
237 3 Stack ID
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
238 4 Haplotype The haplotype, as constructed from the called SNPs at each locus.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
239 5 Percent Percentage of reads that have this haplotype
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
240 6 Count Raw number of reads that have this haplotype
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
241
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
242
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
243 - XXX.matches.tsv file::
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
244
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
245 Column Name Description
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
246 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
247 2 Batch ID
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
248 3 Catalog ID
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
249 4 Sample ID
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
250 5 Stack ID
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
251 6 Haplotype
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
252 7 Stack Depth
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
253
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
254 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
255
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
256
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
257 - batch_X.sumstats.tsv Summary Statistics Output::
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
258
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
259 Batch ID The batch identifier for this data set.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
260 Locus ID Catalog locus identifier.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
261 Chromosome If aligned to a reference genome.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
262 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
263 Column The nucleotide site within the catalog locus.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
264 Population ID The ID supplied to the populations program, as written in the population map file.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
265 P Nucleotide The most frequent allele at this position in this population.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
266 Q Nucleotide The alternative allele.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
267 Number of Individuals Number of individuals sampled in this population at this site.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
268 P Frequency of most frequent allele.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
269 Observed Heterozygosity The proportion of individuals that are heterozygotes in this population.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
270 Observed Homozygosity The proportion of individuals that are homozygotes in this population.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
271 Expected Heterozygosity Heterozygosity expected under Hardy-Weinberg equilibrium.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
272 Expected Homozygosity Homozygosity expected under Hardy-Weinberg equilibrium.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
273 pi An estimate of nucleotide diversity.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
274 Smoothed pi A weighted average of p depending on the surrounding 3s of sequence in both directions.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
275 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
276 FIS The inbreeding coefficient of an individual (I) relative to the subpopulation (S).
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
277 Smoothed FIS A weighted average of FIS depending on the surrounding 3s of sequence in both directions.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
278 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
279 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
280
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
281 - batch_X.fst_Y-Z.tsv Pairwise FST Output::
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
282
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
283 Batch ID The batch identifier for this data set.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
284 Locus ID Catalog locus identifier.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
285 Population ID 1 The ID supplied to the populations program, as written in the population map file.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
286 Population ID 2 The ID supplied to the populations program, as written in the population map file.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
287 Chromosome If aligned to a reference genome.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
288 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
289 Column The nucleotide site within the catalog locus.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
290 Overall pi An estimate of nucleotide diversity across the two populations.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
291 FST A measure of population differentiation.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
292 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
293 Odds Ratio Fisher's Exact Test odds ratio
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
294 CI High Fisher's Exact Test confidence interval.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
295 CI Low Fisher's Exact Test confidence interval.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
296 LOD Score Logarithm of odds score.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
297 Expected Heterozygosity Heterozygosity expected under Hardy-Weinberg equilibrium.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
298 Expected Homozygosity Homozygosity expected under Hardy-Weinberg equilibrium.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
299 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
300 Smoothed FST A weighted average of FST depending on the surrounding 3s of sequence in both directions.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
301 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
302
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
303
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
304 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
305
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
306 --------
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
307
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
308 **Output type:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
309
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
310 - Output type details::
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
311
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
312 No compression All files will be added in the current history.
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
313 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
314 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
315
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
316
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
317 --------
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
318
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
319 **Project links:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
320
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
321 `STACKS website &lt;http://creskolab.uoregon.edu/stacks/&gt;`_ .
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
322
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
323 `STACKS manual &lt;http://creskolab.uoregon.edu/stacks/stacks_manual.pdf&gt;`_ .
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
324
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
325 `STACKS google group &lt;https://groups.google.com/forum/#!forum/stacks-users&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
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
329 **References:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
330
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
331 -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
332
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
333 -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
334
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
335 -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
336
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
337 -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
338
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
339 -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
340
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
341 -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
342
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
343 --------
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
344
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
345 **Integrated by:**
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
346
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
347 Yvan Le Bras and Cyril Monjeaud
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
348
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
349 GenOuest Bio-informatics Core Facility
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
350
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
351 UMR 6074 IRISA INRIA-CNRS-UR1 Rennes (France)
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
352
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
353 support@genouest.org
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
354
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
355 If you use this tool in Galaxy, please cite :
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
356
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
357 `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
358
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
359
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
360 </help>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
361 <citations>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
362 <citation type="doi">10.1111/mec.12354</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
363 <citation type="doi">10.1111/mec.12330</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
364 <citation type="doi">10.1534/g3.111.000240</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
365 <citation type="doi">10.1534/genetics.111.127324</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
366 <citation type="doi">10.1111/j.1755-0998.2010.02967.x</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
367 <citation type="doi">10.1073/pnas.1006538107</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
368
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
369 <citation type="bibtex">@INPROCEEDINGS{JOBIM2013,
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
370 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
371 title = {Towards a Life Sciences Virtual Research Environment: An e-Science initiative in Western France},
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
372 booktitle = {JOBIM 2013 Proceedings},
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
373 year = {2013},
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
374 url = {https://www.e-biogenouest.org/resources/128},
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
375 pages = {97-106}
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
376 }</citation>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
377 </citations>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
378 </tool>
d6ba40f6c824 first commit
cmonjeau
parents:
diff changeset
379