Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in SesameDataCache() #164

Open
arualemsti opened this issue May 14, 2024 · 6 comments
Open

Error in SesameDataCache() #164

arualemsti opened this issue May 14, 2024 · 6 comments

Comments

@arualemsti
Copy link

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!

@MitaliKatoch
Copy link

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

@zwdzwd
Copy link
Owner

zwdzwd commented Jul 31, 2024

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

@MitaliKatoch
Copy link

MitaliKatoch commented Jul 31, 2024

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.

@zwdzwd
Copy link
Owner

zwdzwd commented Jul 31, 2024

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).

@MitaliKatoch
Copy link

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.

@Mariana-plr
Copy link

sesameData: 1.23.0

Hi! How did you install sesameData: 1.23.0? From Github I could only get sesameData: 1.21.10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants