get_file_object

pylluminator.read_idat.get_file_object(filepath)

Get an opened file object. Unzip if filepath is a .gz file.

Parameters:

filepath – a string, or path-like object. If the input argument is a string, it will attempt to open the file in ‘rb’ mode

Returns:

a file-like object based on the provided input.