Thanks for the details, very precise!
One more thing, do you think it would be possible to write a program to merge the files rather than converting them to intermediary formats? Our use case is a bit different, we're trying to create a web interface where it would be possible to select regions of bigWig files and merge them on-the-fly, therefore we need the operation to complete in the smallest amount of time possible.
Any pointers on how to implement this would be welcome (python libs, specs, etc) :)
Solution 1: Create a new tool from Kent's source to do exactly that, called
bigWigMergePlus. It's downloadable here, and the buildable source is here.Solution 2: slice the bigWig through bigWigToWig, then convert them back using wigToBigWig, and finally merging them with bigWigMerge. The output is kept as a bedGraph instead of bigWig. Here is a NodeJS script to do all that in a single command: gist