annotate vegan_diversity.xml @ 4:a1b80a746054 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:38 +0000
parents a2c047a2c380
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
a2c047a2c380 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents: 2
diff changeset
1 <tool id="vegan_diversity" name="Vegan Diversity" version="@TOOL_VERSION@">
0
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
2 <description>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
3 index
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
4 </description>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
5 <macros>
3
a2c047a2c380 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents: 2
diff changeset
6 <import>macros.xml</import>
0
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
7 </macros>
4
a1b80a746054 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit f93edebf6c946402f105f0622aacb0baa216a70c
iuc
parents: 3
diff changeset
8 <expand macro="bio.tools_xrefs" />
0
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
9 <expand macro="requirements" />
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
10 <expand macro="stdio" />
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
11 <expand macro="version_command" />
2
db56c8e79b1e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit bfa8bda732de882f6fa5f5375f8468ad229cceea
iuc
parents: 1
diff changeset
12 <command>
db56c8e79b1e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit bfa8bda732de882f6fa5f5375f8468ad229cceea
iuc
parents: 1
diff changeset
13 <![CDATA[
0
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
14 Rscript "${vegan_diversity_script}"
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
15 ]]>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
16 </command>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
17 <configfiles>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
18 <configfile name="vegan_diversity_script"><![CDATA[
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
19 @RSCRIPT_PREAMBLE@
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
20 @RSCRIPT_LOAD_TABULAR_FILE@
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
21
1
2c771b437502 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 55b5863db6c3e6cf443917117ec362a8daad8122
iuc
parents: 0
diff changeset
22 write.table( diversity(input_abundance, index = "${index_type.index_type_selector}", MARGIN = ${index_type.margin}, base = ${index_type.base}), "${output_diversity_index}", quote=FALSE, col.names=NA, sep = "\t")
0
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
23 ]]>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
24 </configfile>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
25 </configfiles>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
26 <inputs>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
27 <expand macro="params_load_tabular_file" />
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
28 <conditional name="index_type">
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
29 <param name="index_type_selector" type="select" label="Diversity index to use">
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
30 <option value="shannon" selected="True">Shannon or Shannon–Weaver (or Shannon–Wiener)</option>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
31 <option value="simpson">Simpson</option>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
32 <option value="invsimpson">Inverse Simpson</option>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
33 </param>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
34 <when value="shannon">
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
35 <param name="margin" type="integer" value="1" label="Margin for which the index is computed"/>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
36 <param name="base" type="select" label="The logarithm base">
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
37 <option value="exp(1)" selected="True">Natural Logarithm: exp(1)</option>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
38 <option value="2" selected="False">2</option>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
39 </param>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
40 </when>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
41 <when value="simpson">
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
42 <param name="margin" type="integer" value="1" label="Margin for which the index is computed"/>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
43 <param name="base" type="select" label="The logarithm base">
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
44 <option value="exp(1)" selected="True">Natural Logarithm: exp(1)</option>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
45 <option value="2" selected="False">2</option>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
46 </param>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
47 </when>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
48 <when value="invsimpson">
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
49 <param name="margin" type="integer" value="1" label="Margin for which the index is computed"/>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
50 <param name="base" type="select" label="The logarithm base">
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
51 <option value="exp(1)" selected="True">Natural Logarithm: exp(1)</option>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
52 <option value="2" selected="False">2</option>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
53 </param>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
54 </when>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
55 </conditional>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
56 </inputs>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
57 <outputs>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
58 <data format="tabular" name="output_diversity_index" />
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
59 </outputs>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
60 <tests>
4
a1b80a746054 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit f93edebf6c946402f105f0622aacb0baa216a70c
iuc
parents: 3
diff changeset
61 <test expect_num_outputs="1">
0
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
62 <param name="input_abundance" ftype="tabular" value="vegan_in.tabular"/>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
63 <param name="species_column" value="6"/>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
64 <param name="sample_columns" value="2"/>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
65 <param name="index_type_selector" value="shannon"/>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
66 <param name="margin" value="1"/>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
67 <param name="base" value="exp(1)"/>
3
a2c047a2c380 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents: 2
diff changeset
68 <output name="output_diversity_index" ftype="tabular" file="output_diversity_index.tabular" />
0
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
69 </test>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
70 </tests>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
71 <help>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
72 <![CDATA[
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
73 Calculate Diversity index using vegan and selected method.
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
74 ]]>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
75 </help>
4
a1b80a746054 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/ commit f93edebf6c946402f105f0622aacb0baa216a70c
iuc
parents: 3
diff changeset
76 <expand macro="citations" />
2
db56c8e79b1e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit bfa8bda732de882f6fa5f5375f8468ad229cceea
iuc
parents: 1
diff changeset
77 </tool>