Hello all,
I came up with an error when building annotations for the hg38 CpG islands. I have run this chunk plenty of times, with no similar error. The code looks like this:
library(annotatr)
annots=c("hg38_cpg_islands","hg38_cpg_shelves","hg38_cpg_shores","hg38_cpg_inter")
annotations = build_annotations(genome = "hg38", annotations = annots)
Building CpG islands...
Error in open.connection(11L, "rb") : HTTP error 403.
Then, I explored the source code of build_annotations() and I found that the goldenPath path called for CpG islands is:
con = "http://hgdownload.cse.ucsc.edu/goldenpath/hg38/database/cpgIslandExt.txt.gz"
By trying to reach this website, I get this error:
While when I find the URL through searching, it is slightly different and I can normally connect and find the cpgislandExt file listed. This URL is:
So my questions are:
- Do you think that the permission error is coming from my connection, or is there something wrong with the UCSC server?
- How could I resolve this, so that I can build my annotations successfully?
- How is the difference in the URLs explained? (soe vs cse)
Thanks a lot in advance and let me know if something does not make sense.
this. Same problem here.
wait
waiting still..
Have you tried changing the URL in the source code. It sounds like your institution is preventing you from connecting over a plain
http
link.soe
= School of Engineering at UCSCcse
= Computer science and Engineering at UCSCGenome browser is hosted by Dr. David Haussler's lab. He is a faculty member in SOE/CSE.
FYI: After waiting for 6 days the problem was resolved, with no change from my side. Thus indicating it comes from the server.
Thanks all for your help :)