Mercurial > repos > anmoljh > csv_to_rdata
comparison csv2rdata.xml @ 0:49d7eb9e1092 draft default tip
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272
author | anmoljh |
---|---|
date | Thu, 31 May 2018 11:40:01 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:49d7eb9e1092 |
---|---|
1 <tool id="csv2rdata" name="Prepare input file" version="1.0"> | |
2 <description> | |
3 Converts input csv file into RData format | |
4 </description> | |
5 | |
6 <requirements> | |
7 <requirement type="package" version="3.2.1">R</requirement> | |
8 </requirements> | |
9 | |
10 <stdio> | |
11 <exit_code range="1:" /> | |
12 </stdio> | |
13 | |
14 <command interpreter="Rscript">csv2rdata.R $file1 $RData </command> | |
15 | |
16 <inputs> | |
17 <param name="file1" type="data" format="csv" label="Select file containing training data" help="CSV format" /> | |
18 </inputs> | |
19 | |
20 <outputs> | |
21 <data name="RData" format="rdata" label="Input.rdata" /> | |
22 </outputs> | |
23 | |
24 <tests> | |
25 <test> | |
26 <param name="file1" value="non_redundant.csv" /> | |
27 <output name="RData" file="desc.rdata" compare="sim_size" delta="50000" /> | |
28 </test> | |
29 </tests> | |
30 | |
31 <help> | |
32 .. class:: infomark | |
33 | |
34 **Input "csv file" format must be as given below :** | |
35 | |
36 | |
37 "",feature1,feaure2,feature3,..,activity | |
38 | |
39 | |
40 cpd1,623,0.4,3.4,..,Active | |
41 | |
42 cpd2,234,0.9,5.6,..,Inactive | |
43 | |
44 cpd3,567,0.5,3.14,..,Active | |
45 | |
46 cpd4,231,0.1,1.2,..,Inactive | |
47 | |
48 here "cpd" stands for name or id of a compound. It is rowname with no column header. | |
49 </help> | |
50 | |
51 </tool> |