The pickle object is truncated in the latest database release.
In [4]: import pickle
In [5]: with open("mpa_vOct22_CHOCOPhlAnSGB_202212.pkl", "rb") as f:
...: db = pickle.load(f)
...:
---------------------------------------------------------------------------
UnpicklingError Traceback (most recent call last)
Cell In[5], line 2
1 with open("mpa_vOct22_CHOCOPhlAnSGB_202212.pkl", "rb") as f:
----> 2 db = pickle.load(f)
UnpicklingError: pickle data was truncated
Here’s the versions:
MetaPhlAn version 4.0.6 (1 Mar 2023)
mpa_vOct22_CHOCOPhlAnSGB_202212
Here’s the md5sum:
89a8eeaea5866082be505423fbb7c139 mpa_vOct22_CHOCOPhlAnSGB_202212.pkl