Mercurial > repos > jjohnson > mothur_toolsuite
comparison mothur/tools/mothur/unifrac.weighted.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 | a6189f58fedb |
comparison
equal
deleted
inserted
replaced
1:fcc0778f6987 | 2:e990ac8a0f58 |
---|---|
1 <tool id="mothur_unifrac_weighted" name="unifrac.weighted" version="1.16.0"> | 1 <tool id="mothur_unifrac_weighted" name="unifrac.weighted" version="1.19.0"> |
2 <description>Describes whether two or more communities have the same structure</description> | 2 <description>Describes whether two or more communities have the same structure</description> |
3 <command interpreter="python"> | 3 <command interpreter="python"> |
4 mothur_wrapper.py | 4 mothur_wrapper.py |
5 --cmd='unifrac.weighted' | 5 --cmd='unifrac.weighted' |
6 --result='^mothur.\S+\.logfile$:'$logfile,'^\S+\.wsummary$:'$summary,'^\S+\.weighted\.(column\.|philip\.)?dist$:'$dist | 6 --result='^mothur.\S+\.logfile$:'$logfile,'^\S+\.wsummary$:'$summary,'^\S+\.weighted\.(column\.|phylip\.)?dist$:'$dist,'^\S+\.weighted$:'$weighted |
7 --outputdir='$logfile.extra_files_path' | 7 --outputdir='$logfile.extra_files_path' |
8 --READ_cmd='read.tree' | 8 --tree=$tree |
9 --READ_tree=$tree | |
10 #if $group.__str__ != "None" and len($group.__str__) > 0: | 9 #if $group.__str__ != "None" and len($group.__str__) > 0: |
11 --READ_group='$group' | 10 --group='$group' |
12 #end if | 11 #end if |
13 #if $groups.__str__ != "None" and len($groups.__str__) > 0: | 12 #if $groups.__str__ != "None" and len($groups.__str__) > 0: |
14 --groups='$groups' | 13 --groups='$groups' |
15 #end if | 14 #end if |
16 #if $name.__str__ != "None" and len($name.__str__) > 0: | 15 #if $name.__str__ != "None" and len($name.__str__) > 0: |
17 --READ_name='$name' | 16 --name='$name' |
18 #end if | 17 #end if |
19 #if int($iters.__str__) > 0: | 18 #if int($iters.__str__) > 0: |
20 --iters=$iters | 19 --iters=$iters |
21 #end if | 20 #end if |
22 $random | 21 $random |
23 #if $distance.__str__ != "false": | 22 #if $distance.__str__ != "false": |
24 --distance=$distance | 23 --distance=$distance |
25 #end if | 24 #end if |
25 $root | |
26 --processors=2 | 26 --processors=2 |
27 </command> | 27 </command> |
28 <inputs> | 28 <inputs> |
29 <!-- list,group or shared --> | 29 <param name="tree" type="data" format="tre" label="tree - Tree"/> |
30 <param name="tree" type="data" format="tre" label="read.tree(tree=) - Tree"/> | 30 <param name="group" type="data" format="groups" label="group - Group file for the tree"/> |
31 <param name="group" type="data" format="groups" label="read.tree(group=) - Group file for the tree"/> | 31 <param name="groups" type="select" label="groups - Select groups for pairwise comparisons" multiple="true"> |
32 <param name="groups" type="select" label="groups - Groups to display" multiple="true"> | 32 <help></help> |
33 <options from_dataset="group"> | 33 <options from_dataset="group"> |
34 <column name="name" index="1"/> | 34 <column name="name" index="1"/> |
35 <column name="value" index="1"/> | 35 <column name="value" index="1"/> |
36 <filter type="unique_value" name="unq_grp" column="1" /> | 36 <filter type="unique_value" name="unq_grp" column="1" /> |
37 </options> | 37 </options> |
38 </param> | 38 </param> |
39 <param name="name" type="data" format="names" optional="true" label="name - Names file for the tree"/> | 39 <param name="name" type="data" format="names" optional="true" label="name - Names file for the tree"/> |
40 <param name="iters" type="integer" value="1000" label="iters - Number of iterations to try (default 1000)"/> | 40 <param name="iters" type="integer" value="1000" label="iters - Number of iterations to try (default 1000)"/> |
41 <param name="random" type="boolean" truevalue="--random=true" falsevalue="" checked="false" label="random - Compare your trees with randomly generated trees" /> | 41 <param name="random" type="boolean" truevalue="--random=true" falsevalue="" checked="false" label="random - Compare your trees with randomly generated trees" /> |
42 <param name="distance" type="boolean" truevalue="--distance=true" falsevalue="" checked="false" label="distance - Add the distance matrix to your history" /> | 42 <param name="distance" type="boolean" truevalue="--distance=true" falsevalue="" checked="false" label="distance - Add the distance matrix to your history" /> |
43 <param name="distance" type="select" label="distance - Select a distance matrix for your history"> | 43 <param name="distance" type="select" label="distance - Create a distance matrix for your history"> |
44 <option value="false">None</option> | 44 <option value="false">None</option> |
45 <option value="lt">Philip Lower Triangle Matrix</option> | 45 <option value="lt">Phylip Lower Triangle Matrix</option> |
46 <option value="square">Philip Square Matrix</option> | 46 <option value="square">Phylip Square Matrix</option> |
47 <option value="column">Pairwise Distance Matrix</option> | 47 <option value="column">Pairwise Distance Matrix</option> |
48 </param> | 48 </param> |
49 <!-- random uses input prompts, not sure how to model that | 49 <param name="root" type="boolean" truevalue="--root=true" falsevalue="" checked="false" label="root - the entire root in your calculations" /> |
50 <param name="random" type="text" value="" label="random - The root name for random tests"/> | |
51 --> | |
52 </inputs> | 50 </inputs> |
53 <outputs> | 51 <outputs> |
54 <data format="html" name="logfile" label="${tool.name} on ${on_string}: logfile" /> | 52 <data format="html" name="logfile" label="${tool.name} on ${on_string}: logfile" /> |
55 <data format="tabular" name="summary" label="${tool.name} on ${on_string}: summary"> | 53 <data format="tabular" name="summary" label="${tool.name} on ${on_string}: summary"> |
54 </data> | |
55 <data format="tabular" name="weighted" label="${tool.name} on ${on_string}: weighted"> | |
56 <filter>(random == True)</filter> | |
56 </data> | 57 </data> |
57 <data format="lower.dist" name="dist" label="${tool.name} on ${on_string}: dist"> | 58 <data format="lower.dist" name="dist" label="${tool.name} on ${on_string}: dist"> |
58 <filter>distance != 'false'</filter> | 59 <filter>distance != 'false'</filter> |
59 <change_format> | 60 <change_format> |
60 <when input="distance" value="square" format="square.dist" /> | 61 <when input="distance" value="square" format="square.dist" /> |