The indexed BAM
bam.iobio needs indexed bam files so that it can sample regions from the entire file. Follow the instructions below to index your bam file and use bam.iobio.
Download and install bamtools using the instructions here
Indexing your BAM
Once you have successfully compiled bamtools, you can index your bam files with the following command:
$ /path/to/bamtools index -in mybam.bam
This commands will create a new file, the index file (.bam.bai). Now you are ready to run bam.iobio, selecting this file and your bam file when prompted.