get_pkg_data_filename

openomics.utils.get_pkg_data_filename(dataurl, file)[source][source]

Downloads a remote file given the url, then caches it to the user’s home folder.

Parameters
  • dataurl – Url to the download path, excluding the file name

  • file – The file path to download

Returns

A file path on the local file system corresponding to the data requested in data_name.

Return type

filename (str)