Trouble reading .mat files in Python

73 views Asked by At

Whenever I try to read a .mat file in Python, I get the following error message

ValueError: Unknown mat file type, version 9, 99

The particular dataset I want to open is here, named "GSE137764_HCT_GaussiansGSE137764_mooth_scaled_autosome.mat".

I have tried to follow the multiple solutions available here, but I keep getting the same error. In particular, I do not use MATLAB, so I can't really do save('myfile.mat','-v7'), for example. Any ideas?

1

There are 1 answers

2
Daraan On

It is a "normal" csv file, just not named like one.

pd.read_csv("GSE137764_HCT_GaussiansGSE137764_mooth_scaled_autosome.mat", delimiter="\t", low_memory=False)