annotate minfi_getbeta.xml @ 16:491cf4ada3a3 draft

Uploaded
author kpbioteam
date Fri, 22 Feb 2019 08:15:31 -0500
parents 8833eedd24fb
children 9c6fbb7d5a2a
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>
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
25 <param type="data" name="mset" format="rdata" label="MethylSet" help="This class holds preprocessed data for Illumina methylation microarrays, mapped to a genomic
8833eedd24fb Uploaded
kpbioteam
parents:
diff changeset
26 location."/>
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>