comparison scatterplot.xml @ 2:4f8b9e70fda0 draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
author devteam
date Thu, 15 Sep 2016 11:14:37 -0400
parents d243056b22ed
children efda9a4a50e7
comparison
equal deleted inserted replaced
1:d243056b22ed 2:4f8b9e70fda0
1 <tool id="scatterplot_rpy" name="Scatterplot" version="1.0.0"> 1 <tool id="scatterplot_rpy" name="Scatterplot" version="1.0.2">
2 <description>of two numeric columns</description> 2 <description>of two numeric columns</description>
3 <requirements> 3 <requirements>
4 <requirement type="package" version="1.0.3">rpy</requirement> 4 <requirement type="package" version="1.9">numpy</requirement>
5 <!-- explicit R requirement is necessary for toolshed package, conda rpy2 comes with R -->
6 <requirement type="package" version="3.2.1">R</requirement>
7 <requirement type="package" version="2.7.8">rpy2</requirement>
5 </requirements> 8 </requirements>
6 <command interpreter="python">scatterplot.py $input $out_file1 $col1 $col2 "$title" "$xlab" "$ylab"</command> 9 <command interpreter="python">scatterplot.py $input $out_file1 $col1 $col2 "$title" "$xlab" "$ylab"</command>
7 <inputs> 10 <inputs>
8 <param name="input" type="data" format="tabular" label="Dataset" help="Dataset missing? See TIP below"/> 11 <param name="input" type="data" format="tabular" label="Dataset" help="Dataset missing? See TIP below"/>
9 <param name="col1" type="data_column" data_ref="input" numerical="True" label="Numerical column for x axis" /> 12 <param name="col1" type="data_column" data_ref="input" numerical="True" label="Numerical column for x axis" />
13 <param name="ylab" type="text" value="V2" label="Label for y axis"/> 16 <param name="ylab" type="text" value="V2" label="Label for y axis"/>
14 </inputs> 17 </inputs>
15 <outputs> 18 <outputs>
16 <data format="pdf" name="out_file1" /> 19 <data format="pdf" name="out_file1" />
17 </outputs> 20 </outputs>
18 <!-- TODO: uncomment the following test when we have tools.update_state() working for
19 multiple dependents with the same dependency.
20 <tests> 21 <tests>
21 <test> 22 <test>
22 <param name="input" value="scatterplot_in1.tabular" ftype="tabular"/> 23 <param name="input" value="scatterplot_in1.tabular" ftype="tabular"/>
23 <param name="col1" value="2"/> 24 <param name="col1" value="2"/>
24 <param name="col2" value="3"/> 25 <param name="col2" value="3"/>
25 <param name="title" value="Scatterplot"/> 26 <param name="title" value="Scatterplot"/>
26 <param name="xlab" value="V1"/> 27 <param name="xlab" value="V1"/>
27 <param name="ylab" value="V2"/> 28 <param name="ylab" value="V2"/>
28 <output name="out_file1" file="scatterplot_out1.pdf" /> 29 <output name="out_file1" file="scatterplot_out1.pdf" compare="sim_size" />
29 </test> 30 </test>
30 </tests> 31 </tests>
31 -->
32 <help> 32 <help>
33
34 .. class:: infomark 33 .. class:: infomark
35 34
36 **TIP:** If your data is not TAB delimited, use *Text Manipulation-&gt;Convert* 35 **TIP:** If your data is not TAB delimited, use *Text Manipulation-&gt;Convert*
37 36
38 ----- 37 -----
64 10 69 3.7 63 10 69 3.7
65 64
66 - Create a simple scatterplot between the variables in column 2 and column 3 of the above dataset. 65 - Create a simple scatterplot between the variables in column 2 and column 3 of the above dataset.
67 66
68 .. image:: scatterplot.png 67 .. image:: scatterplot.png
69
70 </help> 68 </help>
71 </tool> 69 </tool>