Closed jffpviana closed 1 year ago
Hi,
Apologies for the delay in response. I think this error might be transient? I just did
wget http://fantom.gsc.riken.jp/5/datafiles/phase2.0/extra/Enhancers/mouse_permissive_enhancers_phase_1_and_2.bed.gz
And was able to retrieve the resource. I also ran your code above without issue. This is on an R install that is basically the same as in your sessionInfo()
(thanks for that by the way).
Perhaps you can try it again and let me know if it is, indeed, transient?
Thanks, Raymond
Yes, I no longer have this issue. Thank you!
@jffpviana The same problem occurs for me too. This error is not transient.
If you access FANTOM below, you will get 403 Forbidden(You don't have permission to access this resource). https://fantom.gsc.riken.jp/5/datafiles
Code:
library(annotatr)
annots = c('hg38_cpgs','hg38_basicgenes','hg38_genes_intergenic',
'hg38_genes_intronexonboundaries','hg38_enhancers_fantom','hg38_lncrna_gencode')
annotations = build_annotations(genome = 'hg38', annotations = annots)
Error:
Building enhancers...
snapshotDate(): 2022-10-31
loading from cache
Error in url(x, open = "rb") :
cannot open the connection to 'http://fantom.gsc.riken.jp/5/datafiles/phase2.0/extra/Enhancers/human_permissive_enhancers_phase_1_and_2.bed.gz'
sessionInfo()
R version 4.2.2 (2022-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 22621)
Matrix products: default
locale:
[1] LC_COLLATE=Korean_Korea.utf8 LC_CTYPE=Korean_Korea.utf8 LC_MONETARY=Korean_Korea.utf8 LC_NUMERIC=C
[5] LC_TIME=Korean_Korea.utf8
attached base packages:
[1] stats4 stats graphics grDevices utils datasets methods base
other attached packages:
[1] BiocManager_1.30.20 rtracklayer_1.58.0 GenomicRanges_1.50.2 GenomeInfoDb_1.34.9 IRanges_2.32.0 S4Vectors_0.36.2
[7] BiocGenerics_0.44.0 dplyr_1.1.0 xlsx_0.6.5 annotatr_1.24.0
loaded via a namespace (and not attached):
[1] bitops_1.0-7 matrixStats_0.63.0 bit64_4.0.5 filelock_1.0.2
[5] progress_1.2.2 httr_1.4.5 tools_4.2.2 utf8_1.2.3
[9] R6_2.5.1 DBI_1.1.3 colorspace_2.1-0 withr_2.5.0
[13] tidyselect_1.2.0 prettyunits_1.1.1 bit_4.0.5 curl_5.0.0
[17] compiler_4.2.2 cli_3.6.0 Biobase_2.58.0 xml2_1.3.3
[21] DelayedArray_0.24.0 scales_1.2.1 readr_2.1.4 rappdirs_0.3.3
[25] stringr_1.5.0 digest_0.6.31 Rsamtools_2.14.0 rmarkdown_2.20
[29] XVector_0.38.0 pkgconfig_2.0.3 htmltools_0.5.4 MatrixGenerics_1.10.0
[33] dbplyr_2.3.1 fastmap_1.1.1 BSgenome_1.66.3 regioneR_1.30.0
[37] rlang_1.1.0 rstudioapi_0.14 RSQLite_2.3.0 shiny_1.7.4
[41] BiocIO_1.8.0 generics_0.1.3 BiocParallel_1.32.5 RCurl_1.98-1.10
[45] magrittr_2.0.3 GenomeInfoDbData_1.2.9 Matrix_1.5-1 Rcpp_1.0.10
[49] munsell_0.5.0 fansi_1.0.4 lifecycle_1.0.3 stringi_1.7.12
[53] yaml_2.3.7 SummarizedExperiment_1.28.0 zlibbioc_1.44.0 plyr_1.8.8
[57] BiocFileCache_2.6.1 AnnotationHub_3.6.0 grid_4.2.2 blob_1.2.4
[61] parallel_4.2.2 promises_1.2.0.1 crayon_1.5.2 lattice_0.20-45
[65] Biostrings_2.66.0 xlsxjars_0.6.1 GenomicFeatures_1.50.4 hms_1.1.2
[69] KEGGREST_1.38.0 knitr_1.42 pillar_1.8.1 rjson_0.2.21
[73] reshape2_1.4.4 codetools_0.2-18 biomaRt_2.54.0 XML_3.99-0.14
[77] glue_1.6.2 BiocVersion_3.16.0 evaluate_0.20 png_0.1-8
[81] vctrs_0.6.0 tzdb_0.3.0 httpuv_1.6.9 purrr_1.0.1
[85] gtable_0.3.2 cachem_1.0.7 ggplot2_3.4.1 xfun_0.37
[89] mime_0.12 xtable_1.8-4 restfulr_0.0.15 later_1.3.0
[93] tibble_3.2.0 rJava_1.0-6 GenomicAlignments_1.34.1 AnnotationDbi_1.60.2
[97] memoise_2.0.1 ellipsis_0.3.2 interactiveDisplayBase_1.36.0
Interesting, yes, both seem to be failing now. I'll have a look into this and figure out what the right URLs are now.
FYI I believe this is the new path prefix: https://dbarchive.biosciencedbc.jp/data/fantom5/datafiles/LATEST/extra/Enhancers/
I started getting an error this morning, which indicates the oaths in the FANTOM database have changed. Code:
Error: