da-bar / JASPAR2022

1 stars 0 forks source link

Is JASPAR2022 R package operative? #1

Open eggrandio opened 2 years ago

eggrandio commented 2 years ago

Hi, I have installed JASPAR2022 from github, but when I try to use it I get the following message.

> install_github("da-bar/JASPAR2022")
> library(JASPAR2022)
> JASPAR2022
An object of class "JASPAR2022"
Slot "db":
[1] "D:/R/R-4.1.1/library/JASPAR2022/extdata/JASPAR2022.sqlite"
> pfm <- getMatrixByName(JASPAR2022, name="Arnt")
Error: database disk image is malformed
In addition: Warning message:
Couldn't set synchronous mode: database disk image is malformed
Use `synchronous` = NULL to turn off this warning. 

I can use JASPAR2020 successfully:

pfm <- getMatrixByName(JASPAR2020, name="Arnt")
lenabar4 commented 2 years ago

I have the same problem. Have you find any solution ?

da-bar commented 2 years ago

Hi @eggrandio , could you please let me know which system are you using? It was tested on Mac and Linux

eggrandio commented 2 years ago

Hi @da-bar,

I am using Windows 10.

I find it weird that I can use JASPAR2020 but not 2022.

da-bar commented 2 years ago

Hi @eggrandio Indeed, the sqlite files should be the same. I will investigate this and get back to you. Sorry for the inconvenience.

lenabar4 commented 2 years ago

Hi, i am using windows 10 but when i used mac jaspar2022 was funcional

lenabar4 commented 2 years ago

Ηι, I am using windows 10. With mac JASPAR22 is functional.

Στις Δευ 14 Μαρ 2022 στις 6:27 μ.μ., ο/η da-bar @.***> έγραψε:

Hi @eggrandio https://github.com/eggrandio Indeed, the sqlite files should be the same. I will investigate this and get back to you. Sorry for the inconvenience.

— Reply to this email directly, view it on GitHub https://github.com/da-bar/JASPAR2022/issues/1#issuecomment-1067030245, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVD43X2YXJLPPM4T7XIT34LU75SG7ANCNFSM5OBUQ3NA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

da-bar commented 2 years ago

Hi @lenabar4 ,

thank you for your feedback. I thought it is an issue with a sqlite file on Windows. I will look into it and try and fix it so it works on all three platforms. In the meantime, maybe the OLD_VERSION branch will work on Windows as well (although I doubt because the sqlite file was built on the same system).

lenabar4 commented 2 years ago

If you mean @da-bar, old version the JASPAR2020, works just fine with windows 10. Thank you

da-bar commented 2 years ago

@lenabar4 In JASPAR2022 there is an branch called OLD_VERSION, which has its own sqlite file embedded. Maybe that one will work on Windows as well.

lenabar4 commented 2 years ago

@da-bar Ok i understand it. Thank you