73
|
1 <tool id="minfi_getsnp" name="Minfi Get SNPs" version="@MINFI_VERSION@">
|
11
|
2 <description>retrieve the chromosome and the position of each SNP</description>
|
|
3 <macros>
|
|
4 <import>macros.xml</import>
|
|
5 </macros>
|
|
6 <expand macro="requirements">
|
|
7 <requirement type="package" version="0.6.0">bioconductor-illuminahumanmethylation450kanno.ilmn12.hg19</requirement>
|
|
8 </expand>
|
|
9 <command detect_errors="exit_code">
|
|
10 <![CDATA[
|
|
11 Rscript '$minfi_snp_script'
|
|
12 ]]>
|
|
13 </command>
|
|
14 <configfiles>
|
|
15 <configfile name="minfi_snp_script"><![CDATA[
|
|
16 require("minfi", quietly = TRUE)
|
|
17
|
|
18 GRSet <- get(load('$grset'))
|
|
19
|
|
20 snps <- getSnpInfo(GRSet)
|
|
21
|
|
22 write.table(snps, '$table')
|
|
23 ]]>
|
|
24 </configfile>
|
|
25 </configfiles>
|
|
26 <inputs>
|
73
|
27 <param type="data" name="grset" format="rdata" label="Data Mapped To The Genome" help="This class (GenomicRatioSet) holds preprocessed data for Illumina methylation microarrays, mapped to a genomic
|
11
|
28 location."/>
|
|
29 </inputs>
|
|
30 <outputs>
|
|
31 <data name="table" format="txt" label="SNPInfo Table"/>
|
|
32 </outputs>
|
|
33 <tests>
|
|
34 <test>
|
|
35 <param name="grset" value="GRSet.rdata"/>
|
|
36 <output name="table" file="SNPInfo_Table.txt"/>
|
|
37 </test>
|
|
38 </tests>
|
|
39 <help><![CDATA[
|
|
40 This tool is a version of the getSnpInfo adapted to retrieve the chromosome and the position of each SNP on a given Affymetrix SNP Array.
|
|
41 ]]></help>
|
|
42 <expand macro="citations" />
|
|
43 </tool>
|
|
44
|