iterate_fps

iterate_fps(version: VersionHint | None = None, *, prefix: Sequence[str] | None = None, identifier_format: Literal['local', 'curie'] = 'local') Iterable[tuple[str, NDArray[numpy.uint8]]][source]

Download and open the ChEMBL fingerprints via RDKit/Numpy.

Parameters:
  • version – The version number of ChEMBL to get. If none specified, uses latest() to look up the latest.

  • prefix – The directory inside pystow to use

  • identifier_format – Should identifiers get returned as local unique identifiers, or compact URIs (CURIEs)?

Returns:

A pair of identifiers and numpy arrays