A simple, Scala-based framework for extracting data and exporting it to JSON and/or CSV. Convenient for making data that Web/JS visualizations use or for users relying on tools such as JMP, R, Excel, etc.
A failure mode when using the BAM parsing code is when an unaligned BAM is specified. In this case, a bunch of NaN appear and the continuousDist calc ends up throwing an exception.
The exception likely should be avoided in favor of a smarter message that says don't run this on unaligned BAMs.
The more general question is if the code should gracefully squash NaN and return a 0, if no values exist.