Add tests for BAM indexing.
Merge branch 'master' into bam_index
Initial implementation of index generation tools. Generates indexes for every output bam.
Update indexing to match samtools output closer.
Update indexing tests to compare with samtools output.
Attempt to solve 32 bit compilation issue reported by Ben Katz.