Main Content

Access Data

How can I download BAM index files (BAI files) using the API?

Submitted by Anonymous on

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/53f4ad60-0777-409c-a34d-ca4442dc9c44?related_files=true 

Subscribe to Access Data