Nimbigwig is a Nim wrapper for the libBigWig library.
Nimbigwig is distributed as a Nimble package and depends on nimgen and c2nim to generate the wrappers. The libBigWig source code is downloaded using git.
Installation
Nimbigwig can be installed via Nimble:
> nimble install nimbigwig
This will download, wrap and install nimbigwig in the standard Nimble package location, typically ~/.nimble. Once installed, it can be imported into any Nim program.
Usage
Module documentation can be found here.
import nimbigwig/bigWig
echo bwIsBigWig("nimbigwig/test/test.bw", nil)
Credits
Nimbigwig wraps the libBigWig library and all its licensing terms apply to the usage of this package.
Credits go out to c2nim as well without which this package would be greatly limited in its abilities.
Feedback
Nimbigwig is a work in progress and any feedback or suggestions are welcome. It is hosted on GitHub with an MIT license so issues, forks and PRs are most appreciated.