Mercurial > repos > jjohnson > mothur_toolsuite
annotate mothur/tools/mothur/corr.axes.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 | 7bfe1f843858 |
rev | line source |
---|---|
2
e990ac8a0f58
Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
1
diff
changeset
|
1 <tool id="mothur_corr_axes" name="Corr.axes" version="1.19.0"> |
1
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
2 <description>correlation of data to axes</description> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
3 <command interpreter="python"> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
4 mothur_wrapper.py |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
5 ## output {group_file_name}.pick.{label}.groups {list_file_name}.pick.{label}.list |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
6 #import re, os.path |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
7 --cmd='corr.axes' |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
8 --outputdir='$logfile.extra_files_path' |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
9 #if $input.source == 'shared': |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
10 #if isinstance($input.otu.datatype, $__app__.datatypes_registry.get_datatype_by_extension('shared').__class__): |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
11 --shared=$input.otu |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
12 #elif isinstance($input.otu.datatype, $__app__.datatypes_registry.get_datatype_by_extension('relabund').__class__): |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
13 --relabund=$input.otu |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
14 #end if |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
15 #if $input.label.__str__ != "None" and len($input.label.__str__) > 0: |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
16 --label=$input.label |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
17 #end if |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
18 #if $input.groups.__str__ != "None" and len($input.groups.__str__) > 0: |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
19 --groups=$input.groups |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
20 #end if |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
21 #else: |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
22 --metadata=$input.metadata |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
23 #end if |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
24 --method=$method |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
25 --axes=$axes |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
26 #if int($numaxes.__str__) > 0: |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
27 --numaxes=$numaxes |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
28 #end if |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
29 --result='^mothur.\S+\.logfile$:'$logfile,'^\S+\.corr.axes$:'$corr_axes |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
30 </command> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
31 <inputs> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
32 <param name="axes" type="data" format="axes" label="axes - a pcoa axes dataset"/> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
33 <conditional name="input"> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
34 <param name="source" type="select" label="Generate Collector Curvers for"> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
35 <option value="shared">OTU Shared or Relabund</option> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
36 <option value="metadata">Metadata table</option> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
37 </param> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
38 <when value="shared"> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
39 <param name="otu" type="data" format="shared,relabund" label="shared or relabund - OTU Shared or Relabund"/> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
40 <param name="label" type="select" label="label - OTU Labels" multiple="true"> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
41 <options from_dataset="otu"> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
42 <column name="name" index="0"/> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
43 <column name="value" index="0"/> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
44 <filter type="unique_value" name="unq_lbl" column="0" /> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
45 </options> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
46 </param> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
47 <param name="groups" type="select" label="groups - Pairwise comparision groups" multiple="true"> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
48 <options from_dataset="otu"> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
49 <column name="name" index="1"/> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
50 <column name="value" index="1"/> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
51 <filter type="unique_value" name="unq_grp" column="1" /> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
52 </options> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
53 </param> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
54 </when> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
55 <when value="metadata"> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
56 <param name="metadata" type="data" format="tabular" label="metadata - Table of floating point values" |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
57 help="metadata has the same number of rows as the samples, but the column(s) are floats that describe the samples (e.g. temperature, weight, etc.)"/> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
58 </when> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
59 </conditional> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
60 <param name="method" type="select" optional="true" label="method - pearson, spearman, or kendall. Default: pearson" > |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
61 <option value="pearson" selected="true">pearson</option> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
62 <option value="spearman">spearman</option> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
63 <option value="kendall">kendall</option> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
64 </param> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
65 <param name="numaxes" type="integer" value="3" label="numaxes - Number of axes to use (default 3)"/> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
66 </inputs> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
67 <outputs> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
68 <data format="html" name="logfile" label="${tool.name} on ${on_string}: logfile" /> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
69 <data format="axes" name="corr_axes" label="${tool.name} on ${on_string}: corr.axes"/> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
70 </outputs> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
71 <requirements> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
72 <requirement type="binary">mothur</requirement> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
73 </requirements> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
74 <tests> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
75 </tests> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
76 <help> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
77 **Mothur Overview** |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
78 |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
79 Mothur_, initiated by Dr. Patrick Schloss and his software development team |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
80 in the Department of Microbiology and Immunology at The University of Michigan, |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
81 provides bioinformatics for the microbial ecology community. |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
82 |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
83 .. _Mothur: http://www.mothur.org/wiki/Main_Page |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
84 |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
85 **Command Documenation** |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
86 |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
87 The corr.axes_ command calculates the correlation of data to axes. |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
88 |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
89 .. _corr.axes: http://www.mothur.org/wiki/Corr.axes |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
90 |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
91 |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
92 </help> |
fcc0778f6987
Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff
changeset
|
93 </tool> |