download_umls_metathesaurus

download_umls_metathesaurus(version=None, *, api_key=None, force=False)[source]

Ensure the given version of the UMLS metathesaurus zip archive.

Parameters:
  • version (Optional[str]) – The version of UMLS to ensure. If not given, is looked up with bioversions.

  • api_key (Optional[str]) – An API key. If not given, is looked up using pystow.get_config() with the umls module and api_key key.

  • force (bool) – Should the file be re-downloaded, even if it already exists?

Return type:

Path

Returns:

The path of the file for the given version of UMLS.