Bioconductor / GenomicDataCommons

Provide R access to the NCI Genomic Data Commons portal.
http://bioconductor.github.io/GenomicDataCommons/
83 stars 23 forks source link

Error 503 #67

Closed bioinfo-dirty-jobs closed 5 years ago

bioinfo-dirty-jobs commented 5 years ago

Here The error:

> GenomicDataCommons::status()
Error in .gdc_get(paste(version, "status", sep = "/"), archive = "default") : 
  Service Unavailable (HTTP 503).

Sessioinfo R version 3.5.2 (2018-12-20) -- "Eggshell Igloo" Copyright (C) 2018 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details.

Natural language support but running in an English locale

R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R.

setwd("~/Desktop/LAVORO_CRO/2019/TCGA/Analisi_paper") setwd("/home/maurizio/Desktop/LAVORO_CRO/2019/TCGA/Analisi_paper/")

serarch case id

cerca caampi

data<-read.table("sarc.uid.csv",header=T) Error in file(file, "rt") : cannot open the connection In addition: Warning message: In file(file, "rt") : cannot open file 'sarc.uid.csv': No such file or directory dati2=files() %>% filter( ~ cases.project.project_id == 'TCGA-OV' &

  • data_type == "Gene Expression Quantification" &
  • analysis.workflow_type=="HTSeq - FPKM-UQ" & samples.sample_type=='Primary Tumor')) %>% ids() Error: unexpected ')' in: " data_type == "Gene Expression Quantification" & analysis.workflow_type=="HTSeq - FPKM-UQ" & samples.sample_type=='Primary Tumor'))" library(GenomicDataCommons) Loading required package: magrittr

Attaching package: ‘GenomicDataCommons’

The following object is masked from ‘package:stats’:

filter

dati2=files() %>% filter( ~ cases.project.project_id == 'TCGA-OV' &

  • data_type == "Gene Expression Quantification" &
  • analysis.workflow_type=="HTSeq - FPKM-UQ" & samples.sample_type=='Primary Tumor') %>% ids() Error in .gdc_get(sprintf("%s/%s", endpoint, "_mapping"), legacy = FALSE) : Service Unavailable (HTTP 503). resp = cases() %>% filter(~ project.project_id=='TCGA-BRCA' &
  • samples.sample_type=='Solid Tissue Normal') %>%
  • GenomicDataCommons::select(c(default_fields(cases()),'samples.sample_type')) %>%
  • response_all() Error in .gdc_get(sprintf("%s/%s", endpoint, "_mapping"), legacy = FALSE) : Service Unavailable (HTTP 503). count(resp) Error in count(resp) : object 'resp' not found res = cases() %>% facet("project.project_id") %>% aggregations() Error in .gdc_get(sprintf("%s/%s", endpoint, "_mapping"), legacy = FALSE) : Service Unavailable (HTTP 503). head(res) Error in head(res) : object 'res' not found GenomicDataCommons::status() Error in .gdc_get(paste(version, "status", sep = "/"), archive = "default") : Service Unavailable (HTTP 503). GenomicDataCommons::status() Error in .gdc_get(paste(version, "status", sep = "/"), archive = "default") : Service Unavailable (HTTP 503).
    
    sessionInfo()
    R version 3.5.2 (2018-12-20)
    Platform: x86_64-pc-linux-gnu (64-bit)
    Running under: Ubuntu 18.04.1 LTS

Matrix products: default BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.7.1 LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.7.1

locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=it_IT.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=it_IT.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=it_IT.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=it_IT.UTF-8 LC_IDENTIFICATION=C

attached base packages: [1] stats graphics grDevices utils datasets methods base

other attached packages: [1] GenomicDataCommons_1.6.0 magrittr_1.5

loaded via a namespace (and not attached): [1] Rcpp_1.0.0 compiler_3.5.2
[3] pillar_1.3.1 GenomeInfoDb_1.18.1
[5] XVector_0.22.0 bindr_0.1.1
[7] bitops_1.0-6 tools_3.5.2
[9] zlibbioc_1.28.0 jsonlite_1.6
[11] tibble_1.4.2 lattice_0.20-38
[13] pkgconfig_2.0.2 rlang_0.3.0.1
[15] Matrix_1.2-15 DelayedArray_0.8.0
[17] rstudioapi_0.8 curl_3.2
[19] yaml_2.2.0 parallel_3.5.2
[21] bindrcpp_0.2.2 GenomeInfoDbData_1.2.0
[23] xml2_1.2.0 dplyr_0.7.8
[25] httr_1.4.0 hms_0.4.2
[27] rappdirs_0.3.1 S4Vectors_0.20.1
[29] IRanges_2.16.0 stats4_3.5.2
[31] grid_3.5.2 tidyselect_0.2.5
[33] glue_1.3.0 Biobase_2.42.0
[35] R6_2.3.0 BiocParallel_1.16.2
[37] readr_1.3.0 purrr_0.2.5
[39] matrixStats_0.54.0 BiocGenerics_0.28.0
[41] GenomicRanges_1.34.0 assertthat_0.2.0
[43] SummarizedExperiment_1.12.0 RCurl_1.95-4.11
[45] lazyeval_0.2.1 crayon_1.3.4

seandavi commented 5 years ago

Hi, @bioinfo-dirty-jobs. A 503 error is coming from the GDC system and means that the GDC service is unavailable (down for maintenance, offline, etc.). While this message is not that useful for interactive use, it can be used to stop analysis workflows that rely on the GDC server being available.

For a more human-readable message about system status, you can check:

https://docs.gdc.cancer.gov/API/Users_Guide/System_Information/

Hopefully, that helps.