A simple wrapper on SDSL's FM-index (https://github.com/simongog/sdsl-lite) that allows to build and save a FM index and to search with it a set of patterns in pizza&chili format (see http://pizzachili.dcc.uchile.cl/experiments.html).
git clone https://github.com/nicolaprezza/FMI cd FMI mkdir build; cd build cmake .. build
Run
fmi-build
and
fmi-search
to display usage info.