annotate minfi_ppquantile.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
7
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
1 <tool id="minfi_ppquantile" name="Minfi Preprocess Quantile" version="@MINFI_VERSION@">
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
2 <description>implements stratified quantile normalization preprocessing</description>
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
3 <macros>
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
4 <import>macros.xml</import>
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
5 </macros>
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
6 <expand macro="requirements">
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
7 <requirement type="package" version="0.6.0">bioconductor-illuminahumanmethylation450kanno.ilmn12.hg19</requirement>
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
8 </expand>
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
9 <command detect_errors="exit_code">
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
10 <![CDATA[
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
11 Rscript '$minfi_pp_script'
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
12 ]]>
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
13 </command>
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
14 <configfiles>
75
9c6fbb7d5a2a planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 9ce5c86f66f4a0cb64a1b8f48a2a937268b62064-dirty
kpbioteam
parents: 7
diff changeset
15 <configfile name="minfi_pp_script"><![CDATA[
7
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
16 require("minfi", quietly = TRUE)
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
17 RGSet <- get(load('$rgset'))
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
18
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
19 GRSet <- preprocessQuantile(RGSet, fixOutliers = TRUE,
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
20 removeBadSamples = TRUE, badSampleCutoff = 10.5,
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
21 quantileNormalize = TRUE, stratified = TRUE,
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
22 mergeManifest = FALSE, sex = NULL)
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
23
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
24 save(GRSet,file = '$grset')
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
25
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
26 ]]>
75
9c6fbb7d5a2a planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 9ce5c86f66f4a0cb64a1b8f48a2a937268b62064-dirty
kpbioteam
parents: 7
diff changeset
27 </configfile>
9c6fbb7d5a2a planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 9ce5c86f66f4a0cb64a1b8f48a2a937268b62064-dirty
kpbioteam
parents: 7
diff changeset
28 </configfiles>
9c6fbb7d5a2a planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 9ce5c86f66f4a0cb64a1b8f48a2a937268b62064-dirty
kpbioteam
parents: 7
diff changeset
29 <inputs>
9c6fbb7d5a2a planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 9ce5c86f66f4a0cb64a1b8f48a2a937268b62064-dirty
kpbioteam
parents: 7
diff changeset
30 <param type="data" name="rgset" format="rdata" label="RGChannelSet"
9c6fbb7d5a2a planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 9ce5c86f66f4a0cb64a1b8f48a2a937268b62064-dirty
kpbioteam
parents: 7
diff changeset
31 help="These classes represents raw (unprocessed) data from a two color micro array; specifically an Illumina methylation array." />
7
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
32 </inputs>
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
33 <outputs>
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
34 <data name="grset" format="rdata" label="GenomicRatioSet"/>
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
35 </outputs>
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
36 <tests>
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
37 <test>
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
38 <param name="rgset" value="RGChannelSet.rdata"/>
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
39 <output name="grset" file="QuantileGenomicRatioSet.rdata"/>
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
40 </test>
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
41 </tests>
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
42 <help><![CDATA[
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
43 The normalization procedure is applied to the Meth and Unmeth intensities separately. The distribution of type I and type II signals is forced to be the same by first quantile normalizing the type II probes across samples and then interpolating a reference distribution to which we normalize the type I probes. Since probe types and probe regions are confounded and we know that DNAm distributions vary across regions we stratify the probes by region before applying this interpolation.
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
44 ]]></help>
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
45 <expand macro="citations" />
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
46 </tool>
f47e5cca1696 Uploaded
kpbioteam
parents:
diff changeset
47