download_fps

download_fps(version=None, *, prefix=None, return_version=False)[source]

Ensure the latest ChEMBL fingerprints file is downloaded.

This file contains 2048 bit radius 2 morgan fingerprints.

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

  • prefix (Optional[Sequence[str]]) – The directory inside pystow to use

  • return_version (bool) – Should the version get returned? Turn this to true if you’re looking up the latest version and want to reduce redundant code.

Return type:

Union[Path, Tuple[str, Path]]

Returns:

If return_version is true, return a pair of the version and the local file path to the downloaded *.fps.gz file. Otherwise, just return the path.