Closed GitR-Bio closed 5 months ago
Similar problem when attempting to build annotations
build_annotations(genome = 'mm10', annotations = "mm10_cpgs")
I then get back the error
Building CpG islands...
Error in open.connection(5L, "rb") : HTTP error 403.
Ive tried hg38 and still the same problem. Ive tried multiple machines in different geographic locations and still the same problem.
Any ideas/suggestions please?
It seems we've reached the end of the road for the URLs being stable and accessible, and this is causing failure on the Bioconductor build machines as well.
I'll be looking for Bioconductor resources that contain these resources to avoid downloading from brittle links.
Unfortunately work responsibilities will prevent me from working on this until next week at the earliest.
Ok so it seems in the build_annotation.R file, the following URL
http://hgdownload.cse.ucsc.edu/
needs to be changed to
http://hgdownload2.cse.ucsc.edu/
So, change the lines in question (5 in total if i remember correctly), save, re tar.gz the folder and reinstall the package from the archive. That seems to have worked for me.
Thank you so much for your valuable responses. Probably the connection has been reestablished in my case. But there appeared to be an warning at the end of the codes.
annotations = build_annotations(genome = 'mm10', annotations = annots)
Building enhancers...
snapshotDate(): 2023-10-23
loading from cache
'getOption("repos")' replaces Bioconductor standard repositories, see 'help("repositories", package = "BiocManager")' for
details.
Replacement repositories:
CRAN: https://cran.rstudio.com/
'select()' returned 1:1 mapping between keys and columns
Building promoters...
Building 1to5kb upstream of TSS...
Building intergenic...
Building cds...
Building 5UTRs...
Building 3UTRs...
Building exons...
Building first exons...
Building introns...
Building intron exon boundaries...
Building exon intron boundaries...
snapshotDate(): 2023-10-23
Building lncRNA transcripts...
loading from cache
Warning message:
In valid.GenomicRanges.seqinfo(x, suggest.trim = TRUE) :
GRanges object contains 2 out-of-bound ranges located on sequence chr4_JH584295_random. Note that ranges located
on a sequence whose length is unknown (NA) or on a circular sequence are not considered out-of-bound (use
seqlengths() and isCircular() to get the lengths and circularity flags of the underlying sequences). You can use
trim() to trim these ranges. See ?`trim,GenomicRanges-method` for more information.
Similar problem when attempting to build annotations
build_annotations(genome = 'mm10', annotations = "mm10_cpgs")
I then get back the error
Building CpG islands... Error in open.connection(5L, "rb") : HTTP error 403.
Ive tried hg38 and still the same problem. Ive tried multiple machines in different geographic locations and still the same problem.
Any ideas/suggestions please?
I have tried with "hg38" and now probably it is working. Could you please rerun for whether resolved automatically.
annots=c("hg38_cpg_islands","hg38_genes_3UTRs","hg38_genes_intergenic","hg38_genes_exonintronboundaries","hg38_lncrna_gencode")
annotations = build_annotations(genome = 'hg38', annotations = annots)
select()' returned 1:1 mapping between keys and columns
Building promoters...
Building 1to5kb upstream of TSS...
Building intergenic...
Building 3UTRs...
Building exons...
Building introns...
Building exon intron boundaries...
Building CpG islands...
snapshotDate(): 2023-10-23
Building lncRNA transcripts...
loading from cache
Have you changed the url in the source file? If not, then do as i commented before and try again. Make sure you restart your R session once you reinstall the new updated package.
I didn't have this problem on a fresh install. I think this is actually a transient issue. I was able to build hg19, hg38, and mm10 lncRNA resources.
Moreover, I have been able to build the CpG island annotations that were also mentioned in this thread.
Hi, I'm having the following error in build_annotations. Any idea will be highly appreciated.
detailed commands are below:
Thanks in advance.