Question: Installing MethylationEPIC minifest and annotation
0
3.4 years ago by
rasii0
rasii0 wrote:

Hi,

I am fairly new to R programming and using Bioconductor packages. I am trying to install  IlluminaHumanMethylationEPICmanifest_0.3.0.tar.gz and IlluminaHumanMethylationEPICanno.ilm10b2.hg19_0.3.0.tar.gz which I downloaded from https://bitbucket.org/hansenlab/illumina_epic. I read that we need to install it using the cd prompt but I'm finding it really hard to install it that way. I cant find the install or a readme file which has the instructions.

Would be great if a step by step guide can be given from point of download to installing the package in R can be given.

Any help is appreciated..

Thanks,

Rasi

modified 3.4 years ago • written 3.4 years ago by rasii0
Answer: Installing MethylationEPIC minifest and annotation
2
3.4 years ago by
Martin Morgan ♦♦ 23k
United States
Martin Morgan ♦♦ 23k wrote:

These are available in R-3.3.0 / Bioc 3.3

> pp = available.packages(repos=BiocInstaller::biocinstallRepos()[2])
> grep("EPIC", rownames(pp), value=TRUE)
[1] "IlluminaHumanMethylationEPICanno.ilm10b2.hg19"
[2] "IlluminaHumanMethylationEPICmanifest"
> BiocInstaller::biocVersion()
[1] '3.3'
> R.version.string
[1] "R version 3.3.0 alpha (2016-03-30 r70401)"

The landing pages are at, e.g., https://bioconductor.org/packages/IlluminaHumanMethylationEPICmanifest . Once using the correct version of R, they install with

source("https://bioconductor.org/biocLIte.R")
biocLIte("IlluminaHumanMethylationEPICmanifest")

The best way to do this is without a doubt to use R-3.3.0 beta and use biocLite, as Martin describes here. This way you get the latest version of minfi which also contains some bug fixes related to EPIC arrays, which you don't get it you install the packages from Bitbucket in (say) R.3.2.x.

Hi guys,

Have another question and I have to apologise if this sounds like a silly question to ask (new to all of this)

So I've installed the two packages so does that mean when I run minfi it will automatically use the EPIC manifest and anno or will it use the 450k ones? Is there a command I need to use to run the EPIC files in R?

Also I'm going through the minfi tutorial using the minfiData package and I guess its written up for the 450K array. So just wanted to know again when I run minfi using my data files will it use the EPIC manifest etc. I am a bit confused because in the tutorial the RGchannel set is set for the 450K.

Thanks again

Hi Martin,

That for your suggestion. I installed bioc but it seems to be v3.2. Do you know where i can find bioc 3.3?

Rasi

What version of R are you using? If you are using R-3.2.z, for some value of z? Then you need to use R-3.3.0. Start R-3.3.0, make sure that BiocInstaller is not installed (say remove.packages("BiocInstaller") until an error indicating that BiocInstaller was not found), then source("https://bioconductor.org/biocLite.R").

I managed to install Bioc 3.3 but now when I try to install IlluminaHumanMethylationEPICmanifest i get the following error:

Warning messages:
2: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘IlluminaHumanMethylationEPICmanifest’ had non-zero exit status.

so I dont think it has installed properly. What do you think is going wrong?

Rasi

Normally you would install it with biocLite("IlluminaHumanMethylationEPICmanifest").

On Windows, in devel, and at this precise moment in time, there are important CRAN and Bioconductor packages that are not available in 'binary' format, and require that you have the Rtools compiler available to install these from source (and even then, because they are not available as binaries suggests that there are special challenges to compiling them).

Maybe you have access to a linux or mac, where it will be more straight-forward? (again, this is only relevant to using Bioc-devel, on Windows, at this particular moment in time; likely a week from now biocLite() will just work for this package on all platforms).

Answer: C: Installing MethylationEPIC minifest and annotation
1
3.4 years ago by
Mike Smith3.8k
EMBL Heidelberg / de.NBI
Mike Smith3.8k wrote:

Although they primarily contain annotation rather than code, these can be treated like R software packages.  Hopefully at some point in the future they will be included in Bioconductor and you will be able to use biocLite() to install them.

However, for now you can install straight from the downloaded tar.gz file.  If you use RStudio then you can do:

Tools ->

Install Packages ->

Install From "Package Archive File (tar.gz)" ->

Select the tar.gz file

If you are working at the command line then you can run something like the following in a terminal:

R CMD INSTALL /path/to/IlluminaHumanMethylationEPICmanifest_0.3.0.tar.gz

Hi Mike, I've followed the steps to pointed above after downloading IlluminaHumanMethylationEPICanno.ilm10b2.hg19_0.6.0.tar.gz. Unfortunately, the installation process throws these errors :

Error : cannot allocate buffer
ERROR: lazydata failed for package 'IlluminaHumanMethylationEPICanno.ilm10b2.hg19'

Can you help me overcoming this error, plz ?

Answer: Installing MethylationEPIC minifest and annotation
0
3.4 years ago by
rasii0
rasii0 wrote:

Thanks so much guys! Managed to install them...now to work out how to use it to analyze my .idat files..

Rasi

Answer: Installing MethylationEPIC minifest and annotation
0
3.4 years ago by
rasii0
rasii0 wrote:

Hi guys,

Have another question and I have to apologise if this sounds like a silly question to ask (new to all of this)

So I've installed the two packages so does that mean when I run minfi it will automatically use the EPIC manifest and anno or will it use the 450k ones? Is there a command I need to use to run the EPIC files in R?

Also I'm going through the minfi tutorial using the minfiData package and I guess its written up for the 450K array. So just wanted to know again when I run minfi using my data files will it use the EPIC manifest etc. I am a bit confused because in the tutorial the RGchannel set is set for the 450K.

Thanks again