https://doc.rust-lang.org/std/io/struct.Cursor.html It seems that bam::IndexedReader can be made with path only. It would be good that we can use Cursor for IndexedReader to reduce I/O bottleneck when we need to call many fetch with multithreading.