Hi,
Following the tips from TCGA UUIDS to TCGA barcode (SampleID) in R, I was able to download metadata associated with the UUIDs from TCGA database. Yet I have trouble understanding the meaning of some column names in the metadata. For example,
cases.0.samples.0.portions.0.slides.2.percent_tumor_cells
is one of such columns, and I want to know what 0
and 2
stand for. Does it mean the 3rd slide of the 1st portion of the 1st sample of the 1st case? If it is the case, it should be tracked by additional columns like slide
, portion
, sample
and case
, rather than being a composite column.
There are many other columns in similar format, such as cases.0.samples.0.portions.0.slides.1.section_location
, cases.0.diagnoses.0.days_to_death
, cases.0.samples.0.portions.1.slides.0.created_datetime
, etc. Does anybody have an idea?
Thanks,
Can you please link to the exact data that you downloaded?
You can find an excerpt (10 samples) of the metadata here . Thanks.
Thanks, but, from where did you obtain this? - GDC Legacy?
I pulled it from GDC website via API:
curl --request POST --header "Content-Type: application/json" --data @Query.txt "https://gdc-api.nci.nih.gov/files" > Metadata.txt
, where Query.txt is a json in such format:{ "filters":{ "op":"and", "content":[ { "op":"in", "content":{ "field":"files.file_id", "value":[ %s ] } }, { "op":"=", "content":{ "field":"files.data_type", "value":"Gene Expression Quantification" } } ] }, "format":"tsv", "fields":%s, "size":"%s" }