annotate macros.xml @ 3:c207119ba5f6 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 9a6c14bcb90c0b30c583294a993fac47504f4009"
author iuc
date Tue, 27 Apr 2021 09:37:11 +0000
parents fcce77c09289
children 0345dbaaa79b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
1 <?xml version="1.0"?>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
2 <macros>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
3 <xml name="requirements">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
4 <requirements>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
5 <requirement type="package" version="@STACKS_VERSION@">stacks</requirement>
2
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
6 <requirement type="package" version="3.7">python</requirement>
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
7 <requirement type="package" version="4.6.0">findutils</requirement>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
8 <yield/>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
9 </requirements>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
10 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
11
3
c207119ba5f6 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 9a6c14bcb90c0b30c583294a993fac47504f4009"
iuc
parents: 2
diff changeset
12 <token name="@STACKS_VERSION@">2.55</token>
2
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
13 <token name="@WRAPPER_VERSION@">0</token>
3
c207119ba5f6 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 9a6c14bcb90c0b30c583294a993fac47504f4009"
iuc
parents: 2
diff changeset
14 <token name="@PROFILE@">20.01</token>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
15
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
16 <xml name="citation">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
17 <citations>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
18 <citation type="doi">10.1111/mec.12354</citation>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
19 <citation type="doi">10.1111/mec.12330</citation>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
20 <citation type="doi">10.1534/g3.111.000240</citation>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
21 <citation type="doi">10.1534/genetics.111.127324</citation>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
22 <citation type="doi">10.1111/j.1755-0998.2010.02967.x</citation>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
23 <citation type="doi">10.1073/pnas.1006538107</citation>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
24 </citations>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
25 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
26
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
27 <xml name="version_cmd">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
28 <version_command><![CDATA[
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
29 process_radtags -h |& grep process_radtags | head -n 1 | cut -d" " -f 2
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
30 ]]>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
31 </version_command>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
32 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
33
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
34 <token name="@STACKS_INFOS@">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
35 <![CDATA[
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
36 --------
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
37
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
38 **Created by:**
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
39
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
40 Stacks was developed by Julian Catchen with contributions from Angel Amores, Paul Hohenlohe, and Bill Cresko
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
41
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
42 **Project links:**
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
43
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
44 `Stacks website <http://catchenlab.life.illinois.edu/stacks/>`_
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
45
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
46 `Stacks manual <http://catchenlab.life.illinois.edu/stacks/manual/>`_
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
47
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
48 `Stacks google group <http://groups.google.com/group/stacks-users>`_
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
49 ]]></token>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
50
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
51 <!-- enzyme list for procrad and denovo -->
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
52 <xml name="enzymes">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
53 <option value="">Unspecified</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
54 <option value="aciI">aciI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
55 <option value="ageI">ageI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
56 <option value="aluI">aluI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
57 <option value="apaLI">apaLI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
58 <option value="apeKI">apeKI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
59 <option value="apoI">apoI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
60 <option value="aseI">aseI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
61 <option value="bamHI">bamHI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
62 <option value="bbvCI">bbvCI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
63 <option value="bfaI">bfaI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
64 <option value="bfuCI">bfuCI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
65 <option value="bgIII">bgIII</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
66 <option value="bsaHI">bsaHI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
67 <option value="bspDI">bspDI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
68 <option value="bstYI">bstYI</option>
3
c207119ba5f6 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 9a6c14bcb90c0b30c583294a993fac47504f4009"
iuc
parents: 2
diff changeset
69 <option value="btgI">btgI</option>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
70 <option value="cac8I">cac8I</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
71 <option value="claI">claI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
72 <option value="csp6I">csp6I</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
73 <option value="ddeI">ddeI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
74 <option value="dpnII">dpnII</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
75 <option value="eaeI">eaeI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
76 <option value="ecoRI">ecoRI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
77 <option value="ecoRV">ecoRV</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
78 <option value="ecoT22I">ecoT22I</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
79 <option value="haeIII">haeIII</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
80 <option value="hindIII">hindIII</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
81 <option value="hinP1I">hinP1I</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
82 <option value="hpaII">hpaII</option>
3
c207119ba5f6 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 9a6c14bcb90c0b30c583294a993fac47504f4009"
iuc
parents: 2
diff changeset
83 <option value="hpyCH4IV">hpyCH4IV</option>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
84 <option value="kpnI">kpnI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
85 <option value="mluCI">mluCI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
86 <option value="mseI">mseI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
87 <option value="mslI">mslI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
88 <option value="mspI">mspI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
89 <option value="ncoI">ncoI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
90 <option value="ndeI">ndeI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
91 <option value="nheI">nheI</option>
3
c207119ba5f6 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 9a6c14bcb90c0b30c583294a993fac47504f4009"
iuc
parents: 2
diff changeset
92 <option value="ngoMIV">ngoMIV</option>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
93 <option value="nlaIII">nlaIII</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
94 <option value="notI">notI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
95 <option value="nsiI">nsiI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
96 <option value="nspI">nspI</option>
3
c207119ba5f6 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 9a6c14bcb90c0b30c583294a993fac47504f4009"
iuc
parents: 2
diff changeset
97 <option value="pacI">pacI</option>
c207119ba5f6 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 9a6c14bcb90c0b30c583294a993fac47504f4009"
iuc
parents: 2
diff changeset
98 <option value="pspXI">pspXI</option>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
99 <option value="pstI">pstI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
100 <option value="rsaI">rsaI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
101 <option value="sacI">sacI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
102 <option value="sau3AI">sau3AI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
103 <option value="sbfI">sbfI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
104 <option value="sexAI">sexAI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
105 <option value="sgrAI">sgrAI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
106 <option value="speI">speI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
107 <option value="sphI">sphI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
108 <option value="taqI">taqI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
109 <option value="xbaI">xbaI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
110 <option value="xhoI">xhoI</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
111 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
112
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
113 <!-- log file handling -->
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
114 <token name="@TEE_APPEND_LOG@"><![CDATA[
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
115 #if $output_log
2
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
116 2> '$output_log'
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
117 #end if
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
118 ]]></token>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
119 <xml name="in_log">
2
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
120 <param name="add_log" type="boolean" checked="true" truevalue="yes" falsevalue="no" label="Add log output as dataset"/>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
121 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
122 <xml name="out_log">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
123 <data format="txt" name="output_log" label="${tool.name} on ${on_string} log file">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
124 <filter>add_log</filter>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
125 </data>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
126 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
127
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
128 <!-- inputs from previous pipeline steps -->
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
129 <xml name="input_stacks_macro">
2
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
130 <param name="input_stacks" format="tabular,txt" type="data_collection" collection_type="list" label="Loci and polymorphism" help="output from previous Stacks pipeline steps e.g. denovo_map, refmap or ustacks"/>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
131 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
132 <xml name="input_cat_macro">
2
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
133 <param name="input_cat" format="tabular,txt" type="data_collection" collection_type="list" label="Catalog of loci" help="output from a previous Stacks pipeline steps e.g. denovo_map, refmap or cstacks"/>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
134 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
135 <xml name="input_matches_macro">
2
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
136 <param name="input_matches" format="tabular,txt" type="data_collection" collection_type="list" label="Matches to the catalog" help="output from previous Stacks pipeline steps e.g. denovo_map, refmap or sstacks"/>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
137 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
138 <xml name="bam_input_macro">
2
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
139 <param name="input_bam" format="bam" type="data" multiple="true" optional="false" label="Aligned data" help="either the matches to the catalog (bam), i.e. tsv2bam, or reads aligned to a reference"/>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
140 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
141 <xml name="input_aln_macro">
2
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
142 <param name="input_aln" format="vcf,fasta.gz" type="data_collection" collection_type="list" label="Assembled contigs and variant sites" help="output from previous Stacks pipeline steps (e.g. gstacks, denovo_map, or refmap)" argument="-P"/>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
143 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
144
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
145 <!-- code for creating links to the data sets from previous pipeline steps
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
146 - stacks (i.e ustacks outputs POP.tags.tsv, POP.alleles.tsv, POP.snps.tsv)
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
147 also stores sample names in list (samples)
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
148 - cat (cstacks catalog.tags.tsv, catalog.alleles.tsv, catalog.snps.tsv)
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
149 - matches (sstacks POP.matches.tsv) -->
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
150 <token name="@LINK_STACKS_INPUT@"><![CDATA[
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
151 #set $samples = []
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
152 #for $input_file in $input_stacks
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
153 #set $filename = str($input_file.element_identifier)
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
154 #if not filename.endswith('.tsv')
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
155 #set $filename = $filename + ".tsv"
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
156 #end if
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
157 #if re.search('^(?!catalog).+\.(tags|alleles|snps)\.tsv$', $filename)
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
158 ln -s '${input_file}' 'stacks_inputs/$filename' &&
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
159 #if $filename.endswith('.tags.tsv')
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
160 $samples.append($filename[:-9])
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
161 #end if
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
162 #end if
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
163 #end for
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
164 ]]>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
165 </token>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
166 <token name="@LINK_CAT_INPUT@"><![CDATA[
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
167 #for $input_file in $input_cat
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
168 #set $filename = str($input_file.element_identifier)
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
169 #if not filename.endswith('.tsv')
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
170 #set $filename = $filename + ".tsv"
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
171 #end if
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
172 #if re.search('^catalog\.(tags|alleles|snps)\.tsv$', $filename)
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
173 ln -s '${input_file}' 'stacks_inputs/$filename' &&
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
174 #end if
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
175 #end for
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
176 ]]></token>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
177 <token name="@LINK_MATCHES_INPUT@"><![CDATA[
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
178 #for $input_file in $input_matches
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
179 #set $filename = str($input_file.element_identifier)
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
180 #if not filename.endswith('.tsv')
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
181 #set $filename = $filename + ".tsv"
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
182 #end if
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
183 #if re.search('matches.tsv$', $filename)
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
184 ln -s '${input_file}' 'stacks_inputs/$filename' &&
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
185 #end if
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
186 #end for
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
187 ]]></token>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
188
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
189 <!-- fastq input for process_radtags/shortreads (non-batch) and clone/kmerfilter (batch)
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
190 for batch processing chose multiple=false and paired
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
191 otherwise multiple=true and listtype=list:paired -->
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
192 <xml name="fastq_input_bc" token_multiple="false" token_listtype="paired">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
193 <conditional name="input_type">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
194 <param name="input_type_select" type="select" label="Single-end or paired-end reads">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
195 <option value="single" selected="True">Single-end files</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
196 <option value="paired">Paired-end files</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
197 </param>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
198 <when value="single">
2
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
199 <param name="fqinputs" argument="-f" type="data" format="fastqsanger,fastqsanger.gz" multiple="@MULTIPLE@" label="Singles-end reads"/>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
200 <param name="barcode_encoding" type="select" label="Barcode location">
2
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
201 <expand macro="barcode_encoding_single" type="Barcode"/>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
202 </param>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
203 </when>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
204 <when value="paired">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
205 <param name="fqinputs" type="data_collection" collection_type="@LISTTYPE@" label="Paired-end reads" format="fastqsanger,fastqsanger.gz"/>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
206 <param name="barcode_encoding" type="select" label="Barcode location">
2
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
207 <expand macro="barcode_encoding_pair" type="Barcode"/>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
208 </param>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
209 </when>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
210 </conditional>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
211 <yield/>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
212 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
213
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
214 <xml name="fastq_input_bc_file" token_multiple="false" token_listtype="paired">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
215 <expand macro="fastq_input_bc" multiple="@MULTIPLE@" listtype="@LISTTYPE@">
2
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
216 <param name="barcode" argument="-b" type="data" format="tabular,txt" label="Barcode file"/>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
217 </expand>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
218 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
219
1
f4aab9196d1e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit c300b84615660459bb0020fa74ccd3b874d329a4"
iuc
parents: 0
diff changeset
220 <!-- fastq input (used in denovomap, tsv2bam, ustacks)
f4aab9196d1e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit c300b84615660459bb0020fa74ccd3b874d329a4"
iuc
parents: 0
diff changeset
221 - fastq_optional: makes fastq input optional (true/false)
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
222 - se_option: wording for "single end" option (for tsv2bam this is the
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
223 reverse reads for the others its the forward reads)
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
224 - help: help text -->
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
225 <xml name="fastq_input" token_fastq_optional="false" token_se_option="single end or forward reads" token_help="">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
226 <conditional name="input_type">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
227 <param name="input_type_select" type="select" label="Short read data from individuals" help="@HELP@">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
228 <option value="single" selected="true">@SE_OPTION@</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
229 <option value="paired">(paired) dataset list</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
230 </param>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
231 <when value="single">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
232 <param name="fqinputs" argument="-f" format="fastqsanger,fastqsanger.gz,fasta,fasta.gz" type="data" label="Reads" multiple="true" optional="@FASTQ_OPTIONAL@"/>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
233 </when>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
234 <when value="paired">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
235 <param name="fqinputs" argument="-f" type="data_collection" collection_type="list:paired" format="fastqsanger,fastqsanger.gz,fasta,fasta.gz" label="List for forward reads or read pairs" optional="@FASTQ_OPTIONAL@"/>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
236 </when>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
237 </conditional>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
238 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
239
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
240 <!-- helper functions for linking fastq data sets -->
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
241 <token name="@FASTQ_INPUT_FUNCTIONS@"><![CDATA[
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
242 #from os.path import splitext
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
243 #import re
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
244
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
245 #def clean_ext($identifier)
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
246 #while $identifier.endswith(('.1', '.2', '.fa', '.fq', '.fasta', '.fastq', '.gz', '.gzip', '.sam', '.bam'))
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
247 #set $identifier = splitext($identifier)[0]
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
248 #end while
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
249 $identifier#slurp
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
250 #end def
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
251
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
252 #def fastq_input_foo( $sample, $read_direction="", $infix="" )
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
253 #set $name = $clean_ext($sample.element_identifier)
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
254 #if $sample.is_collection:
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
255 #set $cur_sample=$sample[$read_direction]
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
256 #else:
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
257 #set $cur_sample=$sample
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
258 #end if
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
259
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
260 #if $cur_sample.is_of_type('fastqsanger')
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
261 #set $ext = "fastq"
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
262 #set $inputype = "fastq"
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
263 #else if $cur_sample.is_of_type('fastqsanger.gz')
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
264 #set $ext = "fastq.gz"
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
265 #set $inputype = "gzfastq"
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
266 #else if $cur_sample.is_of_type('fasta')
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
267 #set $ext = "fasta"
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
268 #set $inputype = "fasta"
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
269 #else if $cur_sample.is_of_type('fasta.gz')
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
270 #set $ext = "fasta.gz"
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
271 #set $inputype = "gzfasta"
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
272 #else
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
273 #set $inputype = "UNKNOWN"
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
274 #end if
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
275 #set $data_path = "stacks_inputs/"+$name+$infix+"."+$ext
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
276 #set $link_cmd = "ln -s '%s' '%s' &&" % ($cur_sample, $data_path)
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
277 #return ($link_cmd, $data_path, $name, $inputype)
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
278 #end def
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
279
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
280 ## fastq_input_batch determine link command, access path(s), and input type
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
281 ## for batch tools
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
282 ##
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
283 ## inputs
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
284 ## - sample data set / pair
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
285 ## - type "single" / "paired"
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
286 ## return (link_command, fwd_path, rev_path, inputype)
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
287 ## - link_command bash command(s) to link the data sets
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
288 ## - fwd_path file name of the link to the forward data set
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
289 ## - rev_path file name of the link to the forward data set (if type=paired)
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
290 ## - inputype input type as used in stacks ([gz]fast(a|q))
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
291 #def fastq_input_batch($sample, $type)
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
292 #if $type == "single"
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
293 #set ($link_cmd, $path, $name, $inputype) = $fastq_input_foo($sample, "", "")
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
294 #return ($link_cmd, $path, "", $inputype)
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
295 #else:
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
296 #set ($fwd_link_cmd, $fwd_path, $name, $inputype) = $fastq_input_foo($sample, "forward", ".1")
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
297 #set ($rev_link_cmd, $rev_path, $name, $inputype) = $fastq_input_foo($sample, "reverse", ".2")
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
298 #return ( $fwd_link_cmd+$rev_link_cmd, $fwd_path, $rev_path, $inputype)
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
299 #end if
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
300 #end def
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
301
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
302 ## fastq_input_nonbatch determine link command, access path(s), and input type
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
303 ## for non-batch tools (procrad, shortreads, denovomap the former need R[12]_
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
304 ## and the latter needs .[12])
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
305 ##
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
306 ## inputs
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
307 ## - samples list of data set / pair
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
308 ## - type "single" / "paired"
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
309 ## - infix_pattern pattern for the infix of the files (needs to contain %d which is replaced by 1/2)
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
310 ## return (link_command, inputype)
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
311 ## - link_command bash command(s) to link the data sets
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
312 ## - inputype input type as used in stacks ([gz]fast(a|q))
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
313 #def fastq_input_nonbatch( $samples, $type, $infix_pattern )
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
314 #set $link_command = ""
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
315 #for $sample in $samples
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
316 #if $type == "single"
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
317 #set ($lc, $path, $name, $inputype) = $fastq_input_foo($sample, "", "")
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
318 #set link_command += lc
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
319 #else:
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
320 #set ($lc, $path, $name, $inputype) = $fastq_input_foo($sample, "forward", $infix_pattern % (1))
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
321 #set link_command += lc
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
322 #set ($lc, $path, $name, $inputype) = $fastq_input_foo($sample, "reverse", $infix_pattern % (2))
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
323 #set link_command += lc
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
324 #end if
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
325 #end for
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
326 #return ($link_command, $inputype)
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
327 #end def
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
328 ]]></token>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
329
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
330 <!-- macro and token for BAM input, for each bam file w identifier NAME
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
331 - creates a link NAME.bam <- bam_inputs/NAME.INFIX.bam
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
332 - appends -B bam_inputs/NAME.INFIX.bam to variable bamlist
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
333
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
334 INFIX is set to"" per default, can be set with optional variable $infix
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
335 only needed for gstacks in denovo mode which needs .matches.bam -->
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
336 <token name="@BAM_INPUT@"><![CDATA[
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
337 #set $bamlist = ""
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
338 #for $bam in $input_bam:
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
339 #if $bam.is_of_type('bam')
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
340 #set $filename = $clean_ext($bam.element_identifier)+".bam"
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
341 ln -s '$bam' bam_inputs/$filename &&
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
342 #set bamlist += " -B 'bam_inputs/"+$filename+"'"
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
343 #end if
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
344 #end for
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
345 ]]></token>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
346
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
347 <token name="@EXTRACT_VCF@"><![CDATA[
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
348 ## the catalog.calls output is a gzip-ed vcf extract it
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
349 ## to make it usable in Galaxy (with the downside that we
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
350 ## need to gzip it again for downstream calls like populations)
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
351 && gunzip -c stacks_outputs/catalog.calls > stacks_outputs/catalog.calls.vcf
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
352 ]]></token>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
353
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
354
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
355
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
356 <!-- tokens and macros for gapped alignment options
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
357 the _onoff macro gives an empty conditional (which is not so nice
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
358 but allows to be used also in the full macro) -->
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
359 <token name="@GAP_OPTIONS@"><![CDATA[
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
360 #if $gapped.use_gapped == "yes"
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
361 --max_gaps $gapped.max_gaps
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
362 --min_aln_len $gapped.min_aln_len
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
363 #else
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
364 --disable-gapped
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
365 #end if
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
366 ]]></token>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
367 <token name="@GAP_OPTIONS_ONOFF@"><![CDATA[
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
368 #if $gapped.use_gapped != "yes"
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
369 --disable-gapped
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
370 #end if
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
371 ]]></token>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
372 <xml name="gap_options">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
373 <expand macro="gap_options_onoff">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
374 <param argument="--max_gaps" type="float" value="2.0" label="Number of gaps allowed between stacks before merging"/>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
375 <param argument="--min_aln_len" type="float" value="0.8" min="0.0" max="1.0" label="Minimum length of aligned sequence in a gapped alignment"/>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
376 </expand>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
377 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
378 <xml name="gap_options_onoff">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
379 <conditional name="gapped">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
380 <param name="use_gapped" argument="--disable-gapped" type="select" label="Perform gapped alignments between stacks">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
381 <option value="no">No</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
382 <option value="yes" selected="true">Yes</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
383 </param>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
384 <when value="no"/>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
385 <when value="yes">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
386 <yield/>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
387 </when>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
388 </conditional>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
389 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
390
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
391
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
392 <!-- ustacks outputs collection containing SAMPLE.tags.tsv, SAMPLE.snps.tsv, SAMPLE.alleles.tsv (SAMPLE!=catalog) -->
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
393 <!-- TODO tags, snps, and alleles could go to sub collections; same for other tools -->
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
394 <xml name="ustacks_outputs_macro" token_tooladd="">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
395 <collection name="tabs" type="list" label="${tool.name} @TOOLADD@ on ${on_string} Loci and polymorphism">
2
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
396 <discover_datasets pattern="(?P&lt;name&gt;(?!catalog).+\.tags)\.tsv$" ext="tabular" directory="stacks_outputs"/>
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
397 <discover_datasets pattern="(?P&lt;name&gt;(?!catalog).+\.snps)\.tsv$" ext="tabular" directory="stacks_outputs"/>
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
398 <discover_datasets pattern="(?P&lt;name&gt;(?!catalog).+\.alleles)\.tsv$" ext="tabular" directory="stacks_outputs"/>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
399 </collection>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
400 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
401 <!-- cstacks outputs collection containing catalog.tags.tsv, catalog.snps.tsv, catalog.alleles.tsv -->
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
402 <xml name="cstacks_outputs_macro" token_tooladd="">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
403 <collection name="catalog" type="list" label="${tool.name} @TOOLADD@ on ${on_string} Catalog of loci">
2
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
404 <discover_datasets pattern="(?P&lt;name&gt;catalog\.(tags|snps|alleles))\.tsv$" ext="tabular" directory="stacks_outputs"/>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
405 </collection>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
406 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
407 <!-- sstacks outputs collection containing SAMPLE.matches.tsv -->
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
408 <xml name="sstacks_outputs_macro" token_tooladd="">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
409 <collection name="matches" type="list" label="${tool.name} @TOOLADD@ on ${on_string} Matches to the catalog">
2
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
410 <discover_datasets pattern="(?P&lt;name&gt;.+\.matches)\.tsv$" ext="tabular" directory="stacks_outputs"/>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
411 </collection>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
412 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
413 <!-- tsv2bam outputs collection containing SAMPLE.matches.bam -->
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
414 <xml name="tsv2bam_outputs_macro" token_tooladd="">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
415 <collection name="bams" type="list" label="${tool.name} @TOOLADD@ on ${on_string} Matches to the catalog (bam)">
2
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
416 <discover_datasets pattern="(?P&lt;name&gt;.+\.matches)\.bam$" ext="bam" directory="stacks_outputs"/>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
417 </collection>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
418 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
419 <!-- gstacks outputs collection containing catalog.calls.vcf and catalog.fa.gz
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
420 + optional output alignments.bam (if no popmap is given) and POP.alns.bam otherwise-->
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
421 <xml name="gstacks_outputs_full_macro" token_tooladd="">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
422 <expand macro="gstacks_outputs_macro"/>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
423 <data format="txt" name="distribs" label="${tool.name} on ${on_string} log.distribs" from_work_dir="stacks_outputs/gstacks.log.distribs">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
424 <filter>add_log_distribs</filter>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
425 </data>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
426 <collection name="gstacks_alns_out" type="list" label="${tool.name} @TOOLADD@ on ${on_string} Read alignments">
2
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
427 <discover_datasets pattern="(?P&lt;name&gt;.*).alns.bam$" ext="bam" directory="stacks_outputs"/>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
428 <filter>mode_cond['mode_select'] == 'denovo' and mode_cond['advanced_cond']['advanced_select'] == "yes" and mode_cond['advanced_cond']['write_alignments'] != "" and popmap!=None</filter>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
429 </collection>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
430 <data name="gstacks_aln_out" format="bam" label="${tool.name} @TOOLADD@ on ${on_string} Read alignment" from_work_dir="stacks_outputs/alignments.bam">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
431 <filter>mode_cond['mode_select'] == 'denovo' and mode_cond['advanced_cond']['advanced_select'] == "yes" and mode_cond['advanced_cond']['write_alignments'] != "" and popmap==None</filter>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
432 </data>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
433 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
434 <xml name="gstacks_outputs_macro" token_tooladd="">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
435 <collection name="gstacks_out" type="list" label="${tool.name} @TOOLADD@ on ${on_string} Assembled contigs and variant sites">
2
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
436 <discover_datasets pattern="(?P&lt;name&gt;catalog\.calls\.vcf)$" ext="vcf" directory="stacks_outputs"/>
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
437 <discover_datasets pattern="(?P&lt;name&gt;catalog\.fa\.gz)$" ext="fasta.gz" directory="stacks_outputs"/>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
438 </collection>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
439 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
440
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
441 <!-- default output of populations -->
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
442 <xml name="populations_output_light" token_tooladd="">
2
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
443 <data format="tabular" name="out_haplotypes" label="${tool.name} @TOOLADD@ on ${on_string} Raw Genotypes/Haplotypes" from_work_dir="stacks_outputs/populations.haplotypes.tsv"/>
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
444 <data format="tabular" name="out_hapstats" label="${tool.name} @TOOLADD@ on ${on_string} Population-level haplotype summary statistics" from_work_dir="stacks_outputs/populations.hapstats.tsv"/>
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
445 <data format="txt" name="out_populations_log_distribs" label="${tool.name} @TOOLADD@ on ${on_string} Populations log distributions" from_work_dir="stacks_outputs/populations.log.distribs"/>
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
446 <data format="tabular" name="out_sumstats_sum" label="${tool.name} @TOOLADD@ on ${on_string} Summary of Population-level summary statistics" from_work_dir="stacks_outputs/populations.sumstats_summary.tsv"/>
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
447 <data format="tabular" name="out_sumstats" label="${tool.name} @TOOLADD@ on ${on_string} Population-level summary statistics" from_work_dir="stacks_outputs/populations.sumstats.tsv"/>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
448 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
449
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
450 <xml name="populations_output_full">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
451 <expand macro="populations_output_light"/>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
452
3
c207119ba5f6 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 9a6c14bcb90c0b30c583294a993fac47504f4009"
iuc
parents: 2
diff changeset
453 <data format="txt" name="out_sql" label="${tool.name} on ${on_string} Genotyping markers" from_work_dir="stacks_outputs/populations.sql.tsv">
2
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
454 <filter>genetic_map_options['map_type'] and genetic_map_options['map_format']</filter>
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
455 </data>
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
456
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
457 <!-- log_fst_comp populations.fst_summary.tsv populations.phistats_summary.tsv populations.phistats.tsv-->
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
458 <data format="tabular" name="out_phistats" label="${tool.name} on ${on_string} Phi_st statistics" from_work_dir="stacks_outputs/populations.phistats.tsv">
3
c207119ba5f6 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 9a6c14bcb90c0b30c583294a993fac47504f4009"
iuc
parents: 2
diff changeset
459 <filter>fstats_conditional['fstats']=='yes' or kernel_smoothing['options_kernel']['kernel'] in ['--k', '--smooth-fstats']</filter>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
460 </data>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
461 <data format="tabular" name="out_phistats_sum" label="${tool.name} on ${on_string} Summary of Phi_st statistics" from_work_dir="stacks_outputs/populations.phistats_summary.tsv">
3
c207119ba5f6 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 9a6c14bcb90c0b30c583294a993fac47504f4009"
iuc
parents: 2
diff changeset
462 <filter>fstats_conditional['fstats']=='yes' or kernel_smoothing['options_kernel']['kernel'] in ['--k', '--smooth-fstats']</filter>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
463 </data>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
464 <data format="tabular" name="out_fststats_sum" label="${tool.name} on ${on_string} Summary of Fst statistics" from_work_dir="stacks_outputs/populations.fst_summary.tsv">
3
c207119ba5f6 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 9a6c14bcb90c0b30c583294a993fac47504f4009"
iuc
parents: 2
diff changeset
465 <filter>fstats_conditional['fstats']=='yes' or kernel_smoothing['options_kernel']['kernel'] in ['--k', '--smooth-fstats']</filter>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
466 </data>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
467
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
468 <!-- fasta_loci populations.loci.fa
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
469 fasta_samples populations.samples.fa
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
470 fasta_samples_raw populations.samples-raw.fa-->
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
471 <data format="tabular" name="out_fasta_strict" label="${tool.name} on ${on_string} per-locus consensus sequences" from_work_dir="stacks_outputs/populations.loci.fa">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
472 <filter>populations_output['fasta_loci']</filter>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
473 </data>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
474 <data format="tabular" name="out_fasta" label="${tool.name} on ${on_string} per-locus, per-haplotpye sequences" from_work_dir="stacks_outputs/populations.samples.fa">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
475 <filter>populations_output['fasta_samples']</filter>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
476 </data>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
477 <data format="tabular" name="out_fasta_raw" label="${tool.name} on ${on_string} per-locus, per-haplotpye sequences (regardless of biological plausibility)" from_work_dir="stacks_outputs/populations.samples-raw.fa">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
478 <filter>populations_output['fasta_samples_raw']</filter>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
479 </data>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
480
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
481 <!-- phylip populations.fixed.phylip populations.fixed.phylip.log
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
482 phylip_var populations.var.phylip populations.var.phylip.log-->
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
483 <data format="tabular" name="out_phylip_all_pop_fix" label="${tool.name} on ${on_string} Phylip nucleotides that are fixed-within, and variant among populations" from_work_dir="stacks_outputs/populations.fixed.phylip">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
484 <filter>populations_output['phylip']</filter>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
485 </data>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
486 <data format="tabular" name="out_phylip_all_loci_fix" label="${tool.name} on ${on_string} Phylip (loci) nucleotides that are fixed-within, and variant among populations" from_work_dir="stacks_outputs/populations.fixed.phylip.log">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
487 <filter>populations_output['phylip']</filter>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
488 </data>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
489 <data format="tabular" name="out_phylip_all_pop_var" label="${tool.name} on ${on_string} Phylip all sequence as well as variable sites" from_work_dir="stacks_outputs/populations.var.phylip">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
490 <filter>populations_output['phylip_var']</filter>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
491 </data>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
492 <data format="tabular" name="out_phylip_all_loci_var" label="${tool.name} on ${on_string} Phylip (loci) all sequence as well as variable sites" from_work_dir="stacks_outputs/populations.var.phylip.log">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
493 <filter>populations_output['phylip_var']</filter>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
494 </data>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
495
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
496 <!-- genepop populations.haps.genepop populations.snps.genepop -->
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
497 <data format="tabular" name="out_genepop_snps" label="${tool.name} on ${on_string} SNPs in GenePop format" from_work_dir="stacks_outputs/populations.snps.genepop">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
498 <filter>populations_output['genepop']</filter>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
499 </data>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
500 <data format="tabular" name="out_genepop_haps" label="${tool.name} on ${on_string} Haplotypes in GenePop format" from_work_dir="stacks_outputs/populations.haps.genepop">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
501 <filter>populations_output['genepop']</filter>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
502 </data>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
503
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
504 <!-- vcf populations.haps.vcf populations.snps.vcf -->
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
505 <data format="vcf" name="out_vcf_haplotypes_snps" label="${tool.name} on ${on_string} SNPs in VCF format" from_work_dir="stacks_outputs/populations.snps.vcf">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
506 <filter>populations_output['vcf']</filter>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
507 </data>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
508 <data format="vcf" name="out_vcf_haplotypes_haps" label="${tool.name} on ${on_string} Haplotypes in VCF format" from_work_dir="stacks_outputs/populations.haps.vcf">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
509 <filter>populations_output['vcf']</filter>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
510 </data>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
511
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
512 <!--plink populations.plink.map populations.plink.ped-->
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
513 <data format="tabular" name="out_plink_markers" label="${tool.name} on ${on_string} PLINK (makers)" from_work_dir="stacks_outputs/populations.plink.map">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
514 <filter>populations_output['plink']</filter>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
515 </data>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
516 <data format="tabular" name="out_plink_genotypes" label="${tool.name} on ${on_string} PLINK format (genotypes)" from_work_dir="stacks_outputs/populations.plink.ped">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
517 <filter>populations_output['plink']</filter>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
518 </data>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
519
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
520 <!--structure populations.hzar-->
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
521 <data format="tabular" name="out_hzar" label="${tool.name} on ${on_string} hzar format" from_work_dir="stacks_outputs/populations.hzar.csv">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
522 <filter>populations_output['hzar']</filter>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
523 </data>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
524 <!--structure populations.structure-->
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
525 <data format="tabular" name="out_structure" label="${tool.name} on ${on_string} Structure format" from_work_dir="stacks_outputs/populations.structure">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
526 <filter>populations_output['structure']</filter>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
527 </data>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
528
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
529 <!-- radpainter populations.haps.radpainter -->
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
530 <data format="tabular" name="out_radpainter" label="${tool.name} on ${on_string} Radpainter format" from_work_dir="stacks_outputs/populations.haps.radpainter">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
531 <filter>populations_output['radpainter']</filter>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
532 </data>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
533
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
534 <!-- treemix populations.treemix -->
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
535 <data format="tabular" name="out_treemix" label="${tool.name} on ${on_string} Treemix format" from_work_dir="stacks_outputs/populations.treemix">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
536 <filter>populations_output['treemix']</filter>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
537 </data>
3
c207119ba5f6 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 9a6c14bcb90c0b30c583294a993fac47504f4009"
iuc
parents: 2
diff changeset
538
c207119ba5f6 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 9a6c14bcb90c0b30c583294a993fac47504f4009"
iuc
parents: 2
diff changeset
539 <!-- gtf populations.treemix -->
c207119ba5f6 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 9a6c14bcb90c0b30c583294a993fac47504f4009"
iuc
parents: 2
diff changeset
540 <data format="gtf" name="out_gtf" label="${tool.name} on ${on_string} gtf" from_work_dir="stacks_outputs/populations.gtf">
c207119ba5f6 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 9a6c14bcb90c0b30c583294a993fac47504f4009"
iuc
parents: 2
diff changeset
541 <filter>populations_output['gtf']</filter>
c207119ba5f6 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 9a6c14bcb90c0b30c583294a993fac47504f4009"
iuc
parents: 2
diff changeset
542 </data>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
543 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
544
2
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
545 <!-- fastq output for kmer/clone-filter -->
3
c207119ba5f6 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 9a6c14bcb90c0b30c583294a993fac47504f4009"
iuc
parents: 2
diff changeset
546 <xml name="fastq_output_filter" token_format="">
c207119ba5f6 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 9a6c14bcb90c0b30c583294a993fac47504f4009"
iuc
parents: 2
diff changeset
547 <data name="clean" format="@FORMAT@" label="${tool.name} on ${on_string}">
2
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
548 <filter>input_type['input_type_select'] == 'single'</filter>
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
549 <yield/>
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
550 </data>
3
c207119ba5f6 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 9a6c14bcb90c0b30c583294a993fac47504f4009"
iuc
parents: 2
diff changeset
551 <collection name="clean_pair" type="paired" format="@FORMAT@" label="${tool.name} on ${on_string}">
2
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
552 <filter>input_type['input_type_select'] == 'paired'</filter>
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
553 <yield/>
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
554 </collection>
3
c207119ba5f6 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 9a6c14bcb90c0b30c583294a993fac47504f4009"
iuc
parents: 2
diff changeset
555 <data name="discarded" format="@FORMAT@" label="${tool.name} on ${on_string}: discarded reads">
2
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
556 <filter>capture and input_type['input_type_select'] == 'single'</filter>
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
557 <yield/>
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
558 </data>
3
c207119ba5f6 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit 9a6c14bcb90c0b30c583294a993fac47504f4009"
iuc
parents: 2
diff changeset
559 <collection name="discarded_pair" format="@FORMAT@" type="paired" label="${tool.name} on ${on_string}: discarded reads">
2
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
560 <filter>capture and input_type['input_type_select'] == 'paired'</filter>
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
561 <yield/>
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
562 </collection>
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
563 </xml>
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
564
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
565 <xml name="snp_options_alpha">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
566 <param argument="--alpha" type="select" label="Chi square significance level required to call a heterozygote or homozygote" >
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
567 <option value="0.1">0.1</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
568 <option value="0.05" selected="True">0.05</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
569 <option value="0.01">0.01</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
570 <option value="0.001">0.001</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
571 </param>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
572 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
573
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
574 <xml name="snp_options">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
575 <conditional name="select_model">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
576 <param argument="--model_type" type="select" label="Choose the model">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
577 <option value="snp" selected="true">SNP</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
578 <option value="bounded">Bounded SNP</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
579 <option value="fixed">Fixed</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
580 </param>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
581 <when value="snp">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
582 <expand macro="snp_options_alpha"/>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
583 </when>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
584 <when value="bounded">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
585 <param argument="--bound_low" type="float" value="0.0" min="0.0" max="1.0" label="Lower bound for epsilon, the error rate" help="between 0 and 1.0"/>
2
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
586 <param argument="--bound_high" type="float" value="1.0" min="0.0" max="1.0" label="Upper bound for epsilon, the error rate" help="between 0 and 1.0"/>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
587 <expand macro="snp_options_alpha"/>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
588 </when>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
589 <when value="fixed">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
590 <yield/>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
591 </when>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
592 </conditional>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
593 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
594 <xml name="snp_options_full">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
595 <expand macro="snp_options">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
596 <param argument="--bc_err_freq" type="float" value="0.1" min="0.0" max="1.0" label="Barcode error frequency" help="between 0 and 1.0"/>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
597 </expand>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
598 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
599
1
f4aab9196d1e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit c300b84615660459bb0020fa74ccd3b874d329a4"
iuc
parents: 0
diff changeset
600 <!-- variant calling option for use in gstacks and denovomap
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
601 default for var_alpha is 0.01 if model == marukilow (which is the case in denovomap and refmap)
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
602 otherwise no default is is available and gstacks will output and error
1
f4aab9196d1e "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit c300b84615660459bb0020fa74ccd3b874d329a4"
iuc
parents: 0
diff changeset
603 "Error: No value was provided for \-\-var-alpha and there is no default for this model)"
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
604 -->
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
605 <xml name="variant_calling_options_vg" token_varalpha_default="">
2
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
606 <param argument="--var-alpha" name="var_alpha" type="float" value="@VARALPHA_DEFAULT@" min="0" label="Alpha threshold for discovering SNPs" help="Default is 0.01 if the marukilow model is used (which is the case in refmap and denovomap), otherwise no default value is available."/>
fcce77c09289 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit f55e2407891a3c1f73f14a77b7ddadcd6f5eb1f8"
iuc
parents: 1
diff changeset
607 <param argument="--gt-alpha" name="gt_alpha" type="float" value="0.05" min="0" label="Alpha threshold for calling genotypes"/>
0
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
608 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
609
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
610 <xml name="barcode_encoding_single" token_type="">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
611 <option value="--inline_null" selected="True">@TYPE@ is inline with sequence, occurs only on single-end read (--inline_null)</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
612 <option value="--index_null">@TYPE@ is provded in FASTQ header (Illumina i5 or i7 read) (--index_null)</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
613 <yield/>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
614 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
615
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
616 <xml name="barcode_encoding_pair" token_type="">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
617 <expand macro="barcode_encoding_single" type="@TYPE@">
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
618 <option value="--null_index">@TYPE@ is provded in FASTQ header (Illumina i7 read if both i5 and i7 read are provided) (--null_index)</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
619 <option value="--inline_inline">@TYPE@ is inline with sequence, occurs on single and paired-end read (--inline_inline)</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
620 <option value="--index_index">@TYPE@ is provded in FASTQ header (Illumina i5 and i7 reads) (--index_index)</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
621 <option value="--inline_index">@TYPE@ is inline with sequence on single-end read and occurs in FASTQ header (from either i5 or i7 read) (--inline_index)</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
622 <option value="--index_inline">@TYPE@ occurs in FASTQ header (Illumina i5 or i7 read) and is inline with sequence on single-end read (if single read data) or paired-end read (if paired data) (--index_inline)</option>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
623 </expand>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
624 </xml>
da351b9031de planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks2 commit b395fa36fa826e26085820ba3a9faacaeddcb460
iuc
parents:
diff changeset
625 </macros>