Closed jsangalang closed 1 year ago
Hello, I can't reproduce this issue:
library(OmnipathR)
pr <- import_omnipath_annotations(resources = 'PROGENy', wide = TRUE)
# [2022-12-15 16:27:57] [SUCCESS] [OmnipathR] Downloaded 700257 annotation records.
The OmniPath server drops HTTP connections if it encounters 10 or more incoming connections from the same address in one second. Or if the client address is part of a handful blacklisted addresses (218.161.75.200, 3.18.62.154 and 203.195.218.37).
Have you tried it many times, and on different networks?
I tried it maybe 5 times, but not all in one second. Now trying it again, it gives this error:
> TF_net <- import_omnipath_annotations(resources = 'PROGENy', wide = TRUE)
Error in open.connection(con, "rb") : Encountered end of file
This is a different error, suggesting that the reason is something generic, such as slow network connection, or firewall.
To find out why a download fails, we have to see curl
debug log. I would suggest to do it both in R
and bash
:
library(curl)
h <- new_handle(verbose = TRUE)
con <- curl('https://omnipathdb.org/annotations?resources=PROGENy', handle = h)
lns <- readLines(con)
curl -vvv 'https://omnipathdb.org/annotations?resources=PROGENy' > progeny.tsv
Hello,
I'm not sure what happened, but there seems to be an issue when I try retrieving PROGENy data using decoupleR.