annotate minfi_getbeta.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
14
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
1 <tool id="minfi_getbeta" name="Minfi Get Beta" version="@MINFI_VERSION@">
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
2 <description>obtain Beta value matrix</description>
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
3 <macros>
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
4 <import>macros.xml</import>
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
5 </macros>
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
6 <expand macro="requirements" />
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
7 <command detect_errors="exit_code">
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
8 <![CDATA[
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
9 Rscript '$minfi_beta_script'
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
10 ]]>
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
11 </command>
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
12 <configfiles>
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
13 <configfile name="minfi_beta_script"><![CDATA[
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
14 require("minfi", quietly = TRUE)
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
15
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
16 MSet <- get(load('$mset'))
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
17
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
18 beta <- getBeta(MSet)
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
19
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
20 write.table(beta, file = '$matrix', quote = FALSE, sep = "\t")
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
21 ]]>
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
22 </configfile>
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
23 </configfiles>
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
24 <inputs>
75
9c6fbb7d5a2a planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 9ce5c86f66f4a0cb64a1b8f48a2a937268b62064-dirty
kpbioteam
parents: 14
diff changeset
25 <param type="data" name="mset" format="rdata" label="MethylSet"
9c6fbb7d5a2a planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 9ce5c86f66f4a0cb64a1b8f48a2a937268b62064-dirty
kpbioteam
parents: 14
diff changeset
26 help="This class holds preprocessed data for Illumina methylation microarrays, mapped to a genomic location."/>
14
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
27 </inputs>
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
28 <outputs>
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
29 <data name="matrix" format="bedgraph" label="Beta Values Matrix"/>
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
30 </outputs>
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
31 <tests>
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
32 <test>
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
33 <param name="mset" value="MethylSet.rdata"/>
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
34 <output name="matrix" file="Beta_Values_Matrix.bedgraph"/>
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
35 </test>
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
36 </tests>
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
37 <help><![CDATA[
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
38 This tools outputs an interval file of methylation indices (beta values), which are continuous values between 0 and 1 representing the ratio/fraction of the intensity of the methylated-probe signal to the total signal intensity for each probed CpG site.
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
39 ]]></help>
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
40 <expand macro="citations" />
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
41 </tool>