genomepy.files.glob_ext_files

genomepy.files.glob_ext_files(dirname, ext='fa') list

Return (gzipped) file names in directory containing the given extension.

Parameters
  • dirname (str) – Directory name.

  • ext (str , optional) – Filename extension (default: fa).

Returns

file names

Return type

list