annotate minfi_read450k.xml @ 76:fef50103f6b3 draft

planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 945cecdba6528d35c6dfa866f785f182c5dd22ed
author kpbioteam
date Fri, 07 Jun 2019 08:57:26 -0400
parents 9c6fbb7d5a2a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
69
42c51d32e16c Uploaded
kpbioteam
parents: 5
diff changeset
1 <tool id="minfi_read450k" name="Minfi Read 450k" version="2.1.0">
75
9c6fbb7d5a2a planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 9ce5c86f66f4a0cb64a1b8f48a2a937268b62064-dirty
kpbioteam
parents: 69
diff changeset
2 <description>load .IDAT files</description>
9c6fbb7d5a2a planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 9ce5c86f66f4a0cb64a1b8f48a2a937268b62064-dirty
kpbioteam
parents: 69
diff changeset
3 <requirements>
9c6fbb7d5a2a planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 9ce5c86f66f4a0cb64a1b8f48a2a937268b62064-dirty
kpbioteam
parents: 69
diff changeset
4 <requirement type="package" version="1.24.0">bioconductor-minfi</requirement>
5
ab6e72fdf350 Uploaded
kpbioteam
parents:
diff changeset
5 </requirements>
ab6e72fdf350 Uploaded
kpbioteam
parents:
diff changeset
6 <command detect_errors="exit_code"><![CDATA[
76
fef50103f6b3 planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 945cecdba6528d35c6dfa866f785f182c5dd22ed
kpbioteam
parents: 75
diff changeset
7 #for $counter, $input in enumerate($files_red):
fef50103f6b3 planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 945cecdba6528d35c6dfa866f785f182c5dd22ed
kpbioteam
parents: 75
diff changeset
8 #set $redname = str( getattr( $input, 'element_identifier', 'sample' ) ).replace( "/", '-' ).replace( "\t", "-" )
fef50103f6b3 planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 945cecdba6528d35c6dfa866f785f182c5dd22ed
kpbioteam
parents: 75
diff changeset
9 ln -s $input ./${redname} &&
75
9c6fbb7d5a2a planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 9ce5c86f66f4a0cb64a1b8f48a2a937268b62064-dirty
kpbioteam
parents: 69
diff changeset
10 #end for
76
fef50103f6b3 planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 945cecdba6528d35c6dfa866f785f182c5dd22ed
kpbioteam
parents: 75
diff changeset
11 #for $counter, $input in enumerate($files_grn):
fef50103f6b3 planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 945cecdba6528d35c6dfa866f785f182c5dd22ed
kpbioteam
parents: 75
diff changeset
12 #set $grnname = str( getattr( $input, 'element_identifier', 'sample' ) ).replace( "/", '-' ).replace( "\t", "-" )
fef50103f6b3 planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 945cecdba6528d35c6dfa866f785f182c5dd22ed
kpbioteam
parents: 75
diff changeset
13 ln -s $input ./${grnname} &&
75
9c6fbb7d5a2a planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 9ce5c86f66f4a0cb64a1b8f48a2a937268b62064-dirty
kpbioteam
parents: 69
diff changeset
14 #end for
9c6fbb7d5a2a planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 9ce5c86f66f4a0cb64a1b8f48a2a937268b62064-dirty
kpbioteam
parents: 69
diff changeset
15 Rscript '$read_idat_script'
5
ab6e72fdf350 Uploaded
kpbioteam
parents:
diff changeset
16 ]]></command>
ab6e72fdf350 Uploaded
kpbioteam
parents:
diff changeset
17 <configfiles>
ab6e72fdf350 Uploaded
kpbioteam
parents:
diff changeset
18 <configfile name="read_idat_script"><![CDATA[
ab6e72fdf350 Uploaded
kpbioteam
parents:
diff changeset
19 require("minfi", quietly = TRUE)
76
fef50103f6b3 planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 945cecdba6528d35c6dfa866f785f182c5dd22ed
kpbioteam
parents: 75
diff changeset
20 out <- read.metharray(list.files(pattern="_Red.idat"))
5
ab6e72fdf350 Uploaded
kpbioteam
parents:
diff changeset
21 save(out, file = '$RGChannelSet')
ab6e72fdf350 Uploaded
kpbioteam
parents:
diff changeset
22 ]]> </configfile>
ab6e72fdf350 Uploaded
kpbioteam
parents:
diff changeset
23 </configfiles>
ab6e72fdf350 Uploaded
kpbioteam
parents:
diff changeset
24 <inputs>
ab6e72fdf350 Uploaded
kpbioteam
parents:
diff changeset
25 <param type="data" name="files_red" multiple="true" format="idat" label="Red .IDAT files"/>
ab6e72fdf350 Uploaded
kpbioteam
parents:
diff changeset
26 <param type="data" name="files_grn" multiple="true" format="idat" label="Green .IDAT files" />
ab6e72fdf350 Uploaded
kpbioteam
parents:
diff changeset
27 </inputs>
ab6e72fdf350 Uploaded
kpbioteam
parents:
diff changeset
28 <outputs>
ab6e72fdf350 Uploaded
kpbioteam
parents:
diff changeset
29 <data name="RGChannelSet" format="rdata" label="RGChannelSet"/>
ab6e72fdf350 Uploaded
kpbioteam
parents:
diff changeset
30 </outputs>
ab6e72fdf350 Uploaded
kpbioteam
parents:
diff changeset
31 <tests>
ab6e72fdf350 Uploaded
kpbioteam
parents:
diff changeset
32 <test>
ab6e72fdf350 Uploaded
kpbioteam
parents:
diff changeset
33 <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"/>
76
fef50103f6b3 planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 945cecdba6528d35c6dfa866f785f182c5dd22ed
kpbioteam
parents: 75
diff changeset
34 <param name="files_grn" value="GSM1588707_8795207119_R06C02_Grn.idat,GSM1588706_8795207135_R02C02_Grn.idat,GSM1588705_8795207119_R05C02_Grn.idat,GSM1588704_8795207135_R01C02_Grn.idat" ftype="idat"/>
5
ab6e72fdf350 Uploaded
kpbioteam
parents:
diff changeset
35 <output name="RGChannelSet" file="RGChannelSet.rdata"/>
ab6e72fdf350 Uploaded
kpbioteam
parents:
diff changeset
36 </test>
ab6e72fdf350 Uploaded
kpbioteam
parents:
diff changeset
37 </tests>
75
9c6fbb7d5a2a planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 9ce5c86f66f4a0cb64a1b8f48a2a937268b62064-dirty
kpbioteam
parents: 69
diff changeset
38 <help><![CDATA[
76
fef50103f6b3 planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 945cecdba6528d35c6dfa866f785f182c5dd22ed
kpbioteam
parents: 75
diff changeset
39 The tool loads 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.
75
9c6fbb7d5a2a planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 9ce5c86f66f4a0cb64a1b8f48a2a937268b62064-dirty
kpbioteam
parents: 69
diff changeset
40
9c6fbb7d5a2a planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 9ce5c86f66f4a0cb64a1b8f48a2a937268b62064-dirty
kpbioteam
parents: 69
diff changeset
41 ]]></help>
9c6fbb7d5a2a planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 9ce5c86f66f4a0cb64a1b8f48a2a937268b62064-dirty
kpbioteam
parents: 69
diff changeset
42 <citations>
9c6fbb7d5a2a planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 9ce5c86f66f4a0cb64a1b8f48a2a937268b62064-dirty
kpbioteam
parents: 69
diff changeset
43 <citation type="doi">10.18129/B9.bioc.illuminaio</citation>
9c6fbb7d5a2a planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 9ce5c86f66f4a0cb64a1b8f48a2a937268b62064-dirty
kpbioteam
parents: 69
diff changeset
44 </citations>
9c6fbb7d5a2a planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 9ce5c86f66f4a0cb64a1b8f48a2a937268b62064-dirty
kpbioteam
parents: 69
diff changeset
45 </tool>
9c6fbb7d5a2a planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 9ce5c86f66f4a0cb64a1b8f48a2a937268b62064-dirty
kpbioteam
parents: 69
diff changeset
46