- [2024.05.31] We release the arXiv paper.
- [2025. 04] Our paper has been published in Nature Machine Intelligence:
A disease-specific language model for variant pathogenicity in cardiac and regulatory genomics
Huixin Zhan, Jason H. Moore, Zijun Zhang
Nature Machine Intelligence, 2025, pp. 1–11
Publisher: Nature Publishing Group UK London
@article{zhan2025disease,
title={A disease-specific language model for variant pathogenicity in cardiac and regulatory genomics},
author={Zhan, Huixin and Moore, Jason H and Zhang, Zijun},
journal={Nature Machine Intelligence},
pages={1--11},
year={2025},
publisher={Nature Publishing Group UK London}
}
Clinical variant classification of pathogenic versus benign genetic variants remains a challenge in clinical genetics. Recently, the proposition of genomic foundation models has improved the generic variant effect prediction (VEP) accuracy via weakly-supervised or unsupervised training. However, these VEPs are not disease-specific, limiting their adaptation at the point of care. To address this problem, we propose DYNA: Disease-specificity fine-tuning via a Siamese neural network broadly applicable to all genomic foundation models for more effective variant effect predictions in disease-specific contexts.
We evaluate DYNA in two distinct disease-relevant tasks. For coding VEPs, we focus on various cardiovascular diseases, where gene-disease relationships of loss-of-function vs. gain-of-function dictate disease-specific VEP. For non-coding VEPs, we apply DYNA to an essential post-transcriptional regulatory axis of RNA splicing, the most common non-coding pathogenic mechanism in established clinical VEP guidelines. In both cases, DYNA fine-tunes various pre-trained genomic foundation models on small, rare variant sets. The DYNA fine-tuned models show superior performance in the held-out rare variant testing set and are further replicated in large, clinically-relevant variant annotations in ClinVAR. Thus, DYNA offers a potent disease-specific variant effect prediction method, excelling in intra-gene generalization and generalization to unseen genetic variants, making it particularly valuable for disease associations and clinical applicability.
-
dyna_data/:
- For coding variant effect predictions (VEPs), our approach centers on clinical variant sets specifically related to inherited cardiomyopathies (CM) and arrhythmias (ARM). We utilize a pre-compiled dataset comprised of rare missense pathogenic and benign variants, categorized using a cohort-based approach for diseases such as cardiomyopathy and arrhythmias, as detailed in the previous report by Zhang et al. ClinVar CM and ARM datasets include all missense variants in CM and ARM, respectively, are extracted from ClinVar (Landrum et al.).
- In the realm of non-coding VEPs, our focus shifts to splicing-related variants, utilizing a dataset from the multiplexed assay for exon recognition by Chong et al., which highlights the significant impact of rare genetic variants on splicing disruptions. Similarly, the ClinVar Splicing dataset, compiled from ClinVar, encompasses all benign sequences and pathogenic variants pertinent to splicing.
- For the ClinVar CM and ARM datasets, we translate the DNA sequences into protein sequences using the human genome assembly hg38 from NCBI. We employed the GFF file, MANE.GRCh38.v1.1.ensembl_genomic.gff.gz from NCBI, to annotate coding versus non-coding regions for each gene, as only coding DNA sequences are translated into proteins. Use the following command to download this file:
wget ftp://ftp.ebi.ac.uk/pub/databases/ensembl/release-104/gff3/homo_sapiens/MANE.GRCh38.v1.1.ensembl_genomic.gff.gz
- Additionally, protein domains, cataloged in the Pfam database (Finn et al.), are essential for the functional characterization of proteins. These domains are identified by aligning the translated sequences to known domain structures, thereby facilitating deeper insights into protein function.
- All data is open source at Zenodo.
-
dyna/:
- DYNA employs a Siamese neural network on embeddings generated by two language model branches that share weights. In the context of genomic foundation models, we analyze two distinct types of biological inputs: protein sequences, which represent the coding regions of the genome, and DNA sequences, corresponding to both coding and non-coding regions. This dual approach allows us to comprehensively assess the functional impacts of genetic variations on both the protein products and the regulatory elements.
-
scripts/:
- SLURM batch script to run the
.pyfiles.
- SLURM batch script to run the
-
dyna_model/:
- This link contains 2 DYNA fine-tuned checkpoints. See Google Drive. Replace
/path/to/your/local/modelwith the actual file path to your saved model on your local system.
- This link contains 2 DYNA fine-tuned checkpoints. See Google Drive. Replace
# Create the dyna environment
conda create --name temp_dyna python=3.8
# Activate the environment
conda activate temp_dyna
# Install the pip packages
pip install -r requirements.txt
# You can add the other pip packages from the dyna.yml file one by one if needed
sbatch scripts/test_gpu.sh
The fine-tune experiments were conducted using 1-4 Nvidia A100 GPUs.

