genomepy.files.get_file_info
- genomepy.files.get_file_info(fname) Tuple[str, bool]
Returns the lower case file type of a file, and if it is (g)zipped
- Parameters
fname (str) – filename
- Returns
- ext: str
fname file type
- is_compressed: bool
whether fname was (g)zipped
- Return type
tuple