Repository 'ewastools'
hg clone https://toolshed.g2.bx.psu.edu/repos/kpbioteam/ewastools

Changeset 8:432fd69157fa (2019-02-22)
Previous changeset 7:f47e5cca1696 (2019-02-22) Next changeset 9:3511473319c2 (2019-02-22)
Commit message:
Uploaded
added:
minfi_ppfun.xml
b
diff -r f47e5cca1696 -r 432fd69157fa minfi_ppfun.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/minfi_ppfun.xml Fri Feb 22 08:12:22 2019 -0500
[
@@ -0,0 +1,41 @@
+<tool id="minfi_ppfun" name="Minfi Preprocess Funnorm" version="@MINFI_VERSION@">
+    <description>implements the functional normalization algorithm</description><macros>
+        <import>macros.xml</import>
+    </macros>
+    <expand macro="requirements">
+        <requirement type="package" version="0.6.0">bioconductor-illuminahumanmethylation450kanno.ilmn12.hg19</requirement>
+    </expand>
+    <command detect_errors="exit_code">
+    <![CDATA[
+     Rscript '$minfi_pp_script'
+    ]]>
+    </command>
+    <configfiles>
+    <configfile name="minfi_pp_script"><![CDATA[
+require("minfi", quietly = TRUE)
+RGSet <- get(load('$rgset'))
+
+GRSet <- preprocessFunnorm(RGSet)
+
+save(GRSet,file = '$grset')
+ ]]> 
+    </configfile>
+    </configfiles> 
+
+<inputs>
+        <param type="data" name="rgset" format="rdata" label="RGChannelSet" help="These classes represents raw (unprocessed) data from a two color micro array; specifically an Illumina methylation array." />
+    </inputs>
+    <outputs>
+        <data name="grset" format="rdata" label="GenomicRatioSet"/>
+    </outputs>
+    <tests>
+        <test>
+            <param name="rgset" value="RGChannelSet.rdata"/>
+            <output name="grset" file="FunGenomicRatioSet.rdata"/>
+        </test>
+    </tests>
+    <help><![CDATA[
+        This tool uses the internal control probes present on the array to infer between-array technical variation. It is particularly useful for studies comparing conditions with known large-scale differences, such as cancer/normal studies, or between-tissue studies. It has been shown that for such studies, functional normalization outperforms other existing approaches (Jean-Philippe Fortin et al. 2014).
+    ]]></help>
+    <expand macro="citations" />
+</tool>