deeptools/py2bit

.sequence does not work well with int64

Closed this issue · 2 comments

When I use the .sequence function, and start and/or stop are int64, I get this error:
RuntimeError: You must supply at least a chromosome!
The error disappears if I make sure to typecast to int before I call .sequence.

4 years later I obviously didn't get around to doing this "next week". Since the format uses max int32 coordinates, I'm OK with not allowing int64 values to be used.