comparison mothur/tools/mothur/cluster.classic.xml @ 2:e990ac8a0f58

Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
author jjohnson
date Tue, 07 Jun 2011 17:39:06 -0400
parents fcc0778f6987
children 49058b1f8d3f
comparison
equal deleted inserted replaced
1:fcc0778f6987 2:e990ac8a0f58
1 <tool id="mothur_cluster_classic" name="Cluster.classic" version="1.16.0"> 1 <tool id="mothur_cluster_classic" name="Cluster.classic" version="1.19.0">
2 <description>Assign sequences to OTUs (Dotur implementation)</description> 2 <description>Assign sequences to OTUs (Dotur implementation)</description>
3 <command interpreter="python"> 3 <command interpreter="python">
4 mothur_wrapper.py 4 mothur_wrapper.py
5 --cmd='cluster.classic' 5 --cmd='cluster.classic'
6 --result='^mothur.\S+\.logfile$:'$logfile,'^\S+\.[fna]n\.sabund$:'$sabund,'^\S+\.[fna]n\.rabund$:'$rabund,'^\S+\.[fna]n\.list$:'$otulist 6 --result='^mothur.\S+\.logfile$:'$logfile,'^\S+\.[fna]n\.sabund$:'$sabund,'^\S+\.[fna]n\.rabund$:'$rabund,'^\S+\.[fna]n\.list$:'$otulist
7 --outputdir='$logfile.extra_files_path' 7 --outputdir='$logfile.extra_files_path'
8 --READ_cmd='read.dist' 8 --phylip=$dist
9 #if $matrix.format == "column": 9 #if $name.__str__ != "None" and len($name.__str__) > 0:
10 --READ_column=$matrix.dist 10 --name=$name
11 --READ_name=$matrix.name
12 #elif $matrix.format == "phylip":
13 --READ_phylip=$matrix.dist
14 #if $matrix.name.__str__ != "None" and len($matrix.name.__str__) > 0:
15 --READ_name=$matrix.name
16 #end if
17 #end if
18 $sim
19 #if float($cutoff.__str__) > 0.0:
20 --READ_cutoff=$cutoff
21 #end if
22 $hard
23 #if len($precision.__str__) > 0:
24 --READ_precision=$precision
25 #end if 11 #end if
26 #if len($method.__str__) > 0: 12 #if len($method.__str__) > 0:
27 --method=$method 13 --method=$method
28 #end if 14 #end if
15 #if float($cutoff.__str__) > 0.0:
16 --cutoff=$cutoff
17 #end if
18 $hard
19 #if len($precision.__str__) > 0:
20 --precision=$precision
21 #end if
22 $sim
29 </command> 23 </command>
30 <inputs> 24 <inputs>
31 <conditional name="matrix"> 25 <param name="dist" type="data" format="lower.dist,square.dist" label="phylip - Distance Matrix"/>
32 <param name="format" type="select" label="Select a Distance Matrix Format" help=""> 26 <param name="name" type="data" format="names" optional="true" label="name - Sequences Name reference"/>
33 <option value="column">Pairwise Column Matrix</option>
34 <option value="phylip">Phylip Distance Matrix</option>
35 </param>
36 <when value="column">
37 <param name="dist" type="data" format="pair.dist" label="read.dist(column=) - Distance Matrix"/>
38 <param name="name" type="data" format="names" label="read.dist(name=) - Sequences Name reference"/>
39 </when>
40 <when value="phylip">
41 <param name="dist" type="data" format="lower.dist,square.dist" label="read.dist(phylip=) - Distance Matrix"/>
42 <param name="name" type="data" format="names" optional="true" label="read.dist(name=) - Sequences Name reference"/>
43 </when>
44 </conditional>
45 <!-- ? conditional - to hide complexity --> 27 <!-- ? conditional - to hide complexity -->
46 <param name="method" type="select" label="method - Select a Clustering Method" help=""> 28 <param name="method" type="select" label="method - Select a Clustering Method" help="">
47 <option value="furthest" selected="true">Furthest neighbor</option> 29 <option value="furthest">Furthest neighbor</option>
48 <option value="nearest">Nearest neighbor</option> 30 <option value="nearest">Nearest neighbor</option>
49 <option value="average">Average neighbor</option> 31 <option value="average" selected="true">Average neighbor</option>
50 <option value="weighted">Weighted</option> 32 <option value="weighted">Weighted</option>
51 </param> 33 </param>
52 <param name="cutoff" type="float" value="0.0" label="cutoff - Distance Cutoff threshold - ignored if not > 0" 34 <param name="cutoff" type="float" value="0.0" label="cutoff - Distance Cutoff threshold - ignored if not > 0"
53 help="Ignore pairwise distances larger than this, a common value would be 0.10"/> 35 help="Ignore pairwise distances larger than this, a common value would be 0.10"/>
54 <param name="hard" type="boolean" checked="false" truevalue="--hard=true" falsevalue="" label="hard - Use hard cutoff instead of rounding" 36 <param name="hard" type="boolean" checked="true" truevalue="--hard=true" falsevalue="--hard=false" label="hard - Use hard cutoff instead of rounding"
55 help=""/> 37 help=""/>
56 <param name="precision" type="select" optional="true" label="precision - Precision for rounding distance values" 38 <param name="precision" type="select" optional="true" label="precision - Precision for rounding distance values"
57 help="Set higher precision for longer genome scale sequence lengths"> 39 help="Set higher precision for longer genome scale sequence lengths">
58 <option value="10">.1</option> 40 <option value="10">.1</option>
59 <option value="100" selected="true">.01</option> 41 <option value="100" selected="true">.01</option>
60 <option value="1000">.001</option> 42 <option value="1000">.001</option>
61 <option value="10000">.0001</option> 43 <option value="10000">.0001</option>
62 <option value="100000">.00001</option> 44 <option value="100000">.00001</option>
63 <option value="1000000">.000001</option> 45 <option value="1000000">.000001</option>
64 </param> 46 </param>
65 <param name="sim" type="boolean" checked="false" truevalue="--READ_sim=true" falsevalue="" label="sim - Matrix values are Similary instead of Distance" 47 <param name="sim" type="boolean" checked="false" truevalue="--sim=true" falsevalue="" label="sim - Matrix values are Similary instead of Distance"
66 help=""/> 48 help=""/>
67
68 </inputs> 49 </inputs>
69 <outputs> 50 <outputs>
70 <data format="html" name="logfile" label="${tool.name} on ${on_string}: logfile" /> 51 <data format="html" name="logfile" label="${tool.name} on ${on_string}: logfile" />
71 <data format="rabund" name="rabund" label="${tool.name} on ${on_string}: rabund (Rank Abundance)"/> 52 <data format="rabund" name="rabund" label="${tool.name} on ${on_string}: rabund (Rank Abundance)"/>
72 <data format="sabund" name="sabund" label="${tool.name} on ${on_string}: sabund (Species Abundance)"/> 53 <data format="sabund" name="sabund" label="${tool.name} on ${on_string}: sabund (Species Abundance)"/>