SCENIC icon indicating copy to clipboard operation
SCENIC copied to clipboard

initializeScenic: getDbAnnotations error

Open hernandezvargash opened this issue 2 years ago • 7 comments

Hi, I've been using SCENIC's R version in linux environment with success until last week, but now I get an error when trying to initialize (please see below). I used the same code and databases that worked earlier for me, so the issue must be somewhere else. Traceback stops after the 2nd step: getDbAnnotations(object) . I get the same error when using default RcisTarget databases, and this persists after updating my libraries (current versions: SCENIC 1.3.1, RcisTarget 1.17.0, GENIE3 1.20.0, AUCell 1.20.0). I couldn't find the same error in any earlier post. Did anybody find a similar error and can suggest a solution? Thanks for your help! Hector

This is my code:

dbs <- c('500bp' = "mm10__refseq-r80__10kb_up_and_down_tss.mc9nr.feather",
         '10kb' = "mm10__refseq-r80__500bp_up_and_100bp_down_tss.mc9nr.feather")

scenicOptions <- initializeScenic(org= "mgi", 
                                  dbDir= "~/RcisTarget_databases", 
                                  dbs= dbs, 
                                  datasetTitle= "SCENIC", 
                                  nCores=12) 

And the error:

Motif databases selected: mm10__refseq-r80__10kb_up_and_down_tss.mc9nr.feather mm10__refseq-r80__500bp_up_and_100bp_down_tss.mc9nr.feather Error in data(list = motifAnnotName, package = "RcisTarget", verbose = FALSE) : unused arguments (list = motifAnnotName, package = "RcisTarget", verbose = FALSE)

hernandezvargash avatar Nov 04 '22 08:11 hernandezvargash

Dear @hernandezvargash ,

It seems you are using the very last version of RcisTarget and AUCell (just published on Nov 2). I have not updated SCENIC to work with those packages yet. I'll try to do it over the next days, but meanwhile it will be easier if you keep using the previous versions.

s-aibar avatar Nov 04 '22 08:11 s-aibar

Thank you @s-aibar for the fast response. I'll go back to the previous versions and try again. The reason I updated was because of this error, but I may have missed something. I'll let you know if this works. Thanks!

hernandezvargash avatar Nov 04 '22 08:11 hernandezvargash

Hello, My code is working now after downgrading like this: SCENIC : 1.1.2 RcisTarget : 1.16.0 AUCell : 1.18.1 I forgot to mention in my previous post that I also upgraded to R version 4.2.2, although the old packages seem to be working fine in this R version. Thanks again for your help!

hernandezvargash avatar Nov 04 '22 09:11 hernandezvargash

I managed to pass the initializeScenic step, but now I get the same error at the runGenie3 step:

runGenie3(exprMat_filtered, scenicOptions)
Error in data(list = motifAnnotName, package = "RcisTarget", verbose = FALSE) : 
  unused arguments (list = motifAnnotName, package = "RcisTarget", verbose = FALSE)

GENIE3 version 1.18.0

hernandezvargash avatar Nov 04 '22 10:11 hernandezvargash

this issue seems to be related with issue #334 runGenie3 seems to be working for me after following @joyduck indicationes here: https://github.com/aertslab/SCENIC/issues/334#issuecomment-1300654055 except this time I'm using the most recent versions of the mm10 databases:

dbs <- c('500bp' = "mm10_500bp_up_100bp_down_full_tx_clustered.genes_vs_motifs.rankings.feather",
         '10kb' = "mm10_10kbp_up_10kbp_down_full_tx_clustered.genes_vs_motifs.rankings.feather")

hernandezvargash avatar Nov 04 '22 13:11 hernandezvargash

I'm not sure if you should use their most recent database, it appears to me that the number of TFs in the new database is the same as the old one(mouse), probably the same set of TFs, not sure what has been updated, it might do not worth the time to mess around to use the new database. you might want to compare if the results generated by the old and new database are the same, I did not have time to do it yet. I also asked a question in the discussion #355 about this, has not get a reply yet, if the authors see this, could you please let me know? thanks very much and I'm looking forward to your answer.

Polligator avatar Nov 04 '22 15:11 Polligator

I managed to pass the initializeScenic step, but now I get the same error at the runGenie3 step:

runGenie3(exprMat_filtered, scenicOptions)
Error in data(list = motifAnnotName, package = "RcisTarget", verbose = FALSE) : 
  unused arguments (list = motifAnnotName, package = "RcisTarget", verbose = FALSE)

GENIE3 version 1.18.0

Hi, I have the same error as yours and can not pass the "initializeScenic" step. How did you fix this?

Linnnnnn7 avatar Sep 17 '23 02:09 Linnnnnn7