annotate lotus2.xml @ 3:77cb867e9608 draft

"planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ba755f943aaa8b37434744d32ea0c524503bf50f"
author earlhaminst
date Wed, 26 May 2021 11:54:37 +0000
parents cf56a6553385
children 59b8864c9fa0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
77cb867e9608 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ba755f943aaa8b37434744d32ea0c524503bf50f"
earlhaminst
parents: 2
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>
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
4 <token name="@VERSION@">2.06</token>
1
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
5 <xml name="refDB_macro">
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
6 <param argument="-refDB" type="select" label="Reference Database">
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
7 <option value="SLV" selected="true">Silva LSU (23/28S) or SSU (16/18S) (SLV)</option>
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
8 <option value="GG">Greengenes (GG)</option>
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
9 <option value="UNITE">ITS focused on fungi (UNITE)</option>
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
10 <option value="PR2">SSU focused on Protists (PR2)</option>
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
11 <option value="beetax">Bee gut specific database and tax names (beetax)</option>
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
12 <option value="HITdb">Human gut microbiota (HITdb)</option>
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
13 </param>
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
14 <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
15 </xml>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
16 <xml name="id_macro">
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
17 <param argument="-id" type="float" min="0" max="1" value="0.97" 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
18 </xml>
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
19 </macros>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
20 <requirements>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
21 <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
22 </requirements>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
23 <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
24 <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
25 #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
26 #import re
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
27 #def symlink_basename($f):
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
28 #set fn = re.sub('[^\w\-_.]', '_', $f.element_identifier)
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
29 #if fn.endswith('.gz'):
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
30 #set fn = fn[:-3]
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
31 #end if
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
32 #for ext in ('.fq', '.fastq', '.fastqsanger'):
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
33 #if fn.endswith($ext):
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
34 #set fn = fn[:-len($ext)]
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
35 #break
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
36 #end if
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
37 #end for
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
38 $fn#slurp
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
39 #end def
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
40
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
41 mkdir input
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
42 &&
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
43 #if $inputs.paired_or_single == 'single':
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
44 #for f in $inputs.input:
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
45 #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
46 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
47 #end for
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
48 #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
49 #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
50 #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
51 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
52 #end for
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
53 #for i, f in enumerate($inputs.right_input):
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
54 #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
55 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
56 #end for
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
57 #else:
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
58 #for f in $inputs.pair_input:
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
59 #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
60 ln -s '$f.forward' 'input/${symlink_basename(f)}.1.${ext}' &&
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
61 #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
62 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
63 #end for
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
64 #end if
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
65
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
66 lotus2 -create_map mapping.txt -i input/ &&
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
67 cat mapping.txt &&
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
68
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
69 lotus2
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
70 -i input/
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
71 -o output
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
72 -tmpDir tmp_folder
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
73 -threads "\${GALAXY_SLOTS:-1}"
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
74 -map mapping.txt
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
75 -platform $platform
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
76 #if $barcode:
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
77 -barcode '$barcode'
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
78 #end if
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
79 #if $forwardPrimer:
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
80 -forwardPrimer '$forwardPrimer'
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
81 #end if
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
82 #if $reversePrimer:
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
83 -reversePrimer '$reversePrimer'
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
84 #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
85 #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
86 -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
87 #end if
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
88
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
89 -clustering $clu_args.clu_cond.clustering
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
90 #if $clu_args.clu_cond.clustering in ('1', '3'):
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
91 -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
92 #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
93 -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
94 #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
95 #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
96 -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
97 #end if
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
98 -deactivateChimeraCheck $clu_args.deactivateChimeraCheck
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
99 -chim_skew $clu_args.chim_skew
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
100 -readOverlap $clu_args.readOverlap
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
101
1
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
102 -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
103 #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
104 -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
105 #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
106 -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
107 #else:
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
108 -refDB $tax_args.aligner_cond.refDB
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
109 -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
110 #end if
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
111 -amplicon_type $tax_args.amplicon_type
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
112 -tax_group $tax_args.tax_group
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
113 -keepUnclassified $tax_args.keepUnclassified
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
114 -useBestBlastHitOnly $tax_args.useBestBlastHitOnly
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
115 -LCA_cover $tax_args.LCA_cover
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
116 -LCA_frac $tax_args.LCA_frac
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
117 -greengenesSpecies $tax_args.greengenesSpecies
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
118 -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
119 -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
120
1
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
121 ; EXIT_VALUE=\$? ;
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
122
1
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
123 tar -cvzf output.tar.gz output/
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
124 &&
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
125 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
126 ]]></command>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
127
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
128 <inputs>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
129 <conditional name="inputs">
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
130 <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
131 <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
132 <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
133 </param>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
134 <when value="single">
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
135 <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
136 </when>
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
137 <!--
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
138 <when value="paired">
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
139 <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
140 <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
141 </when>
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
142 -->
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
143 <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
144 <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
145 </when>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
146 </conditional>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
147 <param argument="-platform" type="select" label="Sequencing platform">
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
148 <option value="miSeq" selected="true">miSeq</option>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
149 <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
150 <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
151 <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
152 </param>
1
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
153 <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
154 <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
155 <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
156 <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
157 <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
158 <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
159 <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
160 <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
161 </param>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
162 <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
163 <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
164 <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
165 <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
166 <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
167 <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
168 </options>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
169 </param>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
170 </when>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
171 <when value="history">
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
172 <param name="ref_file" type="data" format="fasta" label="FASTA reference genome" />
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
173 </when>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
174 </conditional>
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
175 <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
176 <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
177 <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
178 <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
179 <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
180 <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
181 <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
182 <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
183 </param>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
184 <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
185 <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
186 </when>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
187 <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
188 <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
189 </when>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
190 <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
191 <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
192 </when>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
193 <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
194 </when>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
195 <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
196 </when>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
197 </conditional>
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
198 <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
199 <param argument="-deactivateChimeraCheck" type="select" label="Chimera check">
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
200 <option value="0" selected="true">OTU chimera checks</option>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
201 <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
202 <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
203 <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
204 </param>
1
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
205 <param argument="-chim_skew" type="integer" min="0" value="2" 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
206 <param argument="-readOverlap" type="integer" min="0" value="300" label="Maximum number of basepairs that two reads are overlapping" />
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
207 </section>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
208 <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
209 <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
210 <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
211 <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
212 <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
213 <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
214 <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
215 <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
216 </param>
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
217 <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
218 <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
219 </when>
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
220 <when value="1">
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
221 <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
222 </when>
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
223 <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
224 <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
225 </when>
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
226 <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
227 <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
228 </when>
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
229 <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
230 <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
231 </when>
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
232 </conditional>
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
233 <param argument="-amplicon_type" type="select" label="Amplicon type">
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
234 <option value="LSU">LSU Large subunit (23S/28S)</option>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
235 <option value="SSU" selected="true">SSU small subunit (16S/18S)</option>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
236 <option value="ITS">ITS internal transcribed spacer</option>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
237 <option value="ITS1">ITS1</option>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
238 <option value="ITS2">ITS2</option>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
239 </param>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
240 <param argument="-tax_group" type="select" label="Tax group">
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
241 <option value="bacteria" selected="true">bacterial 16S rDNA annnotation</option>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
242 <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
243 </param>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
244 <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" />
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
245 <param argument="-useBestBlastHitOnly" type="boolean" truevalue="1" falsevalue="0" checked="false" label="Use best blast hit only" help="If selected, do not use LCA (lowest common ancestor) to determine most likely taxonomic level (not recommended)" />
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
246 <param argument="-LCA_cover" type="float" min="0" max="1" value="0.9" label="Minimum horizontal coverage of an OTU sequence against ref DB"/>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
247 <param argument="-LCA_frac" type="float" min="0" max="1" value="0.9" label="Minimum fraction of reads with identical taxonomy"/>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
248 <param argument="-greengenesSpecies" type="boolean" truevalue="1" falsevalue="0" checked="false" label="Create greengenes output labels instead of OTU" />
2
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
249 <param argument="-lulu" type="boolean" truevalue="1" falsevalue="0" checked="false" label="Use LULU to merge OTUs based on their occurence" />
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="-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
251 <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
252 <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
253 <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
254 </param>
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
255 </section>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
256 </inputs>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
257
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
258 <outputs>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
259 <data name="otu" format="tabular" label="${tool.name} on ${on_string}: OTU abundance matrix" from_work_dir="output/OTU.txt" />
3
77cb867e9608 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit ba755f943aaa8b37434744d32ea0c524503bf50f"
earlhaminst
parents: 2
diff changeset
260 <data name="otu_biom" format="biom1" label="${tool.name} on ${on_string}: biom-formatted OTU abundance matrix" from_work_dir="output/OTU.biom" />
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
261 <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
262 <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
263 <data name="mapping" format="tabular" label="${tool.name} on ${on_string}: mapping file" from_work_dir="output/primary/in.map" />
cf56a6553385 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 4f154640ea9b8d9472307287f0ee6483649c9466"
earlhaminst
parents: 1
diff changeset
264 <data name="outputs" format="tar" label="${tool.name} on ${on_string}: All output files" from_work_dir="output.tar.gz" />
0
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
265 </outputs>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
266
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
267 <tests>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
268 <test>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
269 <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
270 <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
271 <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
272 <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
273 <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
274 <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
275 <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
276 </test>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
277 </tests>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
278
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
279 <help><![CDATA[
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
280 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
281
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
282 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
283 ]]></help>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
284 <citations>
1
85da3173a488 "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit 187ff34ae1ea6f850882ef0fbbc80dbb3ffc2a24"
earlhaminst
parents: 0
diff changeset
285 <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
286 </citations>
478e767a0e7a "planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/lotus2 commit d05728af3d4d2ffd49548a320e8e8b4c6cc2f5e7"
earlhaminst
parents:
diff changeset
287 </tool>