I have exon datasets (aligned BAM) files downloaded. I now need the metadata information for the same samples. How can I download or extract them given the manifest information of all samples.
I have read through the GDC API, however, I am not clear how could get the metadata as tsv file.
I saw the following shell script using curl.
curl --request POST --header "Content-Type: application/json" --data @Payload.txt 'https://api.gdc.cancer.gov/files' > File_metadata.txt
However, I dont understand where to give a
list or set of UUID from the maifest file.
- I Have UUIDs in my manifest files for all samples or datset I have downloaded, now I need metadata file in
- How can download it? is there a shell or python script for the same ?
Any help/suggestions are appreciated !