Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not parse metadata by providing the metadata file. #2

Open
thy-chan opened this issue Mar 12, 2018 · 8 comments
Open

Can not parse metadata by providing the metadata file. #2

thy-chan opened this issue Mar 12, 2018 · 8 comments

Comments

@thy-chan
Copy link

thy-chan commented Mar 12, 2018

I'm trying to use 'gdcParseMetadata()' to parse metadata by providing the metadata file, but find that the format of the metadata file in GDC has been change recently.
So, I want to know how long the GDCRNATools can be updated.
Thanks!

`
##############################################################################

Error in vapply(seq_len(nSam), function(i) metadata[[i]]$cases[[1]]$samples[[1]]$submitter_id, :
值的长度必需为1,
但FUN(X[[1]])结果的长度却是0
Calls: source ... withVisible -> eval -> eval -> gdcParseMetadata -> vapply
停止执行
`

@Jialab-UCR
Copy link
Collaborator

@thy-chan Hi, could you please tell me the project you are trying to parse? Thanks

@thy-chan
Copy link
Author

RNA-Seq files in TCGA-BRCA. The format of the metadata file has changed so that the GDCRNATools can't parse it. image

@Jialab-UCR
Copy link
Collaborator

@thy-chan Thank you so much for the reminder. I have just checked the JSON file in GDC and they do have changed the format. There's very little information in the file now, so I recommend that you can parse metadata use the automatic mode (eg., meta <- gdcParseMeta(project.id='TCGA-BRCA', data.type='RNAseq'), and then select the sample you'd like to use. Thanks

@thy-chan
Copy link
Author

Yes, the information in the GDC's JSON file is reduced. I think the GDC extracts other information separately and puts it in other files, such as the Biospecimen and Sample sheet in the screenshot. Thanks

@brcangs
Copy link

brcangs commented May 24, 2018

Parsing the metadata using the automatic mode for the TCGA-BRCA project does unfortunately not seem to work either:

> metaMatrix <- gdcParseMetadata(project.id='TCGA-BRCA', data.type='RNAseq')
Error in vapply(seq_len(nSam), function(i) null2naFun(metadata[[i]]$cases[[1]]$demographic$gender), :
values must be type 'character',
but FUN(X[[297]]) result is type 'logical'

@ChengYunazhi
Copy link

I got a same error when parsing TCGA-COAD metadata, here it is:
qq 20180823170957

the command used:
qq 20180823171348

@yinlisssss
Copy link

HI, is this because of my internet problem?
or?
thank you very much

metaMatrix.MIR <- gdcParseMetadata(project.id = "TCGA-LUSC",

  •                                data.type  = "miRNAs")
    

Error in file(con, "r") : cannot open the connection
In addition: Warning message:
In file(con, "r") : InternetOpenUrl failed: '操作超时'

@CavinChan
Copy link

I got an error when automatic download RNAseq data, here it is:
image
the command used:
image
an error when Merge RNAseq data:
image
thank you very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants