It would be preferable to make this more generic. E.g., instead of taking in a sequence dictionary, it could take in a range. Then, we could have an accompanying object that would generate a GenomicRegionPartitioner given a SequenceDictionary, Range, Start/End, etc.

Also, what does the scatter parameter do? Can you add scaladocs to clarify?