comparison mothur/tools/mothur/libshuff.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 bfbaf823be4c
comparison
equal deleted inserted replaced
1:fcc0778f6987 2:e990ac8a0f58
1 <tool id="mothur_libshuff" name="Libshuff" version="1.16.0"> 1 <tool id="mothur_libshuff" name="Libshuff" version="1.19.0">
2 <description>Cramer-von Mises tests communities for the same structure</description> 2 <description>Cramer-von Mises tests communities for the same structure</description>
3 <command interpreter="python"> 3 <command interpreter="python">
4 mothur_wrapper.py 4 mothur_wrapper.py
5 --cmd='libshuff' 5 --cmd='libshuff'
6 --result='^mothur.\S+\.logfile$:'$logfile,'^\S+\.libshuff\.summary$:'$summary,'^\S+\.libshuff\.coverage$:'$coverage 6 --result='^mothur.\S+\.logfile$:'$logfile,'^\S+\.libshuff\.summary$:'$summary,'^\S+\.libshuff\.coverage$:'$coverage
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 --group=$group
10 --READ_column=$matrix.dist 10 #if $groups.__str__ != "None" and len($groups.__str__) > 0:
11 --READ_name=$matrix.name 11 --groups=$groups
12 #elif $matrix.format == "phylip":
13 --READ_phylip=$matrix.dist
14 #end if 12 #end if
15 --READ_group=$group
16 #if len($iters.__str__) > 0: 13 #if len($iters.__str__) > 0:
17 --iters=$iters 14 --iters=$iters
18 #end if 15 #end if
16 $sim
19 #if $form == "discrete": 17 #if $form == "discrete":
20 #if 1.0 >= float($form.step.__str__) > 0.0: 18 #if 1.0 >= float($form.step.__str__) > 0.0:
21 --step=$form.step 19 --step=$form.step
22 #end if 20 #end if
23 #if 1.0 >= float($cutoff.__str__) > 0.0: 21 #if 1.0 >= float($cutoff.__str__) > 0.0:
24 --cutoff=$form.cutoff 22 --cutoff=$form.cutoff
25 #end if 23 #end if
26 #end if 24 #end if
27 </command> 25 </command>
28 <inputs> 26 <inputs>
29 <conditional name="matrix"> 27 <param name="dist" type="data" format="lower.dist,square.dist" label="phylip - Distance Matrix"/>
30 <param name="format" type="select" label="Select a Distance Matrix Format" help=""> 28 <param name="group" type="data" format="groups" label="group - Groups"/>
31 <option value="column">Pairwise Column Matrix</option> 29 <param name="groups" type="select" label="groups - Groups to condider" multiple="true">
32 <option value="phylip">Phylip Distance Matrix</option> 30 <options from_dataset="group">
33 </param> 31 <column name="name" index="1"/>
34 <when value="column"> 32 <column name="value" index="1"/>
35 <param name="dist" type="data" format="pair.dist" label="read.dist(column=) - Distance Matrix"/> 33 <filter type="unique_value" name="unq_grp" column="1" />
36 <param name="name" type="data" format="names" label="read.dist(name) - Sequences Name reference"/> 34 </options>
37 </when> 35 </param>
38 <when value="phylip">
39 <param name="dist" type="data" format="lower.dist,square.dist" label="read.dist(phylip=) - Distance Matrix"/>
40 </when>
41 </conditional>
42 <param name="group" type="data" format="groups" label="read.dist(group=) - Groups"/>
43 <!-- ? conditional - to hide complexity -->
44 <param name="iters" type="integer" value="10000" label="iters - Number of iterations to try (default 10000)"/> 36 <param name="iters" type="integer" value="10000" label="iters - Number of iterations to try (default 10000)"/>
37 <param name="sim" type="boolean" checked="false" truevalue="--sim=true" falsevalue="" label="sim - Matrix values are Similary instead of Distance" help=""/>
45 <conditional name="form"> 38 <conditional name="form">
46 <param name="form" type="select" label="form - Select a Clustering Method" help=""> 39 <param name="form" type="select" label="form - Select a Clustering Method" help="">
47 <option value="integral" selected="true">Integral</option> 40 <option value="integral" selected="true">Integral</option>
48 <option value="discrete">Discrete</option> 41 <option value="discrete">Discrete</option>
49 </param> 42 </param>