Ya, it looks like a 2.6 problem - dictionary comprehensions weren't
introduced until 2.7.
Try replacing
{ (RG, read_len) for RG, read_len, bin
in binned_reads.iterkeys()) }
with
dict((RG, read_len) for RG, read_len, bin in binned_reads.iterkeys())
(although there may be other incompatibilities).
I'll either update the code tomorrow or add a version text. Seeing as
2.7 was released 4 years ago I guess I'm not convinced that it's
important to maintain 2.6 compatibility. Thoughts?
Best, Nathan