annotate minfi_qc.xml @ 75:9c6fbb7d5a2a draft

planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 9ce5c86f66f4a0cb64a1b8f48a2a937268b62064-dirty
author kpbioteam
date Mon, 20 May 2019 07:14:26 -0400
parents a1320b7a6d52
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
68
a1320b7a6d52 Uploaded
kpbioteam
parents: 6
diff changeset
1 <tool id="minfi_qc" name="Minfi QC" version="@MINFI_VERSION@">
6
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
2 <description>provides a simple quality control matrix and plot</description>
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
3 <macros>
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
4 <import>macros.xml</import>
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
5 </macros>
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
6 <expand macro="requirements" />
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
7 <command detect_errors="exit_code">
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
8 <![CDATA[
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
9 Rscript '$read_qc_script'
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
10 ]]>
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
11 </command>
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
12 <configfiles>
75
9c6fbb7d5a2a planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 9ce5c86f66f4a0cb64a1b8f48a2a937268b62064-dirty
kpbioteam
parents: 68
diff changeset
13 <configfile name="read_qc_script">
6
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
14 <![CDATA[
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
15 require("minfi", quietly = TRUE)
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
16
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
17 MSet <- get(load('$MethylSet'))
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
18
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
19 qc <- getQC(MSet)
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
20
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
21 write.table(qc, '$qctab')
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
22
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
23 png('$qcpng')
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
24 plotQC(qc)
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
25 dev.off()
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
26 ]]>
75
9c6fbb7d5a2a planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 9ce5c86f66f4a0cb64a1b8f48a2a937268b62064-dirty
kpbioteam
parents: 68
diff changeset
27 </configfile>
9c6fbb7d5a2a planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 9ce5c86f66f4a0cb64a1b8f48a2a937268b62064-dirty
kpbioteam
parents: 68
diff changeset
28 </configfiles>
6
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
29 <inputs>
75
9c6fbb7d5a2a planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 9ce5c86f66f4a0cb64a1b8f48a2a937268b62064-dirty
kpbioteam
parents: 68
diff changeset
30 <param type="data" name="MethylSet" format="rdata" label="MethylSet"
9c6fbb7d5a2a planemo upload for repository https://github.com/kpbioteam/ewas_galaxy commit 9ce5c86f66f4a0cb64a1b8f48a2a937268b62064-dirty
kpbioteam
parents: 68
diff changeset
31 help="This class holds preprocessed data for Illumina methylation microarrays, mapped to a genomic location."/>
6
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
32 </inputs>
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
33 <outputs>
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
34 <data name="qctab" format="txt" label="Quality Control Report"/>
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
35 <data name="qcpng" format="png" label="Quality Control Plot"/>
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
36 </outputs>
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
37 <tests>
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
38 <test>
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
39 <param name="MethylSet" value="MethylSet.rdata"/>
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
40 <output name="qctab" file="Quality_Control_Report.txt"/>
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
41 <output name="qcpng" file="Quality_Control_Plot.png" compare="sim_size"/>
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
42 </test>
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
43 </tests>
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
44 <help><![CDATA[
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
45 Quality Control (QC) outputs plot of the log median intensity in both the methylated (M) and unmethylated (U) channels. When plotting these two medians against each other the good samples cluster together, while failed samples tend to separate and have lower median intensities.
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
46 ]]></help>
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
47 <expand macro="citations" />
4f34e3f73ebf Uploaded
kpbioteam
parents:
diff changeset
48 </tool>