annotate stacks_genotypes.xml @ 9:5af94af9ec8f draft

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