A fast implementation of FragBag for protein structures and sequences.