10
|
1 <tool id="DMR" name="findDMR" version="1.16.2">
|
|
2 <description>
|
|
3 from series of samples
|
|
4 </description>
|
0
|
5 <requirements>
|
10
|
6 <requirement type= "package" version="0.0.1">450kdependency</requirement>
|
|
7 <requirement type="package" version="3.2.1">R</requirement>
|
|
8 </requirements>
|
0
|
9 <stdio>
|
|
10 <exit_code range="1:" />
|
|
11 </stdio>
|
10
|
12 <command> Rscript $__tool_directory__/findDMR.R "$GSMTable" "$platform" "$Data_Table" "$cutoff" "$clusterSize" "$DMR"</command>
|
0
|
13 <inputs>
|
10
|
14 <param optional="false" format="txt" 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="txt" name="platform" type="data" value="" help="CG, CHR, BP table." label="[required] platform">
|
|
18 <validator type="empty_field" message="This field is required."/>
|
|
19 </param>
|
|
20 <param optional="false" format="txt" name="Data_Table" type="data" value="" help="Matrix of data." label="[required] Data_Table">
|
|
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>
|
0
|
31 </inputs>
|
|
32 <outputs>
|
10
|
33 <data format="bed" name="DMR" label="DMR.bed"/>
|
0
|
34 </outputs>
|
|
35 <tests>
|
|
36 <test>
|
|
37 <param name="test">
|
10
|
38 <element name="test-data">
|
|
39 <collection type="data">
|
|
40 <element name="GSMTable" value="test-data/input.txt"/>
|
|
41 <element name="platform" value="test-data/platform.txt"/>
|
|
42 <element name="Data_Table" value="test-data/Data_Table.txt"/>
|
|
43 <element name="cutoff" value="0.2"/>
|
|
44 <element name="clusterSize" value="2"/>
|
0
|
45 </collection>
|
10
|
46 </element>
|
0
|
47 </param>
|
10
|
48 <output format="bed" name="DMR" label="test-data/DMR.bed"/>
|
0
|
49 </test>
|
|
50 </tests>
|
|
51 <help>
|
10
|
52 **Description**
|
0
|
53 </help>
|
|
54 <citations>
|
10
|
55 DMR
|
0
|
56 </citations>
|
|
57 </tool>
|