The software libbdsg is both:

  • A C++ library (libbdsg)
  • Python bindings (bdsg) Installing with pip only installs python bindings, while installing with cmake grants the full library and the bindings.

Publication and availability

Publication available here, source code available here.

Installation with pip (Python bindings)

Warning

In order to install bdsg, cmake and jansson-devel are required.

You may encounter installation issues with this package when you try to install it with pip. If you happen to be in such a place, you may need to edit something in the source code before installing:

git clone --recurse-submodules git@github.com:vgteam/libbdsg.git
cd libbdsg
nano libbdsg/bdsg/deps/libhandlegraph/src/include/handlegraph/trivially_serializable.hpp
# Add '#include <cstdint>'
python -m pip install . --use-pep517 # pep517 required to trigger installation with .toml file