genomepy.files.bgzip_and_name

genomepy.files.bgzip_and_name(fname, bgzip_file=True) str

Bgzip file if requested.

Parameters
  • fname (str) – path to file

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

Returns

up to date filename

Return type

str