I use bx-python for reading local bigWig files, but I don't believe it works on remote files like bigWigSummary
from kentsrc does, e.g.,
bigWigSummary <http://file.bigWig> chr1 1 100000 10
I suppose one option would be to loosely wrap bigWigSummary
, but does anyone know of an existing way of accessing bigWigs remotely with Python?
I know this is probably not an option for you: perl bindings do support remote files.
Yeah, the goal is to integrate with a lot of other Python code. But thanks for this -- time to read up and see how they did it.