How can I download BAM index files (BAI files) using the API?
BAI files are included with the download when using the GDC Data Transfer Tool to download BAM files.
When using the API to download BAM files, BAI files will only be included if the related_files=true parameter is specified together with the BAM UUID, for example:
https://api.gdc.cancer.gov/data/b0986067-67c0-40a9-afeb-264fcddebe96?related_files=true