zwdzwd / sesame

🍪 SEnsible Step-wise Analysis of DNA MEthylation BeadChips

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error in SesameDataCache()

arualemsti opened this issue · comments

Hello,

I've seen several posts on here about error when trying to run command SesameDataCache() after updating or reinstalling the sesame, sesamedata packages. I'm also having this issue and would like to see if anyone can help.

`> iPSC103IDAT <- readIDATpair('/mnt/f/Human_EPIC/D1_AllCellTypes/IDATs/LA_iPSC_103_R07C01', platform = "EPICv2")
Error in stopAndCache(title) :
| File idatSignature either not found or needs to be cached to be
| used in sesame.
| Please make sure you have updated ExperimentHub and try
| > sesameDataCache("idatSignature")
| or download all data
| > sesameDataCache()
| to retrieve and cache needed sesame data.
sesameDataCache()
Metadata (N=11):

sesameDataGet("idatSignature")
Error in stopAndCache(title) :
| File idatSignature either not found or needs to be cached to be
| used in sesame.
| Please make sure you have updated ExperimentHub and try
| > sesameDataCache("idatSignature")
| or download all data
| > sesameDataCache()
| to retrieve and cache needed sesame data.`

Thank you!

Hey, I am getting the same error. Could you let me know if you found any solution?

what's the output of your sesame_checkVersion()? did you try sesameDataCache() without issue?

R: 4.4.0
Bioconductor: 3.19
sesame: 1.23.8
sesameData: 1.23.0
ExperimentHub: 2.12.0

Solution: I needed to Load the ExperimentHub library along with Sesame.
library(ExperimentHub)
Now this problem is solved.
Here's the output:
> sesame_checkVersion()

SeSAMe requires matched versions of R, sesame, sesameData and ExperimentHub.
Here is the current versions installed:
R: 4.4.0
Bioconductor: 3.19
sesame: 1.23.8
sesameData: 1.23.0
ExperimentHub: 2.12.0

> sesameDataCache("idatSignature")
No output

> sesameDataGet("idatSignature")

Error in stopAndCache(title) : 
| File idatSignature either not found or needs to be cached to be
| used in sesame.
| Please make sure you have updated ExperimentHub and try
| > sesameDataCache("idatSignature")
| or download all data
| > sesameDataCache()
| to retrieve and cache needed sesame data.

The "no output" looks fishy. I have the same versions. I deleted all my caches but I got the following.

> sesameDataGet("idatSignature")
Error in stopAndCache(title) :
| File idatSignature either not found or needs to be cached to be
| used in sesame.
| Please make sure you have updated ExperimentHub and try
| > sesameDataCache("idatSignature")
| or download all data
| > sesameDataCache()
| to retrieve and cache needed sesame data.
> sesameDataCache("idatSignature")
/Users/zhouw3/Library/Caches/org.R-project.R/R/ExperimentHub
  does not exist, create directory? (yes/no): yes
Metadata (N=1):

  |======================================================================| 100%
(1/1) EH8552:

  |======================================================================| 100%

> sesame_checkVersion()
SeSAMe requires matched versions of R, sesame, sesameData and ExperimentHub.
Here is the current versions installed:
R: 4.4.0
Bioconductor: 3.19
sesame: 1.23.8
sesameData: 1.23.0
ExperimentHub: 2.12.0

Have you tried restarting R after installation? ExperimentHub should've been loaded when you do library(sesame).

I also had to reinstall the sesameData: 1.23.0 separately. Since, while installing using :
BiocManager::install("zwdzwd/sesame")
sesameData: 1.22.0 was installed initially.

Yes, Now it is working even without loading ExperimentHub.