This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Loading bigiwg into an an array in javascript?

I want to load a bigwig-file into an array in javascript. How do I do that? There are several libraries with bigwig-readers, but I am a newb.

Plus points if you can show me how to only fetch data for a specific range.

bigwig javascript

context is missing: do you want to load in a browser or in a standalone js application ?

but I am a newb.

it will be hard anyway.

I know there are genome browsers that read bw (igv.js and others), so if I could use their functionality, it would be swell. In a standalone application. I was thinking someone knew how to use bigwig.js or something to load it.

Not sure about javascript unfortunately. But, in python there is a very helpful extension called pyBigWig. You can retrieve specific ranges as you desire and many other features.

https://github.com/deeptools/pyBigWig

0 answers

No answers yet.

Log in to answer this question.