Problems when running GDC_prepare in R
0
0
Entering edit mode
leon • 0
@2158037f
Last seen 12 months ago
Macao

Enter the body of text here

Code should be placed in three backticks as shown below

library(TCGAbiolinks)

query <- GDCquery(
  project = "TCGA-LIHC",
  data.category = "Transcriptome Profiling",
  data.type = "Gene Expression Quantification", 
  workflow.type = "STAR - Counts",
  barcode = c("TCGA-DD-A1EG-11A-11R-A213-07", "TCGA-RC-A7SF-01A-11R-A352-07")
)

GDCdownload(query = query,method = "api")

data <- GDCprepare(query = query)

***after running the last codes, I got the following error.***


> library(TCGAbiolinks)
> query <- GDCquery(
+   project = "TCGA-LIHC",
+   data.category = "Transcriptome Profiling",
+   data.type = "Gene Expression Quantification", 
+   workflow.type = "STAR - Counts",
+   barcode = c("TCGA-DD-A1EG-11A-11R-A213-07", "TCGA-RC-A7SF-01A-11R-A352-07")
+ )
--------------------------------------
o GDCquery: Searching in GDC database
--------------------------------------
Genome of reference: hg38
--------------------------------------------
oo Accessing GDC. This might take a while...
--------------------------------------------
ooo Project: TCGA-LIHC
--------------------
oo Filtering results
--------------------
ooo By data.type
ooo By workflow.type
ooo By barcode
----------------
oo Checking data
----------------
ooo Checking if there are duplicated cases
ooo Checking if there are results for the query
-------------------
o Preparing output
-------------------
> GDCdownload(query = query,method = "api")
Downloading data for project TCGA-LIHC
GDCdownload will download 2 files. A total of 8.407686 MB
Downloading as: Tue_Oct_24_16_25_07_2023.tar.gz
Downloading: 1.9 MB     Download completed
**> data <- GDCprepare(query = query)
Error in GDCprepare(query = query) : 
  I couldn't find all the files from the query. Please check if the directory parameter is right or `GDCdownload` downloaded the samples.**

The version of package "TCGAbiolinks " I used is 2.28.4.

TCGAbiolinks error GDC_prepare • 728 views
ADD COMMENT
0
Entering edit mode

In addition, I have check the names and numbers of the files that I download AND all of them were correct. But It is very strange that the files are not in the "GDCdata" folder but in the working directory. So I have to move them to the "GDCdata" folder. But the function "GDCprepare" still not work.

ADD REPLY

Login before adding your answer.

Traffic: 540 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