Mercurial > repos > iuc > vegan_fisher_alpha
annotate macros.xml @ 3:0148e5cf20b2 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit f93edebf6c946402f105f0622aacb0baa216a70c
author | iuc |
---|---|
date | Fri, 15 Mar 2024 15:26:28 +0000 |
parents | f9966e11885b |
children |
rev | line source |
---|---|
2
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
1 <macros> |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
2 <xml name="requirements"> |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
3 <requirements> |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
4 <requirement type="package" version="@TOOL_VERSION@">r-vegan</requirement> |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
5 <yield /> |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
6 </requirements> |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
7 </xml> |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
8 |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
9 <xml name="version_command"> |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
10 <version_command><![CDATA[Rscript -e 'library(vegan)' 2>&1 > /dev/null | grep 'This is vegan']]></version_command> |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
11 </xml> |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
12 |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
13 <xml name="stdio"> |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
14 <stdio> |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
15 <exit_code range="1:" /> |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
16 <exit_code range=":-1" /> |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
17 </stdio> |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
18 </xml> |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
19 |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
20 <xml name="params_load_tabular_file"> |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
21 <param name="input_abundance" type="data" format="tabular" label="File with abundance values for community" help="Rows are samples; columns are species/phyla/community classifier"/> |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
22 <param name="species_column" label="Group name column" type="data_column" data_ref="input_abundance" value="6" help="Species, phylum, etc"/> |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
23 <param name="sample_columns" label="Sample count columns" type="data_column" multiple="True" value="2" data_ref="input_abundance" help="Select each column that contains counts"/> |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
24 <param name="header" type="boolean" truevalue="TRUE" falsevalue="FALSE" checked="False" label="Input has a header line"/> |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
25 </xml> |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
26 |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
27 <token name="@RSCRIPT_LOAD_TABULAR_FILE@"><![CDATA[ |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
28 #set $int_species_column = int( str( $species_column ) ) |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
29 #set $fixed_sample_columns = [] |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
30 #for $sample_col in map( int, str( $sample_columns ).split( "," ) ): |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
31 #assert $sample_col != $int_species_column, "Sample label column and sample count columns must not be the same." |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
32 #silent $fixed_sample_columns.append( str( $sample_col if $sample_col < $int_species_column else $sample_col-1 ) ) |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
33 #end for |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
34 input_abundance <- read.delim("${input_abundance}", header=${header}, sep="\t", row.names=${ species_column }) |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
35 input_abundance <- t( input_abundance[ c( ${ ",".join( $fixed_sample_columns ) } )] ) |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
36 |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
37 ]]> |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
38 </token> |
3
0148e5cf20b2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit f93edebf6c946402f105f0622aacb0baa216a70c
iuc
parents:
2
diff
changeset
|
39 |
0148e5cf20b2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit f93edebf6c946402f105f0622aacb0baa216a70c
iuc
parents:
2
diff
changeset
|
40 <xml name="bio.tools_xrefs"> |
0148e5cf20b2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit f93edebf6c946402f105f0622aacb0baa216a70c
iuc
parents:
2
diff
changeset
|
41 <xrefs> |
0148e5cf20b2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit f93edebf6c946402f105f0622aacb0baa216a70c
iuc
parents:
2
diff
changeset
|
42 <xref type="bio.tools">vegan</xref> |
0148e5cf20b2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit f93edebf6c946402f105f0622aacb0baa216a70c
iuc
parents:
2
diff
changeset
|
43 </xrefs> |
0148e5cf20b2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit f93edebf6c946402f105f0622aacb0baa216a70c
iuc
parents:
2
diff
changeset
|
44 </xml> |
0148e5cf20b2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit f93edebf6c946402f105f0622aacb0baa216a70c
iuc
parents:
2
diff
changeset
|
45 |
0148e5cf20b2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit f93edebf6c946402f105f0622aacb0baa216a70c
iuc
parents:
2
diff
changeset
|
46 <xml name="citations"> |
0148e5cf20b2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit f93edebf6c946402f105f0622aacb0baa216a70c
iuc
parents:
2
diff
changeset
|
47 <citations> |
0148e5cf20b2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit f93edebf6c946402f105f0622aacb0baa216a70c
iuc
parents:
2
diff
changeset
|
48 <citation type="bibtex"> |
0148e5cf20b2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit f93edebf6c946402f105f0622aacb0baa216a70c
iuc
parents:
2
diff
changeset
|
49 @Manual{, |
0148e5cf20b2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit f93edebf6c946402f105f0622aacb0baa216a70c
iuc
parents:
2
diff
changeset
|
50 title = {vegan: Community Ecology Package}, |
0148e5cf20b2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit f93edebf6c946402f105f0622aacb0baa216a70c
iuc
parents:
2
diff
changeset
|
51 author = {Jari Oksanen and Gavin L. Simpson and F. Guillaume Blanchet and Roeland Kindt and Pierre Legendre and Peter R. Minchin and R.B. O'Hara and Peter Solymos and M. Henry H. Stevens and Eduard Szoecs and Helene Wagner and Matt Barbour and Michael Bedward and Ben Bolker and Daniel Borcard and Gustavo Carvalho and Michael Chirico and Miquel {De Caceres} and Sebastien Durand and Heloisa Beatriz Antoniazi Evangelista and Rich FitzJohn and Michael Friendly and Brendan Furneaux and Geoffrey Hannigan and Mark O. Hill and Leo Lahti and Dan McGlinn and Marie-Helene Ouellette and Eduardo {Ribeiro Cunha} and Tyler Smith and Adrian Stier and Cajo J.F. {Ter Braak} and James Weedon}, |
0148e5cf20b2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit f93edebf6c946402f105f0622aacb0baa216a70c
iuc
parents:
2
diff
changeset
|
52 year = {2024}, |
0148e5cf20b2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit f93edebf6c946402f105f0622aacb0baa216a70c
iuc
parents:
2
diff
changeset
|
53 note = {R package version 2.6-5}, |
0148e5cf20b2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit f93edebf6c946402f105f0622aacb0baa216a70c
iuc
parents:
2
diff
changeset
|
54 url = {https://github.com/vegandevs/vegan}, |
0148e5cf20b2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit f93edebf6c946402f105f0622aacb0baa216a70c
iuc
parents:
2
diff
changeset
|
55 } |
0148e5cf20b2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit f93edebf6c946402f105f0622aacb0baa216a70c
iuc
parents:
2
diff
changeset
|
56 </citation> |
0148e5cf20b2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit f93edebf6c946402f105f0622aacb0baa216a70c
iuc
parents:
2
diff
changeset
|
57 </citations> |
0148e5cf20b2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit f93edebf6c946402f105f0622aacb0baa216a70c
iuc
parents:
2
diff
changeset
|
58 </xml> |
2
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
59 |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
60 <token name="@RSCRIPT_PREAMBLE@"><![CDATA[ |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
61 options(bitmapType='cairo')## No X11, so we'll use cairo |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
62 library(vegan) |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
63 ]]> |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
64 </token> |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
65 |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
66 <token name="@TOOL_VERSION@">2.4-3</token> |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
67 |
f9966e11885b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
diff
changeset
|
68 </macros> |