Comments (8)
- 7 is reasonable, 10 is the default inherited from Kent's tools. 0 is problematic since IGV and a few other tools will completely break.
- I think that's the only trade off.
- The
FromFull
version will calculate the stats on the intervals themselves, as opposed to plainbwStats
which will use the zoom levels. The latter will better match what Kent's tools will do or what you'd eye ball in IGV/IGB and be faster, the former is more formally correct but a bit slower. - Truth be told that's how I end up making most bigWig files (in deepTools we basically make a bunch of little bedGraphs and then add each entry line-by-line to the bigWig). It will be notably faster to use an array of values, but that's often just awkward to code and the performance is often still "good enough".
from libbigwig.
great. thanks for the replies. I have stubbed out a function to add a list of intervals that
adds the first with bwAddIntervals and all other intervals with bwAppendIntervals, largely since the latter doesn't need a chromosome for each interval. do you see any problems with that?
from libbigwig.
That's exactly what the python wrapper does :)
from libbigwig.
cheers.
from libbigwig.
fyi, I now have a fairly complete wrapper here: https://github.com/brentp/libbigwig-nim
this was quite easy thanks to the nice API that you have.
from libbigwig.
Great! I've been thinking about which language to pick up next and had been considering Rust or Go. Would you suggest Nim instead?
from libbigwig.
I would. But Go and Rust are both reasonable alternatives. You can't beat nim for the combination of brevity and performance.
from libbigwig.
Hi Devon,
is there a practical limit on the number of values to add with e.g. bwAppendIntervals?
For example if I add a million intervals spanning a total of 100 million bases, would it be better for later query performance to break those up or does the internal implementation/data structure make this a non-concern?
from libbigwig.
Related Issues (20)
- Clarification over large buffer sizes sought HOT 2
- Slow loading a remote BigWig file HOT 9
- URL with Temporary Redirect HOT 16
- Segmentation fault with sparse data HOT 7
- cache for reading bigwig and bigbed remote files? HOT 1
- Rename io.h to BigWig_io.h HOT 2
- Question: is it possible to merge bigwig files? HOT 6
- Segmentation fault in url_fread HOT 9
- Optionally check new entries for consistency/sanity
- high memory usage during indexing
- Problem with compilation due to curl.h
- Support for extraIndex fields in BigBed files HOT 5
- Trouble with files on Amazon S3 HOT 5
- Search improvement ? HOT 1
- Time for a new release? HOT 1
- Test failures on other architectures HOT 2
- Online docs rendered incorrectly
- Please publish in the README how to run tests HOT 1
- usr/bin/ld: cannot find -lz when installing libBigWig HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libbigwig.