genomepy.files.gzip_and_name

genomepy.files.gzip_and_name(fname, gzip_file=True) str

Gzip file if requested.

Parameters
  • fname (str) – path to file

  • gzip_file (bool, optional) – whether to gzip the file

Returns

up to date filename

Return type

str