annotate csv2rdata.xml @ 3:d98e0124cb31 draft default tip

planemo upload commit ed84801645679d29264a5946c6e7669d26c07f39-dirty
author anmoljh
date Wed, 18 Oct 2017 08:41:12 -0400
parents 85944f34e129
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
1 <tool id="csv2rdata" name="Prepare input file" version="1.0">
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
2 <description>
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
3 This Tool Converts Input csv File into RData Which Is Further Used for Model Building
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
4 </description>
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
5
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
6 <requirements>
1
4e55a218baa5 planemo upload commit fc92464160be1df8c74a9b9c4b6ef2cb9554d0d3-dirty
anmoljh
parents: 0
diff changeset
7 <requirement type="package" version="3.2.1">R</requirement>
0
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
8 </requirements>
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
9
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
10 <stdio>
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
11 <exit_code range="1:" />
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
12 </stdio>
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
13
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
14 <command interpreter="Rscript">csv2rdata.R $file1 $RData </command>
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
15
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
16 <inputs>
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
17 <param name="file1" type="data" format="csv" label="Select file containing training data" help="CSV format" />
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
18 </inputs>
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
19
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
20 <outputs>
3
d98e0124cb31 planemo upload commit ed84801645679d29264a5946c6e7669d26c07f39-dirty
anmoljh
parents: 2
diff changeset
21 <data name="RData" format="rdata" label="Input.rdata" />
0
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
22 </outputs>
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
23
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
24 <tests>
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
25 <test>
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
26 <param name="file1" value="non_redundant.csv" />
3
d98e0124cb31 planemo upload commit ed84801645679d29264a5946c6e7669d26c07f39-dirty
anmoljh
parents: 2
diff changeset
27 <output name="RData" file="desc.rdata" compare="sim_size" delta="50000" />
0
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
28 </test>
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
29 </tests>
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
30
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
31 <help>
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
32 .. class:: infomark
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
33
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
34 **Input "csv file" format must be as given below :**
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
35
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
36
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
37 "",feature1,feaure2,feature3,..,activity
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
38
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
39
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
40 cpd1,623,0.4,3.4,..,Active
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
41
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
42 cpd2,234,0.9,5.6,..,Inactive
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
43
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
44 cpd3,567,0.5,3.14,..,Active
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
45
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
46 cpd4,231,0.1,1.2,..,Inactive
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
47
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
48 here "cpd" stands for name or id of a compound. It is rowname with no column header.
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
49 </help>
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
50
6b9d382cb4a5 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
51 </tool>