annotate stacks_genotypes.xml @ 0:5d5cb1a9e4eb draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
author iuc
date Sat, 25 Jun 2016 17:26:27 -0400
parents
children 62d80d00724e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
1 <tool id="stacks_genotypes" name="Stacks: genotypes" version="@WRAPPER_VERSION@.1">
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
2 <description>analyse haplotypes or genotypes in a genetic cross ('genotypes' program)</description>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
3 <macros>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
4 <import>macros.xml</import>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
5 </macros>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
7 <expand macro="stdio"/>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
8 <command><![CDATA[
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
9 #import re
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
10
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
11 mkdir stacks_outputs
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
12
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
13 &&
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
14
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
15 #for $input_file in $input_col:
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
16 #set $filename = str($input_file.element_identifier)
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
17 #if not $filename.endswith('.tsv'):
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
18 #set $filename = $filename + ".tsv"
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
19 #end if
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
20 #if re.search('\.(tags|snps|alleles|matches)(\.tsv)?$', $filename):
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
21 ln -s "${input_file}" "stacks_outputs/${filename}" &&
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
22 #end if
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
23 #end for
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
24
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
25 genotypes
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
26
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
27 -P stacks_outputs
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
28 -b $advanced_options.batchid
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
29
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
30 -t $options_usage.cross_type
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
31 -o $options_usage.map_out.map_out_type
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
32
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
33 #if str( $options_usage.map_out.map_out_type ) == "genomic":
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
34 -e ${options_usage.map_out.enzyme}
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
35 #end if
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
36
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
37 #if str($advanced_options.minprogeny):
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
38 -r $advanced_options.minprogeny
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
39 #end if
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
40
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
41 #if str($advanced_options.mindepth):
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
42 -m $advanced_options.mindepth
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
43 #end if
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
44
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
45 #if str($advanced_options.lnl):
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
46 --lnl_lim $advanced_options.lnl
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
47 #end if
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
48
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
49 #if $advanced_options.blacklist:
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
50 -B "$advanced_options.blacklist"
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
51 #end if
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
52 #if $advanced_options.whitelist:
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
53 -W "$advanced_options.whitelist"
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
54 #end if
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
55
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
56 #if $advanced_options.manual_cor:
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
57 --corr_path "$advanced_options.manual_cor"
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
58 #end if
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
59
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
60 #if $options_autocorr.corrections:
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
61 -c
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
62 --min_hom_seqs $options_autocorr.hom
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
63 --min_het_seqs $options_autocorr.het
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
64 --max_het_seqs $options_autocorr.hetmax
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
65 #end if
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
66
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
67 ## output SQL file (as denovo/refmap)
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
68 -s
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
69
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
70 @NORM_GENOTYPES_OUTPUT_FULL@
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
71 ]]></command>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
72 <inputs>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
73 <param name="input_col" format="tabular,txt" type="data_collection" collection_type="list" label="Output from previous Stacks pipeline steps (e.g. denovo_map or refmap)" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
74
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
75 <section name="options_usage" title="Genotyping options">
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
76
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
77 <param name="cross_type" argument="-t" type="select" label="Cross type">
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
78 <expand macro="cross_types"/>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
79 </param>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
80
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
81 <conditional name="map_out">
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
82 <param argument="-o" name="map_out_type" type="select" label="Output file type" help="Output map file type to write" >
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
83 <option value="joinmap">JoinMap</option>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
84 <option value="onemap">OneMap</option>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
85 <option value="rqtl">R/QTL</option>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
86 <option value="genomic">Genomic</option>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
87 </param>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
88 <when value="genomic">
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
89 <param name="enzyme" argument="-e" type="select" label="Restriction enzyme used" help="Only needed for Genomic output format">
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
90 <expand macro="enzymes"/>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
91 </param>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
92 </when>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
93 </conditional>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
94 </section>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
95
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
96 <conditional name="options_autocorr">
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
97 <param name="corrections" argument="-c" type="boolean" checked="true" truevalue="-c" falsevalue="" label="Make automated corrections to the data" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
98 <when value="-c">
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
99 <param name="hom" argument="--min_hom_seqs" type="integer" value="5" label="Minimum number of reads required at a stack to call a homozygous genotype" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
100 <param name="het" argument="--min_het_seqs:" type="float" value="0.05" label="Heterozygote minor allele minimum frequency" help="below this minor allele frequency a stack is called a homozygote, above it (but below --max_het_seqs) it is called unknown" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
101 <param name="hetmax" argument="--max_het_seqs:" type="float" value="0.1" label="Heterozygote minor allele maximum frequency" help="minimum frequency of minor allele to call a heterozygote" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
102 </when>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
103 <when value="">
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
104 </when>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
105 </conditional>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
106
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
107 <!-- Output options -->
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
108 <section name="advanced_options" title="advanced options" expanded="False">
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
109 <param name="minprogeny" type="integer" value="0" optional="true" argument="-r" label="Minimum number of progeny required to print a marker" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
110 <param name="mindepth" type="integer" value="" optional="true" argument="-m" label="Minimum stack depth required before exporting a locus in a particular individual" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
111 <param name="lnl" type="float" value="" optional="true" argument="--lnl_lim" label="Filter loci with log likelihood values below this threshold" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
112
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
113 <param name="whitelist" argument="-W" format="txt,tabular" type="data" optional="true" label="Specify a file containing Whitelisted markers to include in the export" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
114 <param name="blacklist" argument="-B" format="txt,tabular" type="data" optional="true" label="Specify a file containing Blacklisted markers to be excluded from the export" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
115
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
116 <param name="manual_cor" argument="--cor_path" type="data" format="tabular,txt" optional="true" label="Path to file containing manual genotype corrections from a Stacks SQL database to incorporate into output." />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
117
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
118 <param name="batchid" type="integer" value="1" label="Batch ID to examine when exporting from the catalog" help="Only useful if you analyse data that was processed outside galaxy" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
119 </section>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
120 </inputs>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
121 <outputs>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
122 <expand macro="genotypes_output_full"/>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
123 </outputs>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
124
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
125 <tests>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
126 <test>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
127 <param name="input_col">
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
128 <collection type="list">
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
129 <element name="batch_1.catalog.alleles.tsv" ftype="tabular" value="genotypes/batch_1.catalog.alleles.tsv" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
130 <element name="batch_1.catalog.snps.tsv" ftype="tabular" value="genotypes/batch_1.catalog.snps.tsv" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
131 <element name="batch_1.catalog.tags.tsv" ftype="tabular" value="genotypes/batch_1.catalog.tags.tsv" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
132 <element name="PopA_01.alleles.tsv" ftype="tabular" value="genotypes/PopA_01.alleles.tsv" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
133 <element name="PopA_01.matches.tsv" ftype="tabular" value="genotypes/PopA_01.matches.tsv" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
134 <element name="PopA_01.snps.tsv" ftype="tabular" value="genotypes/PopA_01.snps.tsv" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
135 <element name="PopA_01.tags.tsv" ftype="tabular" value="genotypes/PopA_01.tags.tsv" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
136 <element name="PopA_02.alleles.tsv" ftype="tabular" value="genotypes/PopA_02.alleles.tsv" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
137 <element name="PopA_02.matches.tsv" ftype="tabular" value="genotypes/PopA_02.matches.tsv" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
138 <element name="PopA_02.snps.tsv" ftype="tabular" value="genotypes/PopA_02.snps.tsv" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
139 <element name="PopA_02.tags.tsv" ftype="tabular" value="genotypes/PopA_02.tags.tsv" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
140 </collection>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
141 </param>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
142 <param name="map_out_type" value="joinmap" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
143 <param name="cross_type" value="CP" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
144 <param name="advanced_options|minprogeny" value="1" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
145
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
146 <!-- genotypes -->
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
147 <output name="out_generic_haplo">
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
148 <assert_contents>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
149 <has_text text="Catalog ID" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
150 </assert_contents>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
151 </output>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
152 <output name="out_sql_markers">
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
153 <assert_contents>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
154 <has_text text="Total Genotypes" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
155 </assert_contents>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
156 </output>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
157 <output name="out_joinmap">
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
158 <assert_contents>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
159 <has_text text="batch_1.genotypes_" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
160 </assert_contents>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
161 </output>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
162 <output name="out_sql_genotypes">
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
163 <assert_contents>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
164 <has_text text="SQL ID" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
165 </assert_contents>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
166 </output>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
167 </test>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
168 </tests>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
169 <help>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
170 <![CDATA[
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
171 .. class:: infomark
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
172
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
173 **What it does**
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
174
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
175 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.
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
176
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
177 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.
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
178
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
179
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
180 Making Corrections
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
181
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
182 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.
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
183
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
184
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
185 Correction Thresholds
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
186
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
187 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.
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
188
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
189 Automated corrections made by the program are shown in the output file in capital letters.
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
190
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
191 --------
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
192
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
193 **Input files**
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
194
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
195 Output from denovo_map or ref_map
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
196
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
197 **Output files:**
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
198
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
199 - XXX.tags.tsv file:
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
200
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
201 See `Stacks output description <http://catchenlab.life.illinois.edu/stacks/manual/#files>`_
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
202
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
203 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.
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
204
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
205
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
206 - XXX.snps.tsv file:
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
207
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
208 See `Stacks output description <http://catchenlab.life.illinois.edu/stacks/manual/#files>`_
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
209
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
210 Notes: If a stack has two SNPs called within it, then there will be two lines in this file listing each one.
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
211
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
212
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
213 - XXX.alleles.tsv file:
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
214
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
215 See `Stacks output description <http://catchenlab.life.illinois.edu/stacks/manual/#files>`_
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
216
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
217
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
218 - XXX.matches.tsv file:
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
219
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
220 See `Stacks output description <http://catchenlab.life.illinois.edu/stacks/manual/#files>`_
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
221
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
222 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.
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
223
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
224
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
225 - other files:
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
226
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
227 See `Stacks output description <http://catchenlab.life.illinois.edu/stacks/manual/#files>`_
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
228
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
229 @STACKS_INFOS@
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
230 ]]>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
231 </help>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
232 <expand macro="citation" />
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
233 </tool>
5d5cb1a9e4eb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit e1c1550e0bd61c88ffead2b1c4f6ab7393052393
iuc
parents:
diff changeset
234