Adapt FragmentFingerprint from here: https://github.com/c-feldmann/compchemkit/blob/master/compchemkit/fingerprints.py#L318
Adapt FragmentFingerprint from here: https://github.com/c-feldmann/compchemkit/blob/master/compchemkit/fingerprints.py#L318