BioinformaticsFMRP / TCGAbiolinks

TCGAbiolinks
http://bioconductor.org/packages/devel/bioc/vignettes/TCGAbiolinks/inst/doc/index.html
289 stars 110 forks source link

GDCprepare error "all assays must have the same nrow and ncol" #486

Closed pauladb1 closed 2 years ago

pauladb1 commented 2 years ago

Hey, I always use this package to download seqdata from TCGA and it always worked, but I am getting an error for the first time with TCGA-PAAD (pancreas)

This is my code:

#Searching TCGA-PAAD
query.PAAD1 <- GDCquery(project ="TCGA-PAAD", legacy=TRUE, data.category="Gene expression", data.type="Gene expression quantification", file.type="results", sample.type="Primary Tumor", platform = "Illumina HiSeq", experimental.strategy = "RNA-Seq")

#Downloading it
GDCdownload(query.PAAD1)

#GDCprepare 
paad.prepare.tumor <- GDCprepare (query=query.PAAD1, save=TRUE, save.filename="PAAD_Tumor", summarizedExperiment=TRUE)

And this is the error I got:

Starting to add information to samples
 => Add clinical information to samples
 => Adding TCGA molecular information from marker papers
 => Information will have prefix 'paper_' 
paad subtype information from:doi:10.1016/j.ccell.2017.07.007
Error in method(object) : all assays must have the same nrow and ncol

I have checked the cases and tried to upload the package, but didn't solve it.

pauladb1 commented 2 years ago

Edit: I am trying to repeat the code for the TCGA-CHOL (which I know it worked before) and now I am getting the same error. How can I solve this? Do I need to desinstall the package and to install it again?

tiagochst commented 2 years ago

Please, Which version of TCGAbiolinks you have ? Version 2.22.3 is working for me.

You can update with the github version with: BiocManager::install("BioinformaticsFMRP/TCGAbiolinks")

pauladb1 commented 2 years ago

Oh god, I was trying to upload it with that but it didn't work, something corrupted at my files and I just restarted the R session, tried again and now it is uploaded and working! Thank you