Biostar Beta. Not for public use.
Question: Loading bigiwg into an an array in javascript?
0
Entering edit mode

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.

ADD COMMENTlink 9 months ago endrebak • 760
Entering edit mode
0

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.

ADD REPLYlink 9 months ago
Pierre Lindenbaum
120k
Entering edit mode
0

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.

ADD REPLYlink 8 months ago
endrebak
• 760
Entering edit mode
0

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

ADD REPLYlink 8 months ago
goodez
• 460
Entering edit mode
0

I know :) . I use it in my pyranges-library to write to bigwig: https://github.com/biocore-ntnu/pyranges

ADD REPLYlink 8 months ago
endrebak
• 760

Login before adding your answer.

Similar Posts
Loading Similar Posts
Powered by the version 2.0