FIXME: double check if missing quality strings can cause bugs
pull the map of region ids -> reads into a central place

this makes it easier to fiddle with its type. swapping it to vector from
map<int, ...> has proved advantageous the single small chromosome case,
we'll have to see what happens when we run on a whole bam.