GDCquery error downloading TARGET-AML data
1
0
Entering edit mode
18 months ago
Beth ▴ 10

Hello there,

I'm trying to download TARGET-AML data via GDCquery:

library(TCGAbiolinks)
query_target <- GDCquery(project = "TARGET-AML",
                         data.category = "Transcriptome Profiling",
                         data.type = "Gene Expression Quantification",
                         workflow.type = "STAR - Counts")

And I got this error:

Warning messages:
1: In open.connection(con, "rb") :
  URL 'https://api.gdc.cancer.gov/files/?pretty=true&expand=cases,cases.samples.portions.analytes.aliquots,cases.project,center,analysis,cases.samples&size=10246&filters=%7B%22op%22:%22and%22,%22content%22:[%7B%22op%22:%22in%22,%22content%22:%7B%22field%22:%22cases.project.project_id%22,%22value%22:[%22TARGET-AML%22]%7D%7D,%7B%22op%22:%22in%22,%22content%22:%7B%22field%22:%22files.data_category%22,%22value%22:[%22Transcriptome%20Profiling%22]%7D%7D,%7B%22op%22:%22in%22,%22content%22:%7B%22field%22:%22files.data_type%22,%22value%22:[%22Gene%20Expression%20Quantification%22]%7D%7D,%7B%22op%22:%22in%22,%22content%22:%7B%22field%22:%22files.analysis.workflow_type%22,%22value%22:[%22STAR%20-%20Counts%22]%7D%7D]%7D&format=JSON': Timeout of 60 seconds was reached
2: In open.connection(con, "rb") :
  URL 'https://api.gdc.cancer.gov/files/?pretty=true&expand=cases,cases.samples.portions.analytes.aliquots,cases.project,center,analysis,cases.samples&size=10246&filters=%7B%22op%22:%22and%22,%22content%22:[%7B%22op%22:%22in%22,%22content%22:%7B%22field%22:%22cases.project.project_id%22,%22value%22:[%22TARGET-AML%22]%7D%7D,%7B%22op%22:%22in%22,%22content%22:%7B%22field%22:%22files.data_category%22,%22value%22:[%22Transcriptome%20Profiling%22]%7D%7D,%7B%22op%22:%22in%22,%22content%22:%7B%22field%22:%22files.data_type%22,%22value%22:[%22Gene%20Expression%20Quantification%22]%7D%7D,%7B%22op%22:%22in%22,%22content%22:%7B%22field%22:%22files.analysis.workflow_type%22,%22value%22:[%22STAR%20-%20Counts%22]%7D%7D]%7D&format=JSON': Timeout of 60 seconds was reached
3: In open.connection(con, "rb") :
  URL 'https://api.gdc.cancer.gov/files/?pretty=true&expand=cases,cases.samples.portions.analytes.aliquots,cases.project,center,analysis,cases.samples&size=10246&filters=%7B%22op%22:%22and%22,%22content%22:[%7B%22op%22:%22in%22,%22content%22:%7B%22field%22:%22cases.project.project_id%22,%22value%22:[%22TARGET-AML%22]%7D%7D,%7B%22op%22:%22in%22,%22content%22:%7B%22field%22:%22files.data_category%22,%22value%22:[%22Transcriptome%20Profiling%22]%7D%7D,%7B%22op%22:%22in%22,%22content%22:%7B%22field%22:%22files.data_type%22,%22value%22:[%22Gene%20Expression%20Quantification%22]%7D%7D,%7B%22op%22:%22in%22,%22content%22:%7B%22field%22:%22files.analysis.workflow_type%22,%22value%22:[%22STAR%20-%20Counts%22]%7D%7D]%7D&format=JSON': Timeout of 60 seconds was reached

I tried to update TCGAbiolinks via Github repos and update curl also, but it doesn't help.

Maybe someone experienced that problem too?

GDCquery TCGAbiolinks • 1.7k views
ADD COMMENT
0
Entering edit mode
ADD REPLY
0
Entering edit mode

Hey, were you able to solve this issue. I am still getting the same error, I went through the issues on github and updated the package as well however the error still persists. I am hoping you found a solution

ADD REPLY
0
Entering edit mode
ADD REPLY
2
Entering edit mode
13 months ago
ATpoint 82k

Read the error, it says Timeout of 60 seconds was reached -- 60 seconds is the default timeput when downloading files in R. Do this: https://stackoverflow.com/questions/35282928/how-do-i-set-a-timeout-for-utilsdownload-file-in-r and set it to something like 3600. Big files take time, connection might be slow so increase timeout.

ADD COMMENT
0
Entering edit mode

Thanks for pointing that out, naive mistake of not reading the error message completely.

ADD REPLY

Login before adding your answer.

Traffic: 2806 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6