comparison pca.xml @ 2:1fdf1610e7dc draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 3418f23b9768f5aafb86488f5ec1cb97530d4fb3
author iuc
date Tue, 20 Mar 2018 22:02:11 -0400
parents 56400efc6755
children 7474b222205d
comparison
equal deleted inserted replaced
1:278da14bd79a 2:1fdf1610e7dc
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 "$otu" otu.dat && 13 ln -s '$otu' otu.dat &&
14 14
15 echo 'pca( 15 echo 'pca(
16 #if $otu.is_of_type("mothur.relabund"): 16 #if $otu.is_of_type("mothur.relabund"):
17 relabund=otu.dat, 17 relabund=otu.dat,
18 #elif $otu.is_of_type("mothur.shared"): 18 #elif $otu.is_of_type("mothur.shared"):
19 shared=otu.dat, 19 shared=otu.dat,
20 #end if 20 #end if
21 #if $label: 21 #if $label:
22 label=${ str($label).replace(",","-") }, 22 label=${ str($label).replace(",","-") },
23 #end if 23 #end if
24 #if $groups: 24 #if $groups:
25 groups=${ str($groups).replace(",","-") }, 25 groups=${ str($groups).replace(",","-") },
26 #end if 26 #end if
27 metric=$metric 27 metric=$metric
28 )' 28 )'
29 | sed 's/ //g' ## mothur trips over whitespace 29 | sed 's/ //g' ## mothur trips over whitespace
30 | mothur 30 | mothur
31 | tee mothur.out.log 31 | tee mothur.out.log
32 ]]></command> 32 ]]></command>
33 <inputs> 33 <inputs>
34 <param name="otu" type="data" format="mothur.shared,mothur.relabund" label="shared,relabund - OTU Shared or Relabund file"/> 34 <param name="otu" type="data" format="mothur.shared,mothur.relabund" label="shared,relabund - OTU Shared or Relabund file"/>
35 <param name="label" type="select" label="label - OTU Labels" multiple="true"> 35 <param name="label" type="select" label="label - OTU Labels" multiple="true">
36 <expand macro="labeloptions"/> 36 <expand macro="labeloptions"/>
39 <options> 39 <options>
40 <filter type="data_meta" ref="otu" key="groups"/> 40 <filter type="data_meta" ref="otu" key="groups"/>
41 </options> 41 </options>
42 </param> 42 </param>
43 <param name="metric" type="boolean" truevalue="true" falsevalue="false" checked="true" label="metric - Calculate pearson correlation coefficient"/> 43 <param name="metric" type="boolean" truevalue="true" falsevalue="false" checked="true" label="metric - Calculate pearson correlation coefficient"/>
44 <expand macro="param-savelog"/>
44 </inputs> 45 </inputs>
45 <outputs> 46 <outputs>
46 <expand macro="logfile-output"/> 47 <expand macro="logfile-output"/>
47 <collection name="pca_axes" type="list" label="${tool.name} on ${on_string}: pca.axes"> 48 <collection name="pca_axes" type="list" label="${tool.name} on ${on_string}: pca.axes">
48 <discover_datasets pattern=".*?\.(?P&lt;designation&gt;.*)\.pca\.axes" format="mothur.axes"/> 49 <discover_datasets pattern=".*?\.(?P&lt;designation&gt;.*)\.pca\.axes" format="mothur.axes"/>
60 <element name="0.22" md5="4e32155fcfefe7d2f45b896d26b36409" ftype="mothur.axes"/> 61 <element name="0.22" md5="4e32155fcfefe7d2f45b896d26b36409" ftype="mothur.axes"/>
61 </output_collection> 62 </output_collection>
62 <output_collection name="pca_loadings" count="2"> 63 <output_collection name="pca_loadings" count="2">
63 <element name="0.55" md5="8c76b60484ffcab2ef7230e29071dd51" ftype="txt"/> 64 <element name="0.55" md5="8c76b60484ffcab2ef7230e29071dd51" ftype="txt"/>
64 </output_collection> 65 </output_collection>
66 <param name="savelog" value="true"/>
65 <expand macro="logfile-test"/> 67 <expand macro="logfile-test"/>
66 </test> 68 </test>
67 </tests> 69 </tests>
68 <help> 70 <help><![CDATA[
69 <![CDATA[
70 71
71 @MOTHUR_OVERVIEW@ 72 @MOTHUR_OVERVIEW@
72 73
73 **Command Documentation** 74 **Command Documentation**
74 75
75 The pca_ command generate principle components plot data for a shared_ or relabund_ file. 76 The pca_ command generate principle components plot data for a shared_ or relabund_ file.
76 77
77 .. _shared: https://www.mothur.org/wiki/Shared_file 78 .. _shared: https://www.mothur.org/wiki/Shared_file
78 .. _relabund: https://www.mothur.org/wiki/Get.relabund 79 .. _relabund: https://www.mothur.org/wiki/Get.relabund
79 .. _pca: https://www.mothur.org/wiki/Pca 80 .. _pca: https://www.mothur.org/wiki/Pca
80 ]]> 81
81 </help> 82 ]]></help>
82 <expand macro="citations"/> 83 <expand macro="citations"/>
83 </tool> 84 </tool>