// readme

MethylGPT

MethylGPT: a foundation model for the DNA methylome

MethylGPT is a foundation model that learns the co-methylation structure of the human DNA methylome without labels from 169,010 public DNA methylation profiles (145,700 for training) and reads profiles from 27K, 450K, EPIC v1 and EPIC v2 arrays, measured completely or in part. Trained further on age, sex, tissue and 25 published clock outputs, it returns imputed values, latent scores, sample embeddings, age, sex, tissue and the distilled clock outputs.

Code and weights

methylgpt/ holds the methylgpt package (version 1.1.2) with its tutorial and test, the analysis code of the paper, and the vocabulary and split tables; its README explains how to install and run the package. The weights (bundle methylgpt-1.1) are attached to the release v1.1.2.

Data

Training data are available from GEO, the EWAS Data Hub and ClockBase; methylgpt/release_tables/ gives each profile’s identifier, dataset group and split. The…