0
|
1 <tool id="DMR" name="findDMR" version="1.16.2">
|
|
2 <requirements>
|
1
|
3 <tool_dependency>
|
|
4 <package name="R" version="3.2.1">
|
|
5 <repository changeset_revision="d0bf97420fb5" name="package_r_3_2_1" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
|
|
6 </package>
|
|
7 </tool_dependency>
|
0
|
8 </requirements>
|
|
9 <stdio>
|
|
10 <exit_code range="1:" />
|
|
11 </stdio>
|
|
12 <command> Rscript $__tool_directory__/findDMR.R "$GSMTable" "$IlmnTable" "$gmTable" "$cutoff" "$clusterSize" "$DMR"</command>
|
|
13 <inputs>
|
|
14 <param optional="false" format="csv" name="GSMTable" type="data" value="" help="GSM ID and phenotype table." label="[required] GSMTable">
|
|
15 <validator type="empty_field" message="This field is required."/>
|
|
16 </param>
|
|
17 <param optional="false" format="csv" name="IlmnTable" type="data" value="" help="CG, CHR, BP table." label="[required] IlmnTable">
|
|
18 <validator type="empty_field" message="This field is required."/>
|
|
19 </param>
|
|
20 <param optional="false" format="csv" name="gmTable" type="data" value="" help="gmSet of data." label="[required] gmTable">
|
|
21 <validator type="empty_field" message="This field is required."/>
|
|
22 </param>
|
|
23 <param name="cutoff" type="float" value=""
|
|
24 label="Enter cutoff size (number)"
|
|
25 help="e.g. '0.2'" >
|
|
26 </param>
|
|
27 <param name="clusterSize" type="float" value=""
|
|
28 label="Enter cluster size (number)"
|
|
29 help="e.g. '2'" >
|
|
30 </param>
|
|
31 </inputs>
|
|
32 <outputs>
|
|
33 <data format="bed" name="DMR" label="DMR.bed"/>
|
|
34 </outputs>
|
|
35 <tests>
|
|
36 <test>
|
|
37 <param name="test">
|
|
38 <element name="test-data">
|
|
39 <collection type="data">
|
|
40 <element name="GSMTable" value="test-data/input.csv"/>
|
|
41 <element name="IlmnTable" value="test-data/IlmnTable.csv"/>
|
|
42 <element name="gmTable" value="test-data/gmTable.csv"/>
|
|
43 <element name="cutoff" value="0.2"/>
|
|
44 <element name="clusterSize" value="2"/>
|
|
45 </collection>
|
|
46 </element>
|
|
47 </param>
|
|
48 <output format="bed" name="DMR" label="test-data/DMR.bed"/>
|
|
49 </test>
|
|
50 </tests>
|
|
51 <help>
|
|
52 **Description**
|
|
53 </help>
|
|
54 <citations>
|
|
55 DMR
|
|
56 </citations>
|
|
57 </tool>
|