### BuildBamIndex

USAGE: BuildBamIndex [options]

Generates a BAM index (.bai) file.

Option | Description
--- | ---
INPUT=String | A BAM file or URL to process. Must be sorted in coordinate order. Required.
OUTPUT=File | The BAM index file. Defaults to x.bai if INPUT is x.bam, otherwise INPUT.bai. If INPUT is a URL and OUTPUT is unspecified, defaults to a file in the current directory. Default value: null.