ESM3 data preparation