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

fgsea hangs with nperm=1001, but not 1000 #93

Open
assaron opened this issue May 11, 2021 · 6 comments
Open

fgsea hangs with nperm=1001, but not 1000 #93

assaron opened this issue May 11, 2021 · 6 comments
Labels

Comments

@assaron
Copy link
Member

assaron commented May 11, 2021

# Runs fine, takes just a few seconds
fgseaRes <- fgsea(examplePathways, exampleRanks, nperm=1000, maxSize=500)

# Hangs and never completes
fgseaRes <- fgsea(examplePathways, exampleRanks, nperm=1001, maxSize=500)

It likely indicates that there are problems with BiocParallel package and it has to be reinstalled. In this case the following code hangs as well:

library(BiocParallel)
example("bplapply")
@assaron
Copy link
Member Author

assaron commented May 11, 2021

@ChristianRohde please check if the BiocParallel example above works for you or not.

@ChristianRohde
Copy link

I cannot reproduce the unexpected behavior neither on my installations on Ubuntu, MacOS or Windows any more. No need to add the nproc=1 any more as well. I could swear that I got stuck on this way too long yesterday, but now it is gone without a trace. I do not remember if I updated something on all 3 computers, but at least fgsea is now just working again as before very fast. Thank you for your support!

@mvhunter1
Copy link

Hi, I'm also having the same issue with fgsea running infinitely, seemingly out of nowhere since I had used the function successfully for at least a year before this. Setting nproc = 1 doesn't seem to help. The BiocParallel example above does work for me. I'm using the latest version of the fgsea package on MacOS. I (used to) rely heavily on this package so any advice would be really appreciated!

@assaron
Copy link
Member Author

assaron commented Jul 27, 2021

@mvhunter1 Is it the problem of some particular dataset or it hangs on different inputs?

@mvhunter1
Copy link

mvhunter1 commented Jul 27, 2021

Hi, it hangs on any input I try from multiple datasets.

Edit: this seems to be specific to fgseaMultilevel as fgseaSimple seems to work fine.

@assaron
Copy link
Member Author

assaron commented Jul 28, 2021

@mvhunter1 Does it fail for the example dataset? Does setting nperm=1000 help? It looks like a different problem, not the one described in this issue, so please create another issue and describe exactly what works and what doesn't work for you providing the datasets.

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

No branches or pull requests

3 participants