annotate vegan_diversity.xml @ 1:2c771b437502 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 55b5863db6c3e6cf443917117ec362a8daad8122
author iuc
date Mon, 08 Feb 2016 15:24:29 -0500
parents c58e19ff504a
children db56c8e79b1e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
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
1 <tool id="vegan_diversity" name="Vegan Diversity" version="0.0.3">
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>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
6 <import>vegan_macros.xml</import>
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>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
8 <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
9 <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
10 <expand macro="version_command" />
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
11 <command><![CDATA[
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
12 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
13 ]]>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
14 </command>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
15 <configfiles>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
16 <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
17 @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
18 @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
19
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
20 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
21 ]]>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
22 </configfile>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
23 </configfiles>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
24 <inputs>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
25 <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
26 <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
27 <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
28 <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
29 <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
30 <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
31 </param>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
32 <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
33 <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
34 <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
35 <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
36 <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
37 </param>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
38 </when>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
39 <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
40 <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
41 <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
42 <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
43 <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
44 </param>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
45 </when>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
46 <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
47 <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
48 <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
49 <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
50 <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
51 </param>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
52 </when>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
53 </conditional>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
54 </inputs>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
55 <outputs>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
56 <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
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 <tests>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
59 <test>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
60 <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
61 <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
62 <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
63 <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
64 <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
65 <param name="base" value="exp(1)"/>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
66 <output name="output_slope" ftype="tabular" file="output_diversity_index.tabular" />
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
67 </test>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
68 </tests>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
69 <help>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
70 <![CDATA[
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
71 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
72 ]]>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
73 </help>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
74 <citations>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
75 </citations>
c58e19ff504a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vegan/vegan_diversity commit 0e04a4c237677c1f5be1950babcf8591097996a9
iuc
parents:
diff changeset
76 </tool>