Mercurial > repos > iuc > charts
diff charts.xml @ 0:a87a3773d8ed draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/charts/ commit 87080d49913cfd40a77eda7e5834ac9c4bc30b0b
author | iuc |
---|---|
date | Fri, 09 Mar 2018 08:23:08 -0500 |
parents | |
children | 344ac3ca7557 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/charts.xml Fri Mar 09 08:23:08 2018 -0500 @@ -0,0 +1,90 @@ +<tool id="charts" name="Charts" version="1.0.1" hidden="true"> + <description>wrapper for R</description> + <requirements> + <requirement type="package" version="1.20.0">r-getopt</requirement> + <requirement type="package" version="1.2-12">r-matrix</requirement> + </requirements> + <command detect_errors="aggressive"> +<![CDATA[ + Rscript '$__tool_directory__/charts.r' + -w '$__tool_directory__/' + -m ${module} + -i '${input}' + -c '${columns}' + -s '${settings}' + -o '${output}' +]]> + </command> + <inputs> + <param name="input" type="data" label="Input dataset" format="tabular" /> + <param name="module" type="select" label="R-script"> + <option value="boxplot">boxplot</option> + <option value="heatmap">heatmap</option> + <option value="histogram">histogram</option> + <option value="histogramdiscrete">histogramdiscrete</option> + </param> + <param name="columns" type="text" area="true" label="Columns string (i.e key1: column, key2: column)" value=""/> + <param name="settings" type="text" area="true" label="Options string (i.e key1: value, key2: value)" value=""/> + </inputs> + <outputs> + <data name="output" format="tabular" /> + </outputs> + <tests> + <test> + <param name="input" value="tabular.txt" /> + <param name="module" value="histogram" /> + <param name="columns" value="key1: 2" /> + <param name="settings" value="" /> + <output name="output" file="histogram.000.txt" lines_diff="2"/> + </test> + <test> + <param name="input" value="tabular.txt" /> + <param name="module" value="histogram" /> + <param name="columns" value="key1: 2, key2: 3, key3: 4" /> + <param name="settings" value="" /> + <output name="output" file="histogram.001.txt" lines_diff="2"/> + </test> + <test> + <param name="input" value="tabular.txt" /> + <param name="module" value="histogram" /> + <param name="columns" value="key1: 6" /> + <param name="settings" value="" /> + <output name="output" file="histogram.002.txt" lines_diff="2"/> + </test> + <test> + <param name="input" value="tabular_single.txt" /> + <param name="module" value="histogram" /> + <param name="columns" value="key1: 1" /> + <param name="settings" value="" /> + <output name="output" file="histogram.003.txt" lines_diff="2"/> + </test> + <test> + <param name="input" value="tabular.txt" /> + <param name="module" value="boxplot" /> + <param name="columns" value="key1: 2" /> + <param name="settings" value="" /> + <output name="output" file="boxplot.000.txt" lines_diff="2"/> + </test> + <test> + <param name="input" value="tabular.txt" /> + <param name="module" value="boxplot" /> + <param name="columns" value="key1: 2, key2: 3, key3: 4" /> + <param name="settings" value="" /> + <output name="output" file="boxplot.001.txt" lines_diff="2"/> + </test> + <test> + <param name="input" value="tabular_matrix.txt" /> + <param name="module" value="histogramdiscrete" /> + <param name="columns" value="key1: 1, key2: 2, key3: 3" /> + <param name="settings" value="" /> + <output name="output" file="histogramdiscrete.000.txt" lines_diff="2"/> + </test> + <test> + <param name="input" value="tabular_matrix.txt" ftype="tabular" /> + <param name="module" value="heatmap" /> + <param name="columns" value="key1: 1, key2: 2, key3: 3" /> + <param name="settings" value="" /> + <output name="output" file="heatmap.000.txt" lines_diff="2"/> + </test> + </tests> +</tool>