Mercurial > repos > devteam > scatterplot
annotate 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 |
rev | line source |
---|---|
2
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
1 <tool id="scatterplot_rpy" name="Scatterplot" version="1.0.2"> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
2 <description>of two numeric columns</description> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
3 <requirements> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
4 <requirement type="package" version="1.9">numpy</requirement> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
5 <!-- explicit R requirement is necessary for toolshed package, conda rpy2 comes with R --> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
6 <requirement type="package" version="3.2.1">R</requirement> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
7 <requirement type="package" version="2.7.8">rpy2</requirement> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
8 </requirements> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
9 <command interpreter="python">scatterplot.py $input $out_file1 $col1 $col2 "$title" "$xlab" "$ylab"</command> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
10 <inputs> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
11 <param name="input" type="data" format="tabular" label="Dataset" help="Dataset missing? See TIP below"/> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
12 <param name="col1" type="data_column" data_ref="input" numerical="True" label="Numerical column for x axis" /> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
13 <param name="col2" type="data_column" data_ref="input" numerical="True" label="Numerical column for y axis" /> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
14 <param name="title" type="text" value="Scatterplot" label="Plot title"/> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
15 <param name="xlab" type="text" value="V1" label="Label for x axis"/> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
16 <param name="ylab" type="text" value="V2" label="Label for y axis"/> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
17 </inputs> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
18 <outputs> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
19 <data format="pdf" name="out_file1" /> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
20 </outputs> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
21 <tests> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
22 <test> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
23 <param name="input" value="scatterplot_in1.tabular" ftype="tabular"/> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
24 <param name="col1" value="2"/> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
25 <param name="col2" value="3"/> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
26 <param name="title" value="Scatterplot"/> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
27 <param name="xlab" value="V1"/> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
28 <param name="ylab" value="V2"/> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
29 <output name="out_file1" file="scatterplot_out1.pdf" compare="sim_size" /> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
30 </test> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
31 </tests> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
32 <help> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
33 .. class:: infomark |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
34 |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
35 **TIP:** If your data is not TAB delimited, use *Text Manipulation->Convert* |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
36 |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
37 ----- |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
38 |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
39 **Syntax** |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
40 |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
41 This tool creates a simple scatter plot between two variables containing numeric values of a selected dataset. |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
42 |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
43 - All invalid, blank and comment lines in the dataset are skipped. The number of skipped lines is displayed in the resulting history item. |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
44 |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
45 - **Plot title** The scatterplot title |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
46 - **Label for x axis** and **Label for y axis** The labels for x and y axis of the scatterplot. |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
47 |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
48 ----- |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
49 |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
50 **Example** |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
51 |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
52 - Input file:: |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
53 |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
54 1 68 4.1 |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
55 2 71 4.6 |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
56 3 62 3.8 |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
57 4 75 4.4 |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
58 5 58 3.2 |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
59 6 60 3.1 |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
60 7 67 3.8 |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
61 8 68 4.1 |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
62 9 71 4.3 |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
63 10 69 3.7 |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
64 |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
65 - Create a simple scatterplot between the variables in column 2 and column 3 of the above dataset. |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
66 |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
67 .. image:: scatterplot.png |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
68 </help> |
4f8b9e70fda0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/scatterplot commit 93df3895fbf2fa44ff279303093fb89b79081687
devteam
parents:
1
diff
changeset
|
69 </tool> |