5
|
1 <tool id="minfi_read450k" name="minfi_read450k" version="2.1.0">
|
|
2 <description>load .IDAT files</description>
|
|
3 <requirements>
|
|
4 <requirement type="package" version="1.24.0">bioconductor-minfi</requirement>
|
|
5 </requirements>
|
|
6 <command detect_errors="exit_code"><![CDATA[
|
|
7 #for $counter, $file in enumerate($files_red):
|
|
8 ln -s $file ./${counter+1}_Red.idat &&
|
|
9 #end for
|
|
10 #for $counter, $file in enumerate($files_grn):
|
|
11 ln -s $file ./${counter+1}_Grn.idat &&
|
|
12 #end for
|
|
13 Rscript '$read_idat_script'
|
|
14 ]]></command>
|
|
15 <configfiles>
|
|
16 <configfile name="read_idat_script"><![CDATA[
|
|
17 require("minfi", quietly = TRUE)
|
|
18 files<-list()
|
|
19 #for $counter, $input in enumerate($files_red):
|
|
20 files['${counter+1}'] <- '${counter+1}'
|
|
21 #end for
|
|
22 out <- read.metharray(files)
|
|
23 save(out, file = '$RGChannelSet')
|
|
24 ]]> </configfile>
|
|
25 </configfiles>
|
|
26 <inputs>
|
|
27 <param type="data" name="files_red" multiple="true" format="idat" label="Red .IDAT files"/>
|
|
28 <param type="data" name="files_grn" multiple="true" format="idat" label="Green .IDAT files" />
|
|
29 </inputs>
|
|
30 <outputs>
|
|
31 <data name="RGChannelSet" format="rdata" label="RGChannelSet"/>
|
|
32 </outputs>
|
|
33 <tests>
|
|
34 <test>
|
|
35 <param name="files_red" value="GSM1588707_8795207119_R06C02_Red.idat,GSM1588706_8795207135_R02C02_Red.idat,GSM1588705_8795207119_R05C02_Red.idat,GSM1588704_8795207135_R01C02_Red.idat" ftype="idat"/>
|
|
36 <param name="files_grn" value="GSM1588707_8795207119_R06C02_Grn.idat,GSM1588706_8795207135_R02C02_Grn.idat,SM1588705_8795207119_R05C02_Grn.idat,GSM1588704_8795207135_R01C02_Grn.idat" ftype="idat"/>
|
|
37 <output name="RGChannelSet" file="RGChannelSet.rdata"/>
|
|
38 </test>
|
|
39 </tests>
|
|
40 <help><![CDATA[
|
|
41 The tool load the binary 450K array “IDAT” raw files generated by the Illumina Scanner. In addition to the methylated and an unmethylated intensity values for each 450,000 CpG positions, IDAT file contains some extra info such as control probes.]]></help>
|
|
42 <citations>
|
|
43 <citation type="doi">10.18129/B9.bioc.illuminaio</citation>
|
|
44 </citations>
|
|
45 </tool>
|
|
46
|