comparison nmds.xml @ 2:f14fdaf6a00d 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:12:24 -0400
parents a522f1b60172
children 98f1cc2bc428
comparison
equal deleted inserted replaced
1:5b3e10ccf581 2:f14fdaf6a00d
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 "$dist" dist.dat && 13 ln -s '$dist' dist.dat &&
14 ln -s "$axes" axes.dat && 14 ln -s '$axes' axes.dat &&
15 15
16 echo 'nmds( 16 echo 'nmds(
17 phylip=dist.dat 17 phylip=dist.dat
18 #if $axes: 18 #if $axes:
19 ,axes=axes.dat 19 ,axes=axes.dat
20 #end if 20 #end if
21 ,mindim=$mindim 21 ,mindim=$mindim
22 #if $maxdim >= $mindim: 22 #if $maxdim >= $mindim:
23 ,maxdim=$maxdim 23 ,maxdim=$maxdim
24 #end if 24 #end if
25 ,iters=$iters 25 ,iters=$iters
26 ,maxiters=$maxiters 26 ,maxiters=$maxiters
27 27
28 ## Mothur can't cope with scientific notation 28 ## Mothur can't cope with scientific notation
29 #set epsilon_decimal = "{:.12f}".format(float($epsilon)) 29 #set epsilon_decimal = "{:.12f}".format(float($epsilon))
30 ,epsilon=$epsilon_decimal 30 ,epsilon=$epsilon_decimal
31 )' 31 )'
32 | sed 's/ //g' ## mothur trips over whitespace 32 | sed 's/ //g' ## mothur trips over whitespace
33 | mothur 33 | mothur
34 | tee mothur.out.log 34 | tee mothur.out.log
35 ]]></command> 35 ]]></command>
36 <inputs> 36 <inputs>
37 <param name="dist" type="data" format="mothur.dist,mothur.lower.dist,mothur.square.dist" label="phylip - Distance Matrix"/> 37 <param name="dist" type="data" format="mothur.dist,mothur.lower.dist,mothur.square.dist" label="phylip - Distance Matrix"/>
38 <param name="axes" type="data" format="mothur.axes" optional="true" label="axes - a starting configuration"/> 38 <param name="axes" type="data" format="mothur.axes" optional="true" label="axes - a starting configuration"/>
39 <param name="mindim" type="integer" value="2" min="1" label="mindim - minimum dimensions (default 2)"/> 39 <param name="mindim" type="integer" value="2" min="1" label="mindim - minimum dimensions (default 2)"/>
40 <param name="maxdim" type="integer" value="2" label="maxdim - maximum dimensions (default 2)"/> 40 <param name="maxdim" type="integer" value="2" label="maxdim - maximum dimensions (default 2)"/>
41 <param name="iters" type="integer" value="10" min="1" label="iters - Number of random configuration to try (default 10)"/> 41 <param name="iters" type="integer" value="10" min="1" label="iters - Number of random configuration to try (default 10)"/>
42 <param name="maxiters" type="integer" value="500" min="1" label="maxiters - Number of iterations to try with each random configuration (default 500)"/> 42 <param name="maxiters" type="integer" value="500" min="1" label="maxiters - Number of iterations to try with each random configuration (default 500)"/>
43 <param name="epsilon" type="float" optional="true" min="0" value="1e-12" label="epsilon - acceptable stopping precision (default 1e-12)"/> 43 <param name="epsilon" type="float" optional="true" min="0" value="1e-12" label="epsilon - acceptable stopping precision (default 1e-12)"/>
44 <expand macro="param-savelog"/>
44 </inputs> 45 </inputs>
45 <outputs> 46 <outputs>
46 <expand macro="logfile-output"/> 47 <expand macro="logfile-output"/>
47 <data name="nmds_axes" format="mothur.axes" from_work_dir="dist*.axes" label="${tool.name} on ${on_string}: nmds.axes"/> 48 <data name="nmds_axes" format="mothur.axes" from_work_dir="dist*.axes" label="${tool.name} on ${on_string}: nmds.axes"/>
48 <data name="nmds_iters" format="tabular" from_work_dir="dist*.iters" label="${tool.name} on ${on_string}: nmds.iters"/> 49 <data name="nmds_iters" format="tabular" from_work_dir="dist*.iters" label="${tool.name} on ${on_string}: nmds.iters"/>
58 <param name="maxiters" value="500"/> 59 <param name="maxiters" value="500"/>
59 <param name="epsilon" value="1e-12"/> 60 <param name="epsilon" value="1e-12"/>
60 <output name="nmds_axes" md5="9a8a5605d9a619ae1c4973a45e963032"/> 61 <output name="nmds_axes" md5="9a8a5605d9a619ae1c4973a45e963032"/>
61 <output name="nmds_iters" md5="979702f1c719dac6a7276adf8363a688"/> 62 <output name="nmds_iters" md5="979702f1c719dac6a7276adf8363a688"/>
62 <output name="nmds_stress" md5="0b46f64bea0294f2c966d7dc890e9aea"/> 63 <output name="nmds_stress" md5="0b46f64bea0294f2c966d7dc890e9aea"/>
64 <param name="savelog" value="true"/>
63 <expand macro="logfile-test"/> 65 <expand macro="logfile-test"/>
64 </test> 66 </test>
65 </tests> 67 </tests>
66 <help> 68 <help><![CDATA[
67 <![CDATA[
68 69
69 @MOTHUR_OVERVIEW@ 70 @MOTHUR_OVERVIEW@
70 71
71 .. _Mothur: https://www.mothur.org/wiki/Main_Page 72 .. _Mothur: https://www.mothur.org/wiki/Main_Page
72 73
76 77
77 .. _phylip_distance_matrix: https://www.mothur.org/wiki/Phylip-formatted_distance_matrix 78 .. _phylip_distance_matrix: https://www.mothur.org/wiki/Phylip-formatted_distance_matrix
78 .. _nmds: https://www.mothur.org/wiki/Nmds 79 .. _nmds: https://www.mothur.org/wiki/Nmds
79 80
80 v1.20.0: Updated to mothur 1.33 81 v1.20.0: Updated to mothur 1.33
81 ]]> 82
82 </help> 83 ]]></help>
83 <expand macro="citations"/> 84 <expand macro="citations"/>
84 </tool> 85 </tool>