annotate lotus2.xml @ 7:692832801d70 draft

"planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 81334bedc488edc36581c015b5a4c06926ec236c"
author earlhaminst
date Sun, 06 Jun 2021 17:55:32 +0000
parents fc78d02657a9
children 0fddee8b1f7e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
692832801d70 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 81334bedc488edc36581c015b5a4c06926ec236c"
earlhaminst
parents: 6
diff changeset
1 <tool id="lotus2" name="LotuS2" version="@VERSION@+galaxy1" profile="20.01">
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
2 <description>fast OTU processing pipeline</description>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
3 <macros>
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
4 <token name="@VERSION@">2.07</token>
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
5 <xml name="refDB_macro" token_ref_fasta_formats="fasta,fasta.gz">
4
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
6 <conditional name="refDB_cond">
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
7 <param argument="-refDB" type="select" label="Taxonomy reference database">
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
8 <option value="cached">Use a built-in taxonomy database</option>
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
9 <option value="history">Use a taxonomy from history</option>
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
10 </param>
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
11 <when value="cached">
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
12 <param argument="-ref_db" type="select" label="Using reference database" help="Select database from the list">
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
13 <option value="" selected="true">(Default)</option>
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
14 <option value="SLV">Silva LSU (23/28S) or SSU (16/18S) (SLV)</option>
4
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
15 <option value="GG">Greengenes (GG)</option>
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
16 <option value="UNITE">ITS focused on fungi (UNITE)</option>
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
17 <option value="PR2">SSU focused on Protists (PR2)</option>
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
18 <option value="beetax">Bee gut specific database and tax names (beetax)</option>
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
19 <option value="HITdb">Human gut microbiota (HITdb)</option>
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
20 </param>
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
21 <param argument="-greengenesSpecies" type="boolean" truevalue="1" falsevalue="0" checked="false" label="Create greengenes output labels instead of OTU" />
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
22 </when>
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
23 <when value="history">
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
24 <param name="ref_fasta" type="data" format="@REF_FASTA_FORMATS@" label="Taxonomy reference sequences" help="In FASTA format" />
4
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
25 <param argument="-tax4refDB" type="data" format="tabular" label="Taxonomy reference lineages" help="Tab-separated file with 2 columns mapping each FASTA header of the reference sequences to a GTDB-style taxonomy string" />
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
26 </when>
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
27 </conditional>
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
28 <param argument="-useBestBlastHitOnly" type="boolean" truevalue="1" falsevalue="0" checked="false" label="Use the best Blast hit only" help="Do not use LCA (lowest common ancestor) to determine the most likely taxonomic level (not recommended)" />
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
29 </xml>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
30 <xml name="id_macro">
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
31 <param argument="-id" type="float" min="0.9" max="1" value="" optional="true" label="Clustering threshold for OTUs" />
1
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
32 </xml>
4
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
33 <xml name="ITSx_macro">
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
34 <param argument="-ITSx" type="boolean" truevalue="1" falsevalue="0" checked="true" label="Use ITSx to only retain OTUs fitting to ITS1/ITS2 hmm models" />
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
35 </xml>
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
36 </macros>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
37 <requirements>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
38 <requirement type="package" version="@VERSION@">lotus2</requirement>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
39 </requirements>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
40 <version_command>lotus2 --version</version_command>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
41 <command detect_errors="exit_code"><![CDATA[
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
42 #import os.path
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
43 #import re
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
44 #def symlink_basename($f):
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
45 #set $fn = re.sub('[^\w\-_.]', '_', $f.element_identifier)
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
46 #if $fn.endswith('.gz'):
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
47 #set $fn = $fn[:-3]
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
48 #end if
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
49 #if $f.ext.startswith('fastqsanger'):
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
50 #set $exts_to_drop = ('.fq', '.fastq', '.fastqsanger')
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
51 #elif $f.ext.startswith('fasta'):
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
52 #set $exts_to_drop = ('.fa', '.fasta', '.fna')
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
53 #else
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
54 #set $exts_to_drop = []
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
55 #end if
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
56 #for $ext in $exts_to_drop:
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
57 #if $fn.endswith($ext):
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
58 #set $fn = $fn[:-len($ext)]
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
59 #break
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
60 #end if
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
61 #end for
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
62 $fn#slurp
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
63 #end def
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
64
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
65 mkdir input
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
66 &&
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
67 #if $inputs.paired_or_single == 'single':
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
68 #for $f in $inputs.input:
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
69 #set $ext = $f.ext.replace('sanger', '')
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
70 ln -s '$f' 'input/${symlink_basename(f)}.${ext}' &&
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
71 #end for
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
72 #elif $inputs.paired_or_single == 'paired':
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
73 #for i, f in enumerate($inputs.left_input):
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
74 #set ext = $f.ext.replace('sanger', '')
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
75 ln -s '$f' 'input/input${i}.1.${ext}' &&
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
76 #end for
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
77 #for $i, $f in enumerate($inputs.right_input):
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
78 #set $ext = $f.ext.replace('sanger', '')
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
79 ln -s '$f' 'input/input${i}.2.${ext}' &&
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
80 #end for
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
81 #else:
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
82 #for $f in $inputs.pair_input:
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
83 #set $ext = $f.forward.ext.replace('sanger', '')
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
84 ln -s '$f.forward' 'input/${symlink_basename(f)}.1.${ext}' &&
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
85 #set $ext = $f.reverse.ext.replace('sanger', '')
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
86 ln -s '$f.reverse' 'input/${symlink_basename(f)}.2.${ext}' &&
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
87 #end for
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
88 #end if
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
89
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
90 #if $tax_args.aligner_cond.taxAligner not in ('0', '3') and $tax_args.aligner_cond.refDB_cond.refDB == 'history':
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
91 #set $ref_fasta_symlink = $symlink_basename($tax_args.aligner_cond.refDB_cond.ref_fasta) + '.' + $tax_args.aligner_cond.refDB_cond.ref_fasta.ext
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
92 ln -s '$tax_args.aligner_cond.refDB_cond.ref_fasta' '$ref_fasta_symlink' &&
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
93 #end if
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
94
4
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
95 #if not $map:
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
96 lotus2 -create_map mapping.txt -i input/ &&
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
97 cat mapping.txt &&
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
98 #set map = 'mapping.txt'
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
99 #end if
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
100
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
101 lotus2
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
102 -i input/
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
103 -o output
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
104 -tmpDir tmp_folder
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
105 -threads "\${GALAXY_SLOTS:-1}"
4
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
106 -map '$map'
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
107 #if $sdmopt:
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
108 -sdmopt '$sdmopt'
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
109 #end if
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
110 #if $platform != '':
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
111 -platform $platform
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
112 #end if
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
113 #if $barcode:
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
114 -barcode '$barcode'
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
115 #end if
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
116 #if $forwardPrimer:
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
117 -forwardPrimer '$forwardPrimer'
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
118 #end if
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
119 #if $reversePrimer:
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
120 -reversePrimer '$reversePrimer'
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
121 #end if
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
122 #if $offtarget_cond.offtargetDB != 'no':
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
123 -offtargetDB '$offtarget_cond.ref_file'
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
124 #end if
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
125
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
126 -clustering $clu_args.clu_cond.clustering
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
127 #if $clu_args.clu_cond.clustering in ('1', '3') and str($clu_args.clu_cond.id):
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
128 -id $clu_args.clu_cond.id
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
129 #elif $clu_args.clu_cond.clustering == '2':
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
130 -swarm_distance $clu_args.clu_cond.swarm_distance
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
131 #end if
1
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
132 #if $clu_args.derepMin:
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
133 -derepMin '$clu_args.derepMin'
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
134 #end if
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
135
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
136 #if $clu_args.deactivateChimeraCheck != '':
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
137 -deactivateChimeraCheck $clu_args.deactivateChimeraCheck
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
138 #end if
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
139 #if str($clu_args.chim_skew):
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
140 -chim_skew $clu_args.chim_skew
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
141 #end if
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
142
1
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
143 -taxAligner $tax_args.aligner_cond.taxAligner
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
144 #if $tax_args.aligner_cond.taxAligner == '0':
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
145 -rdp_thr $tax_args.aligner_cond.rdp_thr
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
146 #elif $tax_args.aligner_cond.taxAligner == '3':
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
147 -utax_thr $tax_args.aligner_cond.utax_thr
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
148 #else:
4
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
149 #if $tax_args.aligner_cond.refDB_cond.refDB == 'cached':
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
150 #if $tax_args.aligner_cond.refDB_cond.ref_db != '':
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
151 -refDB $tax_args.aligner_cond.refDB_cond.ref_db
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
152 -greengenesSpecies $tax_args.aligner_cond.refDB_cond.greengenesSpecies
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
153 #end if
4
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
154 #else:
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
155 -refDB '$ref_fasta_symlink'
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
156 -tax4refDB '$tax_args.aligner_cond.refDB_cond.tax4refDB'
4
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
157 #end if
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
158 -useBestBlastHitOnly $tax_args.aligner_cond.useBestBlastHitOnly
1
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
159 #end if
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
160 #if $tax_args.amplicon_cond.amplicon_type != '':
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
161 -amplicon_type $tax_args.amplicon_cond.amplicon_type
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
162 #end if
4
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
163 #if $tax_args.amplicon_cond.amplicon_type in ('ITS', 'ITS1', 'ITS2'):
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
164 -ITSx $tax_args.amplicon_cond.ITSx_macro
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
165 #end if
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
166
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
167 #if $tax_args.tax_group != '':
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
168 -tax_group $tax_args.tax_group
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
169 #end if
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
170 -keepUnclassified $tax_args.keepUnclassified
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
171 #if str($tax_args.LCA_cover):
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
172 -LCA_cover $tax_args.LCA_cover
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
173 #end if
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
174 #if str($tax_args.LCA_frac):
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
175 -LCA_frac $tax_args.LCA_frac
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
176 #end if
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
177 -lulu $tax_args.lulu
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
178 -buildPhylo $tax_args.buildPhylo
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
179
1
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
180 ; EXIT_VALUE=\$? ;
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
181
7
692832801d70 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 81334bedc488edc36581c015b5a4c06926ec236c"
earlhaminst
parents: 6
diff changeset
182 zip -8 -r -v output.zip output/
1
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
183 &&
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
184 exit \$EXIT_VALUE
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
185 ]]></command>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
186
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
187 <inputs>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
188 <conditional name="inputs">
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
189 <param name="paired_or_single" type="select" label="Paired or Single-end data?">
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
190 <option value="single" selected="true">Single-end</option>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
191 <option value="paired_collection">Paired-end collection</option>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
192 </param>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
193 <when value="single">
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
194 <param name="input" type="data" format="fastqsanger,fastqsanger.gz" multiple="true" label="Single-end reads" />
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
195 </when>
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
196 <!--
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
197 <when value="paired">
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
198 <param name="left_input" type="data" format="fastqsanger,fastqsanger.gz" multiple="true" label="Left/Forward strand reads" />
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
199 <param name="right_input" type="data" format="fastqsanger,fastqsanger.gz" multiple="true" label="Right/Reverse strand reads" />
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
200 </when>
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
201 -->
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
202 <when value="paired_collection">
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
203 <param name="pair_input" type="data_collection" collection_type="list:paired" format="fastqsanger,fastqsanger.gz" label="List of paired reads" />
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
204 </when>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
205 </conditional>
4
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
206 <param argument="-map" type="data" format="tabular" optional="true" label="Mapping file (optional)" help="Needed to demultiplex the FASTQ files using sdm. If the FASTQ are already demultiplexed, this can be omitted." />
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
207 <param argument="-sdmopt" type="data" format="txt" optional="true" label="SDM option file (optional)" />
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
208 <param argument="-platform" type="select" label="Sequencing platform">
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
209 <option value="" selected="true">(Default)</option>
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
210 <option value="miSeq">miSeq</option>
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
211 <option value="hiSeq">hiSeq</option>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
212 <option value="454">454</option>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
213 <option value="PacBio">PacBio</option>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
214 </param>
1
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
215 <param argument="-barcode" type="data" format="fastqsanger" optional="true" label="Barcode (MID) sequences (optional)" help="FASTQ file with barcodes (in the processed mi/hiSeq format), if provided by the sequencer" />
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
216 <param argument="-forwardPrimer" type="text" value="" label="Forward primer used to amplify DNA region" help="E.g. 16S primer fwd" />
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
217 <param argument="-reversePrimer" type="text" value="" label="Reverse primer used to amplify DNA region" help="E.g. 16S primer rev" />
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
218 <conditional name="offtarget_cond">
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
219 <param argument="-offtargetDB" type="select" label="Remove likely contaminant OTUs/ASVs based on alignment to host genome" help="Useful for low-bacterial biomass samples to remove possible host genome contaminations">
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
220 <option value="no" selected="true">Disabled</option>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
221 <option value="cached">Use a built-in genome</option>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
222 <option value="history">Use a genome from history</option>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
223 </param>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
224 <when value="no" />
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
225 <when value="cached">
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
226 <param name="ref_file" type="select" label="Using reference genome" help="Select genome from the list">
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
227 <options from_data_table="all_fasta">
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
228 <filter type="sort_by" column="2" />
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
229 <validator type="no_options" message="No reference genomes are available" />
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
230 </options>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
231 </param>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
232 </when>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
233 <when value="history">
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
234 <param name="ref_file" type="data" format="fasta,fasta.gz" label="FASTA reference genome" />
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
235 </when>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
236 </conditional>
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
237 <section name="clu_args" title="Clustering Options">
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
238 <conditional name="clu_cond">
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
239 <param argument="-clustering" type="select" label="Clustering algorithm">
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
240 <option value="1">UPARSE</option>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
241 <option value="2">swarm</option>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
242 <option value="3">cd-hit</option>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
243 <option value="6">unoise3</option>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
244 <option value="7" selected="true">dada2</option>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
245 </param>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
246 <when value="1">
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
247 <expand macro="id_macro" />
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
248 </when>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
249 <when value="2">
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
250 <param argument="-swarm_distance" type="integer" min="1" value="1" label="Clustering threshold for OTUs when using swarm clustering" />
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
251 </when>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
252 <when value="3">
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
253 <expand macro="id_macro" />
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
254 </when>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
255 <when value="6">
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
256 </when>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
257 <when value="7">
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
258 </when>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
259 </conditional>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
260 <param argument="-derepMin" type="text" value="" label="Minimum size of dereplicated raw reads (optional)" help="E.g. 4:1,4:2,3:3 . See http://lotus2.earlham.ac.uk/images/Derep_options.pdf for how to specify this parameter. If not specified, LotuS2 will select an appropriate default for the chosen clustering algorithm." />
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
261 <param argument="-deactivateChimeraCheck" type="select" label="Chimera check">
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
262 <option value="" selected="true">(Default)</option>
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
263 <option value="0">OTU chimera checks</option>
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
264 <option value="1">No chimera check at all</option>
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
265 <option value="2">Disable deNovo chimera check</option>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
266 <option value="3">Disable ref based chimera check</option>
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
267 </param>
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
268 <param argument="-chim_skew" type="integer" min="0" value="" optional="true" label="Skew in chimeric fragment abundance" />
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
269 </section>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
270 <section name="tax_args" title="Taxonomy Options">
1
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
271 <conditional name="aligner_cond">
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
272 <param argument="-taxAligner" type="select" label="Taxonomy aligner for taxonomic profiling of OTUs">
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
273 <option value="0" selected="true">RDPclassifier (max likelihood)</option>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
274 <option value="1">Blast LCA against custom reference database</option>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
275 <option value="2">LAMBDA LCA against custom reference database</option>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
276 <option value="3">UTAX likelihood corrected</option>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
277 <option value="4">VSEARCH LCA against custom reference database</option>
1
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
278 </param>
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
279 <when value="0">
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
280 <param argument="-rdp_thr" type="float" min="0" max="1" value="0.8" label="Confidence threshold for RDP"/>
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
281 </when>
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
282 <when value="1">
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
283 <expand macro="refDB_macro" ref_fasta_formats="fasta" />
1
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
284 </when>
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
285 <when value="2">
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
286 <expand macro="refDB_macro" />
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
287 </when>
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
288 <when value="3">
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
289 <param argument="-utax_thr" type="float" min="0" max="1" value="0.8" label="Confidence threshold for UTAX"/>
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
290 </when>
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
291 <when value="4">
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
292 <expand macro="refDB_macro" />
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
293 </when>
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
294 </conditional>
4
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
295 <conditional name="amplicon_cond">
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
296 <param argument="-amplicon_type" type="select" label="Amplicon type">
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
297 <option value="" selected="true">(Default)</option>
4
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
298 <option value="LSU">LSU Large subunit (23S/28S)</option>
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
299 <option value="SSU">SSU small subunit (16S/18S)</option>
4
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
300 <option value="ITS">ITS internal transcribed spacer</option>
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
301 <option value="ITS1">ITS1</option>
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
302 <option value="ITS2">ITS2</option>
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
303 </param>
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
304 <when value="ITS">
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
305 <expand macro="ITSx_macro" />
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
306 </when>
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
307 <when value="ITS1">
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
308 <expand macro="ITSx_macro" />
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
309 </when>
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
310 <when value="ITS2">
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
311 <expand macro="ITSx_macro" />
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
312 </when>
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
313 </conditional>
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
314 <param argument="-tax_group" type="select" label="Tax group">
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
315 <option value="" selected="true">(Default)</option>
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
316 <option value="bacteria">bacterial 16S rDNA annnotation</option>
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
317 <option value="fungi">fungal 18S/23S/ITS annotation</option>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
318 </param>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
319 <param argument="-keepUnclassified" type="boolean" truevalue="1" falsevalue="0" checked="true" label="Keep unclassified OTUs" help="Includes unclassified OTUs (i.e. no match in RDP/Blast database) in OTU and taxa abundance matrix calculations" />
6
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
320 <param argument="-LCA_cover" type="float" min="0" max="1" value="" optional="true" label="Minimum horizontal coverage of an OTU sequence against ref DB"/>
fc78d02657a9 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 8234e6652ddaa52bbd6ac041cd69470f1600832f"
earlhaminst
parents: 5
diff changeset
321 <param argument="-LCA_frac" type="float" min="0" max="1" value="" optional="true" label="Minimum fraction of reads with identical taxonomy"/>
4
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
322 <param argument="-lulu" type="boolean" truevalue="1" falsevalue="0" checked="false" label="Use LULU to merge OTUs based on their occurrence" />
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
323 <param argument="-buildPhylo" type="select" label="Build OTU phylogeny">
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
324 <option value="0">Disable</option>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
325 <option value="1" selected="true">Use fasttree2</option>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
326 <option value="2">Use iqtree2</option>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
327 </param>
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
328 </section>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
329 </inputs>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
330
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
331 <outputs>
7
692832801d70 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 81334bedc488edc36581c015b5a4c06926ec236c"
earlhaminst
parents: 6
diff changeset
332 <data name="outputs" format="zip" label="${tool.name} on ${on_string}: Complete LotuS2 output" from_work_dir="output.zip" />
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
333 <data name="otu" format="tabular" label="${tool.name} on ${on_string}: OTU abundance matrix" from_work_dir="output/OTU.txt" />
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
334 <data name="otu_fna" format="fasta" label="${tool.name} on ${on_string}: FASTA-formatted extended OTU seed sequences" from_work_dir="output/OTU.fna" />
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
335 <data name="OTUphylo_nwk" format="newick" label="${tool.name} on ${on_string}: Newick-formatted phylogenetic tree between sequences" from_work_dir="output/OTUphylo.nwk" />
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
336 <data name="mapping" format="tabular" label="${tool.name} on ${on_string}: mapping file" from_work_dir="output/primary/in.map" />
4
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
337 <data name="runlog" format="txt" label="${tool.name} on ${on_string}: main log file" from_work_dir="output/LotuSLogS/LotuS_run.log" />
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
338 </outputs>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
339
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
340 <tests>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
341 <test>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
342 <param name="paired_or_single" value="single"/>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
343 <param name="input" value="Anh_sample1.fastq.gz,Anh_sample2.fastq.gz" ftype="fastqsanger.gz"/>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
344 <param name="platform" value="454" />
1
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
345 <param name="clustering" value="3" />
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
346 <output name="otu" file="OTU.txt" compare="sim_size" />
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
347 <output name="otu_fna" file="OTU.fna" compare="sim_size" />
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
348 <output name="mapping" file="mapping.txt" />
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
349 </test>
4
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
350 <test>
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
351 <param name="paired_or_single" value="single"/>
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
352 <param name="input" value="Anh_sample1.fastq.gz,Anh_sample2.fastq.gz" ftype="fastqsanger.gz"/>
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
353 <param name="mapping" value="mapping.txt" />
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
354 <param name="platform" value="454" />
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
355 <param name="clustering" value="3" />
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
356 <output name="otu" file="OTU.txt" compare="sim_size" />
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
357 <output name="otu_fna" file="OTU.fna" compare="sim_size" />
59b8864c9fa0 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ac59e1bfb1ef3b5104e84d4d65fb9bef50fed8ae"
earlhaminst
parents: 3
diff changeset
358 </test>
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
359 </tests>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
360
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
361 <help><![CDATA[
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
362 If you have separate FASTA and quality files, these can be combined in a FASTQ file using the "Combine FASTA and QUAL into FASTQ" tool.
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
363
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
364 Documentation can be found at `<http://lotus2.earlham.ac.uk/>`_.
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
365 ]]></help>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
366 <citations>
1
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
367 <citation type="doi">10.1186/s40168-021-01012-1</citation>
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
368 </citations>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
369 </tool>