comparison cluster.classic.xml @ 3:6af6b54bed72 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
author iuc
date Wed, 14 Feb 2018 09:34:03 -0500
parents f8dbdd8fb4bf
children a9f5cdc57b39
comparison
equal deleted inserted replaced
2:239a1d4afe76 3:6af6b54bed72
5 </macros> 5 </macros>
6 <expand macro="requirements"/> 6 <expand macro="requirements"/>
7 <expand macro="stdio"/> 7 <expand macro="stdio"/>
8 <expand macro="version_command"/> 8 <expand macro="version_command"/>
9 <command><![CDATA[ 9 <command><![CDATA[
10 @SHELL_OPTIONS@ 10 @SHELL_OPTIONS@
11 11
12 ## create symlinks to input datasets 12 ## create symlinks to input datasets
13 ln -s "$dist" dist.dat && 13 ln -s '$dist' dist.dat &&
14 ln -s "$name" name.dat && 14 ln -s '$name' name.dat &&
15 ln -s "$count" count.dat && 15 ln -s '$count' count.dat &&
16 16
17 echo 'cluster.classic( 17 echo 'cluster.classic(
18 phylip=dist.dat, 18 phylip=dist.dat,
19 #if $name: 19 #if $name:
20 name=name.dat, 20 name=name.dat,
21 #end if 21 #end if
22 #if $count: 22 #if $count:
23 count=count.dat, 23 count=count.dat,
24 #end if 24 #end if
25 method=$method, 25 method=$method,
26 #if $cutoff: 26 #if $cutoff:
27 cutoff=$cutoff, 27 cutoff=$cutoff,
28 #end if 28 #end if
29 hard=$hard, 29 precision=$precision,
30 precision=$precision, 30 sim=$sim
31 sim=$sim 31 )'
32 )' 32 | sed 's/ //g' ## mothur trips over whitespace
33 | sed 's/ //g' ## mothur trips over whitespace 33 | mothur
34 | mothur 34 | tee mothur.out.log
35 | tee mothur.out.log
36 ]]></command> 35 ]]></command>
37 <inputs> 36 <inputs>
38 <param name="dist" type="data" format="mothur.dist,mothur.lower.dist,mothur.square.dist" label="phylip - Distance Matrix" help="format must be mothur.lower.dist or mothur.square.dist"/> 37 <param argument="dist" type="data" format="mothur.dist,mothur.lower.dist,mothur.square.dist" label="phylip - Distance Matrix"
39 <param name="name" type="data" format="mothur.names" optional="true" label="name - Sequences Name reference"/> 38 help="format must be mothur.lower.dist or mothur.square.dist"/>
40 <param name="count" type="data" format="mothur.count_table" optional="true" label="count - a count_table" help="generated by count.seqs"/> 39 <param argument="name" type="data" format="mothur.names" optional="true" label="name - Sequences Name reference"/>
41 <param name="method" type="select" label="method - Select a Clustering Method" help=""> 40 <param argument="count" type="data" format="mothur.count_table" optional="true" label="count - a count_table" help="generated by count.seqs"/>
41 <param argument="method" type="select" label="method - Select a Clustering Method" help="">
42 <option value="furthest">Furthest neighbor</option> 42 <option value="furthest">Furthest neighbor</option>
43 <option value="nearest">Nearest neighbor</option> 43 <option value="nearest">Nearest neighbor</option>
44 <option value="average" selected="true">Average neighbor</option> 44 <option value="average" selected="true">Average neighbor</option>
45 <option value="weighted">Weighted</option> 45 <option value="weighted">Weighted</option>
46 </param> 46 </param>
47 <param name="cutoff" type="float" value="" min="0" optional="true" label="cutoff - Distance Cutoff threshold" help="Ignore pairwise distances larger than this, a common value would be 0.10"/> 47 <param argument="cutoff" type="float" value="" min="0" optional="true" label="cutoff - Distance Cutoff threshold"
48 <param name="hard" type="boolean" checked="true" truevalue="true" falsevalue="false" label="hard - Use hard cutoff instead of rounding"/> 48 help="Ignore pairwise distances larger than this. Default for methods opti,agc,dgc is 0.03, default for the other methods is 0.15"/>
49 <param name="precision" type="select" optional="true" label="precision - Precision for rounding distance values" help="Set higher precision for longer genome scale sequence lengths"> 49 <param argument="precision" type="select" optional="true" label="precision - Precision for rounding distance values"
50 help="Set higher precision for longer genome scale sequence lengths">
50 <option value="10">.1</option> 51 <option value="10">.1</option>
51 <option value="100" selected="true">.01</option> 52 <option value="100" selected="true">.01</option>
52 <option value="1000">.001</option> 53 <option value="1000">.001</option>
53 <option value="10000">.0001</option> 54 <option value="10000">.0001</option>
54 <option value="100000">.00001</option> 55 <option value="100000">.00001</option>
55 <option value="1000000">.000001</option> 56 <option value="1000000">.000001</option>
56 </param> 57 </param>
57 <param name="sim" type="boolean" checked="false" truevalue="true" falsevalue="false" label="sim - Matrix values are Similary instead of Distance"/> 58 <param argument="sim" type="boolean" checked="false" truevalue="true" falsevalue="false" label="sim - Matrix values are Similary instead of Distance"/>
58 </inputs> 59 </inputs>
59 <outputs> 60 <outputs>
60 <expand macro="logfile-output"/> 61 <expand macro="logfile-output"/>
61 <data name="rabund" format="mothur.rabund" from_work_dir="dist*.rabund" label="${tool.name} on ${on_string}: rabund (Rank Abundance)"/> 62 <data name="rabund" format="mothur.rabund" from_work_dir="dist*.rabund" label="${tool.name} on ${on_string}: rabund (Rank Abundance)"/>
62 <data name="sabund" format="mothur.sabund" from_work_dir="dist*.sabund" label="${tool.name} on ${on_string}: sabund (Species Abundance)"/> 63 <data name="sabund" format="mothur.sabund" from_work_dir="dist*.sabund" label="${tool.name} on ${on_string}: sabund (Species Abundance)"/>
75 </assert_contents> 76 </assert_contents>
76 </output> 77 </output>
77 <expand macro="logfile-test"/> 78 <expand macro="logfile-test"/>
78 </test> 79 </test>
79 </tests> 80 </tests>
80 <help> 81 <help><![CDATA[
81 <![CDATA[
82 82
83 @MOTHUR_OVERVIEW@ 83 @MOTHUR_OVERVIEW@
84 84
85 **Command Documentation** 85 **Command Documentation**
86 86
87 The cluster.classic_ command assign sequences to OTUs (Operational Taxonomy Unit). 87 The cluster.classic_ command assign sequences to OTUs (Operational Taxonomy Unit).
88 88
89 .. _cluster.classic: https://www.mothur.org/wiki/Cluster.classic 89 .. _cluster.classic: https://www.mothur.org/wiki/Cluster.classic
90 90
91 ]]> 91 ]]></help>
92 </help>
93 <expand macro="citations"/> 92 <expand macro="citations"/>
94 </tool> 93 </tool>