annotate minfi_dropsnp.xml @ 71:1334312dc198 draft

Uploaded
author kpbioteam
date Fri, 10 May 2019 06:42:23 -0400
parents 9ee05ae14aa5
children 5cda2c8d0316
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
65
9ee05ae14aa5 Uploaded
kpbioteam
parents: 15
diff changeset
1 <tool id="minfi_dropsnp" name="Minfi Drop SNPs" version="@MINFI_VERSION@">
15
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
2 <description>drop the probes that contain either a SNP at the CpG interrogation or at the single nucleotide extension</description>
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
3 <macros>
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
4 <import>macros.xml</import>
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
5 </macros>
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
6 <expand macro="requirements">
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
7 <requirement type="package" version="0.6.0">bioconductor-illuminahumanmethylation450kanno.ilmn12.hg19</requirement>
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
8 </expand>
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
9 <command detect_errors="exit_code">
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
10 <![CDATA[
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
11 Rscript '$minfi_snp_script'
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
12 ]]>
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
13 </command>
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
14 <configfiles>
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
15 <configfile name="minfi_snp_script"><![CDATA[
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
16 require("minfi", quietly = TRUE)
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
17
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
18 GRSet <- get(load('$grset'))
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
19
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
20 GRSet <- dropLociWithSnps(GRSet, snps=c("SBE","CpG"), maf=0)
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
21
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
22 save(GRSet,file = '$grsetwithoutsnp')
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
23 ]]>
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
24 </configfile>
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
25 </configfiles>
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
26 <inputs>
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
27 <param type="data" name="grset" format="rdata" label="Genomic Ratio Set" help="This class holds preprocessed data for Illumina methylation microarrays, mapped to a genomic
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
28 location."/>
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
29 </inputs>
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
30 <outputs>
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
31 <data name="grsetwithoutsnp" format="rdata" from_work_dir="dropsnpGRSet.rdata" label="GRSet without SNPs"/>
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
32 </outputs>
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
33 <tests>
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
34 <test>
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
35 <param name="grset" value="GRSet.rdata"/>
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
36 <output name="grsetwithoutsnp" file="GRSet_without_SNPs.rdata"/>
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
37 </test>
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
38 </tests>
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
39 <help><![CDATA[
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
40 This tool is a version of the dropLociWithSnps function adapted to drop the probes that contain either a SNP at the CpG interrogation or at the single nucleotide extension (recommend).
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
41
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
42 The output is a GenomicRatioSet object without SNPs loci.
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
43 ]]></help>
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
44 <expand macro="citations" />
dcfca35a2ac6 Uploaded
kpbioteam
parents:
diff changeset
45 </tool>