Abstract
Noncoding genomic variations are crucial for the genetic regulation of traits; however, their functional impact in farmed animals remains underexplored due to limited genomic resources and the absence of tailored computational tools. Here, we present a deep learning-based framework that utilizes functional genomic data to generate genome-wide predictions of the regulatory impact of noncoding variants in cattle, chicken, pig, and Atlantic salmon. By leveraging chromatin profiles such as assay for transposase-accessible chromatin, DNase I hypersensitive site, and chromatin immunoprecipitation sequencing data, we train and optimize separate deep networks for each species, achieving robust sequence modeling accuracy specific to each. Motif analysis confirms that the models capture regulatory grammar, while in silico saturation mutagenesis experiments provide meaningful interpretations of the functional impact of putative causal variants. Furthermore, functional scores derived from these models predict expression quantitative trait loci causal variants and enhance genomic prediction performance. Our findings highlight the transformative potential of sequence-to-function models in prioritizing causal variants and improving genomic prediction for livestock and aquaculture animals.
Introduction
Noncoding genomic variations are known to constitute the majority of disease- and complex trait-associated single-nucleotide polymorphisms (SNPs) [1–3]. Despite the success in identifying these variants, it remains challenging to accurately determine which ones are causal based solely on association results, as many neutral genomic variants are also significantly associated with traits in GWAS due to linkage disequilibrium [4]. To complement the limitations of population-based association studies, high-throughput functional assays of regulatory elements such as DNase I hypersensitive sites (DHSs) [5], assay for transposase-accessible chromatin with sequencing (ATAC-seq) [6], and chromatin immunoprecipitation sequencing (ChIP-seq) [7] have become invaluable tools for detecting cis-regulatory elements (CREs) and prioritizing putative noncoding causal variants.
The advancement of deep learning, combined with the availability of large-scale functional annotations from projects like ENCODE [8] and Roadmap Epigenomics [9], has transformed the training of deep models for predicting chromatin states and assessing the impact of noncoding variants from DNA sequences in human genomics. In principle, deep neural networks are initially trained to differentiate putative regulatory sequences from background DNA sequences [10–12] or to directly predict experimental read coverage from high-throughput functional assays [13, 14]. Subsequently, these models are applied to predict the regulatory impact of any genetic variants by analyzing the disparities between reference and alternative alleles. Due to rapid advancements in artificial intelligence, deep models for regulatory genomics have evolved into various architectures that continuously improve modeling performance. Notable architectures include DeepSEA and Basset, which are purely convolutional neural networks (CNNs) [10, 12]; Basenji, which employs dilated CNNs [13]; DanQ and DeepATT, which are hybrid CNNs with recurrent neural networks [11, 15]; and DeepFormer and Enformer, which are hybrid CNNs with transformers [14, 16].
In the realm of livestock and aquaculture genomic research, understanding the functional impact of noncoding variants is equally important. Variants in CREs can significantly influence transcriptional regulation, affecting traits of economic importance [17]. However, the exploration of functional noncoding variants in these species has fallen behind human genomics, primarily due to the absence of specialized functional genomic resources and tailored computational tools.
Genomic prediction has revolutionized livestock breeding by enabling the selection of individuals based on dense genomic marker information, thus increasing the precision of breeding value predictions for economically important traits [18–21]. Despite its transformative success, genomic prediction primarily relies on SNPs as markers without considering the functional impact of the variants that potentially help to improve genomic prediction performance. The reason for this stems from the lack of effective methods for prioritizing functional variants, highlighting the urgent need for approaches to predict the impact of regulatory sequence variation in farmed animals.
In this work, we develop deep learning-based sequence models that utilize large-scale functional genomic datasets from multiple species, including cattle, pigs, chickens, and Atlantic salmon. These datasets feature ATAC, DHS, histone modification, and transcription factor ChIP-seq profiles [22, 23] to prioritize functional variants. We evaluate variant effect predictions using expression quantitative trait loci (eQTL) data from large consortium projects, demonstrating that the models effectively predict putative functional variants. The predicted scores further enhance genomic prediction as illustrated in a case study with Atlantic salmon. Overall, our proposed functional scores show significant potential for prioritizing causal variants and enhancing genomic prediction practices in livestock and aquaculture breeding.
Materials and methods
Datasets
An overview of the study is shown in Fig. 1, which comprises three main steps: (i) data collection and preprocessing, (ii) deep learning model training and optimization, and (iii) regulatory impact inference. First, chromatin profile peaks from multiple farmed animal species are collected and preprocessed to obtain sequences and labels for deep model training (Fig. 1A and B). Next, we evaluate the performance of two widely used deep learning architectures for regulatory sequence modeling and variant impact prediction, DeepSEA [10] and DanQ [11], by testing different learning rates and applying the commonly used hold-out chromosome validation approach to identify the optimal model for each species (Fig. 1C). Finally, the best-performing models are used to infer the impact of regulatory variants for the corresponding species (Fig. 1D). Further details are provided in the following sections.
Figure 1.
Overview of the study. (A) Summary of chromatin profiles used for each species. (B) Data preprocessing workflow for generating sequence-level labels. (C) Deep learning model training and optimization, using a one-hot encoded DNA sequence matrix of size 1000 × 4 as input and producing a binary label vector of length equal to the number of chromatin profiles as output. (D) Variant impact inference scheme.
Training data
To train the machine learning models, we gather chromatin feature peaks from cattle (Bos taurus), pig (Sus scrofa), chicken (Gallus gallus), and Atlantic salmon (Salmo salar), sourced from the FAANG [22] and AQUA-FAANG [23] projects. For cattle, pig, and chicken, we utilize 95, 80, and 97 chromatin profiles, respectively, including data on histone modifications, CCCTC-binding factor (CTCF) ChIP-seq, DHS, and ATAC-seq across eight tissues: liver, lung, spleen, skeletal muscle, subcutaneous adipose, cerebellum, brain cortex, and hypothalamus. For Atlantic salmon, we use 301 profiles from histone modification, ChIP-seq, and ATAC-seq experiments across five tissues: brain, liver, gill, gonad, and muscle. Detailed statistics are provided in Fig. 1A.
For each species, we start by downloading the appropriate genome assembly version used for peak calling from the Ensembl database and then divide the genome into 200-bp bins starting from the first nucleotide of each chromosome. Specifically, we utilize the ARS-UCD1.2 genome for cattle, Sscrofa11.1 for pig, GalGal6 for chicken, and Ssal_v3.1 for Atlantic salmon. DNA sequences are extracted from each bin and encoded using a one-hot scheme: A = [1,0,0,0], C = [0,1,0,0], G = [0,0,1,0], T = [0,0,0,1], and N = [0,0,0,0]. To meet the input context length required by DeepSEA and DanQ, we include the sequences of two bins upstream and downstream of each target bin, concatenating them to create a final 1000-bp training sequence. The 200-bp bin for labeling ensures precise annotation of chromatin features, while the larger input window is designed to capture broader sequence dependencies and context, which is essential for learning complex regulatory grammar across diverse genomic backgrounds [10]. To label each DNA bin, we use BEDTools [24] to evaluate overlaps between bin coordinates and chromatin peak regions. Following the DeepSEA approach [10], a bin is assigned a label of 1 if at least 50% of its length overlaps with a peak region; otherwise, it is assigned 0. This process generates a label vector for each 200-bp bin, with the vector size corresponding to the number of chromatin profiles, as illustrated in Fig. 1B. Overall, the data processing pipeline generates ~17.6, 8.0, 17.3, and 15.7 million examples, with average positive label fractions of 1.51%, 2.96%, 2.67%, and 0.59% for cattle, chicken, pig, and salmon, respectively.
All autosomes, excluding those designated for validation and testing, are used for training. For cattle, chicken, and pig, held-out validation and test sets are fixed, nonoverlapping chromosome splits to ensure data independence and avoid leakage, similar to previous studies in model species [10–12]. Chromosome 21 is used for validation and chromosome 25 for testing in cattle and chicken, while chromosomes 16 and 17 are used for validation and testing, respectively, in pig. For salmon, due to the whole-genome duplication event resulting in highly similar genomic regions [25], random chromosome selection alone can not avoid data leakage during training. Instead, chromosomes 21 and 25, which are known to be duplicated, are kept for validation and testing.
Model architectures
DeepSEA [10] utilizes a three-block convolutional architecture for feature extraction. The first convolutional block consists of 320 filters with a kernel size of 8, followed by ReLU activation, max pooling with a window size of 4, and dropout with a probability of 0.2. The second block extends this architecture with 480 filters of the same size, applying identical pooling operations and maintaining the dropout rate of 0.2. The third block further increases the complexity by incorporating 960 filters and includes a higher dropout rate of 0.5 to better address over fitting. Following the convolutional and pooling operations, the network flattens the output and processes it through two fully connected layers to produce the final classification outputs.
DanQ [11] begins with a convolutional block that applies 320 filters of size 26 to the input sequences, followed by ReLU activation, max pooling with a window size of 13, and dropout with a probability of 0.2. The output of this block is then fed into a bidirectional LSTM (long short-term memory) layer, which has 320 hidden units and processes the sequence data to capture temporal dependencies. Dropout with a probability of 0.5 is applied to the LSTM output to prevent over fitting. The output is then flattened and passed through two fully connected layers for classification.
Model training and evaluation
Deep learning models are trained using TensorFlow v2.12.0 on an NVIDIA Quadro RTX 8000 GPU, with parameters randomly initialized using TensorFlow’s default settings. For optimization, we apply the widely used procedure for training and evaluating deep models for epigenetic sequence modeling [10, 26, 27]. Binary cross-entropy (BCE) loss function is used as the objective function defined as
, where
is the true label,
is the predicted probability, and
is the number of samples. The Adam optimizer [28] is applied with a weight decay of
and a batch size of 1024. To identify the optimal learning rate for each method–dataset pair, we evaluate four candidate values:
,
,
, and
. Models are trained for up to 100 epochs, with early stopping applied if the validation loss does not improve for 5 consecutive epochs.
Finally, model performance is assessed on hold-out test sets. Both the area under the receiver operating characteristic curve (AUROC) and the area under the precision-recall curve (AUPR) are used to select the best model for each species. These metrics are particularly appropriate for imbalanced classification problems, where AUROC evaluates the trade-off between true positive rate and false positive rate, while AUPR focuses on the model’s ability to correctly identify positive instances, emphasizing precision and recall [29]. Both forward and reverse DNA sequences are used during training, while only forward sequences are considered for validation and final evaluation.
Regulatory impact prediction and in silico saturated mutagenesis
Regulatory impact prediction involves evaluating the potential effects of genetic variants on regulatory activities [10, 12, 30]. For each variant, two 1000-bp sequences centered on the variant position are extracted from the reference genome: one carrying the reference allele and the other carrying the alternative allele. These sequences are used as input to the trained model, which calculates the probabilities
and
that the reference and alternative sequences belong to active chromatin regions, respectively. The regulatory impact of the variant is inferred as the difference between these probabilities
.
In silico saturation mutagenesis extends regulatory impact prediction by evaluating the effect of all possible single-nucleotide substitutions within a predefined genomic region, rather than being limited to known variants. In detail, for each position in the region, all possible alternative nucleotides are substituted into the reference sequence, generating a set of mutated sequences. Each sequence is then passed through the trained model to obtain predicted probabilities of regulatory activity. The effect of a mutation is quantified as the absolute difference in predicted activity between the mutated and reference sequences. This procedure yields a high-resolution map of nucleotide-level regulatory sensitivity, enabling identification of functionally critical sites across the region [12].
Motif analysis
We perform motif analysis by extracting the convolutional filters from the first layer of each trained model and converting them into position probability matrices (PPMs). This is achieved by applying a softmax normalization across the four nucleotides at each position, which converts filter weights into probabilities while preserving relative weight contributions and ensuring each position’s probabilities sum to 1.
For a filter weight matrix
(where 4 represents nucleotides and
is filter length), the conversion for nucleotide
at position
is given by
.
We then compare the resulting PPMs against known transcription factor binding motifs using the TOMTOM algorithm [31], implemented through the MEME Suite web server [32]. We use the JASPAR 2022 CORE non-redundant vertebrates v2 database [33] as the reference motif set.
Fine-mapped eQTL variant classification
To assess the utility of the predicted functional scores, we adopt the methodology described by Avsec et al. [14], focusing on putative eQTL causal variants. Specifically, we utilize the SuSiE [34] fine-mapped results across multiple tissues provided by the PigGTEx consortium [35]. We include only tissues with at least 500 variants having a posterior inclusion probability (PIP) exceeding 0.9 in a credible causal set, resulting in 13 tissue-specific causal variant datasets. Negative sets are matched by sampling variants with
but
for the same gene. If no such variants are available, alternatives are selected from genome-wide variants with
and
.
Using predicted functional scores, we then train separate random forest classifiers for each tissue to distinguish between positive and negative variant sets using 10-fold cross-validation. Default hyperparameters from scikit-learn are used, and 50 iterations of stochastic cross-validation and random forest fitting are performed to estimate model accuracy and its standard deviation.
Genomic selection analysis
As genomic prediction is a core application of livestock and aquaculture genomics, we further evaluate the potential of functional scores for prioritizing SNP sets within genotyping arrays. The Atlantic salmon SNP array, developed by AquaGen, comprises 70 000 markers (70k array) and is downscaled to 9073 SNPs, corresponding to a density of one SNP per 250 kb. Seven SNP sets are constructed: five randomly selected subsets from the 70k array, one functional set comprising the top 9073 SNPs with the highest functional scores across the array, and one functional set consisting of the top 9073 SNPs with the highest functional scores stratified by 250 kb windows (i.e. selecting the SNP with the highest functional score within each bin). Functional scores for ranking SNPs are computed as the average scores derived from epigenomic profiles of brain, gonad, and liver tissues of male Atlantic salmon.
Two widely utilized genomic prediction methods are applied including GCTA-Yang, an SNP-BLUP approach implemented in GCTA, and GCTB-Bayesian, a Bayesian framework implemented in GCTB. The GCTA-Yang method adopts a genomic best linear unbiased prediction framework, assuming equal contributions of all SNPs to the genetic architecture of the trait and leveraging a genomic relationship matrix to predict genetic values [36]. Conversely, the GCTB-Bayesian method fits all genotyped markers simultaneously, accommodating heterogeneity in trait genetic architecture and providing a more flexible framework for genome-wide association studies and genomic prediction [37].
The dataset used in this analysis comprises Atlantic salmon from three cohorts: AS19, AS20, and AS21. Each individual is genotyped for SNPs and assigned a binary phenotype representing late maturation. Covariates, such as year and age, are included to account for environmental and batch effects. The models are trained using data from the combined AS19 and AS20 cohorts and validated on the genetically distinct AS21 cohort, ensuring a robust assessment of model generalizability.
Training is conducted across all SNP sets and prediction methods. Correlations between observed phenotypes and predicted phenotypes are subsequently calculated for each SNP set, providing a quantitative measure of the effectiveness of functional scores in enhancing genomic prediction.
Results
Optimizing chromatin activity modeling for farmed species
To optimize chromatin activity modeling, we evaluate two widely used deep learning architectures, DeepSEA and DanQ, across multiple learning rates. The results are shown in Fig. 2, Supplementary Fig. S1, and Supplementary Tables S1 and S2. Overall, both architectures demonstrate high performance across species, achieving robust AUROC scores. Notably, DanQ dominantly outperforms DeepSEA with slightly higher AUROC scores across species and learning rates tested. For instance, in cattle, the median AUROC score for DanQ ranges from 0.9066 to 0.9110, while DeepSEA achieves scores between 0.9010 and 0.9076. Similarly, in chicken, DanQ scores range from 0.8700 to 0.8825, compared to 0.8616 to 0.8800 for DeepSEA. The advantage of DanQ may be attributed to its ability to model the temporal dynamics of regulatory vocabularies [11]. The AUPR metric further supports this observation. In cattle, DanQ achieves median AUPR scores ranging from 0.4389 to 0.4574, compared to 0.4305 to 0.4561 for DeepSEA. In chicken, DanQ scores range from 0.4544 to 0.4859, while DeepSEA ranges from 0.4171 to 0.4670. For pig, DanQ achieves 0.3255 to 0.3400, slightly higher than DeepSEA’s 0.3107 to 0.3333. In salmon, where predictive performance is generally lower, DanQ achieves AUPR scores ranging from 0.0993 to 0.1288.
Figure 2.
Performance comparison (AUROC scores) across learning rates of DeepSEA and DanQ in four species: cattle, chicken, pig, and salmon.
Building upon these findings, we choose DanQ as the primary method for evaluation by selecting the best-performing DanQ model for each species (Supplementary Table S3). For cattle, the DanQ model trained with a learning rate of
achieves a median AUROC score of 0.9110 and a corresponding median AUPR of 0.4574. Similarly, in chicken, the best DanQ model, trained with a learning rate of
, records a median AUROC score of 0.8825 and a median AUPR of 0.4846. For pig, the highest-performing DanQ model utilizes a learning rate of
, achieving a median AUROC of 0.8512 with a median AUPR of 0.3362. Last, the salmon DanQ model trained at a learning rate of
achieves a median AUROC score of 0.9065 and a corresponding median AUPR of 0.1288.
To gain deeper insights, we explore the variability in performance across epigenetic profiles. As shown in Supplementary Fig. S2, the AUROC scores exhibit significant variation depending on the data type and species. For instance, in cattle, H3K27ac and CTCF data achieve the highest median AUROC scores, while in salmon, H3K4me3 and ATAC/DNase stand out as the best-performing features. Chicken and pig display intermediate performance levels across most features. These results suggest that certain epigenetic features are more informative than others for regulatory activity modeling in the different species. Overall, these results indicate that we have achieved high accuracy, but the effectiveness of regulatory activity modeling varies across species and type of epigenetic features.
Deep models learn transcription factor binding motifs
To verify that the deep models effectively learn regulatory grammar, we conduct motif analysis. Following the approach outlined in the “Materials and methods” section, for each species, we convert the weight matrices from the first convolutional layer of the trained deep models into PPMs. These learned motifs are then compared against the JASPAR 2022 CORE non-redundant v2 database using the TOMTOM algorithm [31].
Among the 320 motifs learned by each DanQ model, 49, 51, 63, and 34 motifs significantly match known motifs in the target database (E-value 0.01) for cattle, chicken, pig, and salmon, respectively. Among the significant matched motifs in cattle, we select four representative motifs and visualize them for illustration, as shown in Fig. 3. These findings suggest that the trained models effectively learn regulatory vocabulary. However, the number of matched motifs is substantially lower than the 166 out of 320 matches reported for the human DanQ model [11]. This disparity may reflect the under-representation of farmed animal motifs in current databases and the limitation in terms of training data for these species.
Figure 3.
Visualization of four motifs GT, BTD, CTCF, and NFIX in cattle.
Functional scores predict eQTL causal variants
The utility of the predicted functional scores is evaluated through random forest classification across 13 pig tissue-specific datasets, distinguishing putative eQTL causal variants from matched negative variants. The mean AUROC scores from 50 iterations of 10-fold cross-validation vary across tissues, highlighting differences in predictive performance. The AUROC scores range from 0.7469 in spleen, which demonstrates the strongest predictive ability, to 0.5226 in uterus, indicating lowest performance. Other tissues exhibit intermediate levels of predictive accuracy, with scores of 0.6018 (lung), 0.5541 (testis), 0.5583 (adipose), 0.5707 (embryo), 0.5519 (ileum), 0.5895 (ovary), 0.5572 (small intestine), 0.5611 (brain), 0.5526 (muscle), 0.5508 (liver), and 0.5261 (blood).
The overall mean AUROC score across all tissues is 0.5726, indicating moderate performance of the functional scores in predicting putative eQTL causal variants. The results, including the mean and standard deviation of model performance, are detailed in Fig. 4. These findings suggest that the predicted functional scores are correlated with eQTL-predicted causal variants, although the strength of correlation varies across tissues.
Figure 4.
Mean and standard deviation of AUROC scores for 50 random forest eQTL causal variant classifiers across 13 pig eQTL datasets.
In silico saturation mutagenesis aids functional interpretation of putative causal variants
A trained model can be used to predict the functional activity of any given sequence, providing a powerful method for understanding and utilizing the regulatory patterns it has learned. In silico saturation mutagenesis experiments, which involve testing every possible mutation in a sequence, serve as an effective tool for identifying the specific nucleotides responsible for functional activity [12]. This approach is similar to standard functional impact prediction, where the difference in probabilities between two genotypes is computed. However, the inference is not limited to the variant position but extends to all possible variants within the targeted region.
We apply this strategy to investigate the putative regulatory variant rs133257289 in cattle, which is the top colocalized SNP of the cis-eQTL of DGAT1 and the GWAS association with protein yield [38, 39]. In Fig. 5, we present heat maps showing the change in predicted chromatin accessibility (mean of liver ATAC-seq tracks) due to mutations at each position, replacing the original nucleotide with each alternative for sequences surrounding the variant. These maps highlight the nucleotides most crucial to a sequence’s activity. For each position, we assign two scores: the loss score, which measures the largest possible decrease in activity, and the gain score, which measures the largest increase.
Figure 5.
In silico saturation mutagenesis experiments of rs133257289, a putative regulatory variant in cattle, which is the top colocalized SNP for the cis-eQTL of DGAT1 and the GWAS association with protein yield.
High gain scores correspond to positions associated with the ZNF740 motif, where mutations disrupt the motif and increase chromatin accessibility. Notably, a G to C mutation aligns with the observed effect size of increased gene expression in the corresponding eQTL test in the liver ( P-value 
, effect size = 0.3123) [38]. These findings highlight the potential of in silico saturation mutagenesis experiments using trained models for interpreting putative causal variants.
Functional impact scores improve genomic selection
To assess the impact of SNP selection strategies on genomic prediction accuracy, we evaluate the predictive correlation between observed and predicted phenotypes across various SNP sets and genomic prediction methods (Fig. 6 and Supplementary Table S4). The SNP sets include the full 70k SNP array, the top 9073 SNPs selected based on functional scores (both genome-wide and within 250 kb bins), and random subsets of 9073 SNPs derived from the 70k array.
Figure 6.
Genomic prediction performance of various SNP sets.
For the GCTA-Yang method, which assumes equal SNP contributions, the full 70k SNP array exhibits the highest predictive performance (correlation = 0.373), followed closely by the functional SNP set stratified by 250 kb bins (correlation = 0.365). SNP sets based on genome-wide functional scores (correlation 0.358) and random subsets of the array (correlation = 0.348 ± 0.0057) show slightly lower predictive correlations. In contrast, the GCTB-Bayesian method demonstrates improved predictive accuracy compared to GCTA-Yang across all SNP sets. The 70k SNP array achieves the highest predictive correlation (mean = 0.421), with functional SNP sets (both genome-wide and per 250 kb bin) showing comparable predictive performance (correlation = 0.404 for both SNP sets). Random SNP subsets yield the lowest predictive correlation under this method (correlation = 0.359 ± 0.0155).
Overall, these findings highlight the potential utility of functional scores in prioritizing SNPs for genomic prediction. Specifically, SNP sets derived from functional annotations perform on par with the full array while significantly outperforming random SNP subsets. The results also demonstrate the advantages of the GCTB-Bayesian method over the GCTA-Yang approach, particularly in scenarios involving the maturation trait in Atlantic salmon.
Discussion
Despite its promise, the application of deep learning for predicting the impact of genetic variants in farm animals remains underexplored [40, 41]. This study presents four deep learning sequence-to-function models, each trained on diverse functional genomics data from cattle, pigs, chickens, or salmon. We demonstrate the model’s ability to learn regulatory motifs and predict regulatory impact of noncoding variants. By enabling more precise identification of functional variants, these models can support more informed breeding decisions, ultimately contributing to sustainable improvements in livestock productivity and resilience. This work sets a foundation for further research and application of deep learning in the field of animal genomics.
We tried both the DeepSEA and DanQ deep learning architectures, settling on the DanQ architecture as it consistently returned higher AUROC scores in all species. This difference in performance between the architectures was also shown in the original DanQ model that was trained on human data [11], indicating that the finding generalizes well across species. The key difference between these architectures is the recurrent bLSTM block used in DanQ, which has the ability to learn positional dependencies in the sequence, possibly reflecting the nature of the regulatory grammar.
Our motif analysis highlights the biological relevance of these models, demonstrating their ability to learn sequence patterns corresponding to known transcription factor binding sites. The DanQ model, with its single convolutional layer and long filters, is particularly suited for such analyses, as these filters effectively function as motif detectors. We identified various significant motifs in all species, underscoring the models’ capability to capture regulatory elements even with limited training datasets in farmed animals. However, the reduced number of detected motifs compared to the human DanQ model may stem from key differences in the datasets. The original DanQ model was trained on comprehensive functional data with a large amount of TF ChIP-seq data making it to learn binding motifs specific to transcription factors in the dataset. In contrast, our models rely on broader chromatin accessibility profiles, which may limit motif specificity. Another factor to consider is the evolutionary divergence between species; transcription factors in distant species compared to the reference database, such as salmon, may recognize motifs distinct from those in human or mouse, further influencing motif detection. These findings highlight the need for more comprehensive functional annotations in nonhuman species, which could enhance both motif discovery and overall model performance.
The application of in silico saturation mutagenesis demonstrates the practical utility of these models in interpreting putative causal regulatory variants. For instance, the analysis of rs133257289 in cattle reveals specific nucleotide changes that influence chromatin accessibility and align with observed eQTL effects, underscoring the potential of deep learning-based approaches for functional variant interpretation. Such methods provide invaluable insights for identifying candidate variants linked to economically important traits, paving the way for more targeted breeding strategies.
Moreover, our evaluation of functional scores in predicting eQTL causal variants in pig reveals moderate to high accuracy, with performance varying across tissues. Closer examination of the training data reveals that the predictive performance is generally higher in tissues represented in the training chromatin profiles. Notably, spleen (0.7469), lung (0.6018), and liver (0.5508)—which are included in the training data—exhibit relatively stronger performance compared to tissues such as uterus (0.5226), testis (0.5541), and blood (0.5261), which are absent from the training set. This suggests that the presence of tissue-matched chromatin features, including histone modifications, DHS, ATAC-seq, and CTCF binding profiles, enhances the classification of putative eQTLs. Intermediate AUROC values in some tissues may reflect partial similarity or shared regulatory architecture with training tissues. These findings highlight the importance of incorporating diverse, tissue-relevant epigenomic data to improve the generalizability, and predictive power of functional variant scoring models.
Importantly, these functional scores demonstrate significant potential for enhancing genomic selection, as evidenced by their comparable performance to full SNP arrays and their superiority over randomly selected subsets as demonstrated in salmon. This finding suggests that functional annotations can be used to prioritize SNPs for functional-aware array design [42], thereby improving the efficiency and accuracy of genomic prediction.
Finally, we note that class imbalance is a common phenomenon in regulatory sequence modeling, where positive regulatory elements are typically outnumbered by negative examples. Our study adheres to standard practices widely adopted in the field, including those employed by models such as DeepSEA [10], DanQ [11], and PlantDeepSEA [27], which train the models with standard binary cross-entropy objective on genome-wide data. Nevertheless, a systematic investigation into the impact of class imbalance on model performance and solutions for improving generalization are still lacking and would be a valuable direction for future research.
Conclusion
Overall, this study demonstrates the feasibility and utility of deep learning-based approaches for predicting the regulatory impact of noncoding variants in farmed species. By leveraging functional genomic data, our models achieve high predictive accuracy, uncover regulatory grammar, and provide actionable insights for genomic selection. The integration of functional annotations into breeding programs offers a promising approach for enhancing the precision and efficiency of livestock and aquaculture genomics. Future work should focus on expanding functional genomics resources for farmed species and exploring the application of these methods to other economically important organisms.
Supplementary Material
Acknowledgements
The authors would like to thank the AQUA-FAANG consortium for granting access to the dataset and the Orion HPC for providing computational resources. Large language models were used to improve the wording and grammar of some texts, but not to generate new content.
Author contributions: D.T.N: conceptualized and implemented the methods, designed and analyzed the data, and wrote the manuscript with inputs from other co-authors. T.M.K: conceptualized and implemented the genomic prediction experiment. L.G., S.R.S. and S.L.: contributed to discussions, manuscript review, and project administration. All authors read and approved the manuscript.
Notes
Present address: Centre for Precision Psychiatry, Institute of Clinical Medicine, University of Oslo, 0424Oslo, Norway
Contributor Information
Dat Thanh Nguyen, Centre for Integrative Genetics, Faculty of Biosciences, Norwegian University of Life Sciences, 1432 Ås, Norway.
Tim Martin Knutsen, AquaGen AS, P. O. Box 1240, NO-7462 Trondheim, Norway.
Simen R Sandve, Centre for Integrative Genetics, Faculty of Biosciences, Norwegian University of Life Sciences, 1432 Ås, Norway.
Sigbjørn Lien, Centre for Integrative Genetics, Faculty of Biosciences, Norwegian University of Life Sciences, 1432 Ås, Norway.
Lars Grønvold, Centre for Integrative Genetics, Faculty of Biosciences, Norwegian University of Life Sciences, 1432 Ås, Norway.
Supplementary data
Supplementary data is available at NAR Genomics & Bioinformatics online.
Conflict of interest
T.M.K is employed by Aquagen AS. The remaining authors declare no conflict of interest.
Funding
This work was funded by the Norwegian University of Life Sciences (NMBU) through a doctoral research fellowship. D.T.N. also gratefully acknowledges the financial support from internal funding scheme at Norwegian University of Life Sciences (project number 1211130114), which financed the international stay at Queensland Institute of Medical Research, Brisbane, Australia.
Data availability
The deep learning models and full Nextflow codes to reproduce data preprocessing and training are available at https://doi.org/10.6084/m9.figshare.28547183.v1 or https://github.com/datngu/DeepFARM. Trained model weights, data supporting the findings, and source codes for data analyses and generating figures for this study are available at https://github.com/datngu/DeepFARM_paper or https://doi.org/10.6084/m9.figshare.29433326.v1. Functional datasets are available in its original publications [22, 23] at http://farm.cse.ucdavis.edu and https://salmobase.org/. Cattle GTEX and Pig GTEX data are available at https://cgtex.roslin.ed.ac.uk/ and https://piggtex.ipiginc.com/. The datasets used in genomic prediction analysis are property of Aquagen AS that need permission to access.
References
- 1. Buniello A, MacArthur JAL, Cerezo M et al. The NHGRI-EBI GWAS Catalog of published genome-wide association studies, targeted arrays and summary statistics 2019. Nucleic Acids Res. 2019;47:D1005–12. 10.1093/nar/gky1120. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2. Hu ZL, Park CA, Reecy JM. Building a livestock genetic and genomic information knowledgebase through integrative developments of Animal QTLdb and CorrDB. Nucleic Acids Res. 2019;47:D701–10. 10.1093/nar/gky1084. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3. Tian D, Wang P, Tang B et al. GWAS Atlas: a curated resource of genome-wide variant-trait associations in plants and animals. Nucleic Acids Res. 2020;48:D927–32. 10.1093/nar/gkz828. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4. Tam V, Patel N, Turcotte M et al. Benefits and limitations of genome-wide association studies. Nat Rev Genet. 201;20:467–84. 10.1038/s41576-019-0127-1. [DOI] [PubMed] [Google Scholar]
- 5. Thurman RE, Rynes E, Humbert R et al. The accessible chromatin landscape of the human genome. Nature. 2012;489:75–82. 10.1038/nature11232. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6. Buenrostro JD, Giresi PG, Zaba LC et al. Transposition of native chromatin for fast and sensitive epigenomic profiling of open chromatin, DNA-binding proteins and nucleosome position. Nat Methods. 2013;10:1213–8. 10.1038/nmeth.2688. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7. Johnson DS, Mortazavi A, Myers RM et al. Genome-wide mapping of in vivo protein–DNA interactions. Science. 2007;316:1497–502. 10.1126/science.1141319. [DOI] [PubMed] [Google Scholar]
- 8. Consortium EP. An integrated encyclopedia of DNA elements in the human genome. Nature. 2012;489:57–74. 10.1038/nature11247. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9. Kundaje A, Meuleman W, Ernst J et al. Integrative analysis of 111 reference human epigenomes. Nature. 2015;518:317–30. 10.1038/nature14248. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10. Zhou J, Troyanskaya OG. Predicting effects of noncoding variants with deep learning–based sequence model. Nat Methods. 2015;2:931–4. 10.1038/nmeth.3547. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11. Quang D, Xie X. DanQ: a hybrid convolutional and recurrent deep neural network for quantifying the function of DNA sequences. Nucleic Acids Res. 2016;44:e107. 10.1093/nar/gkw226. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12. Kelley DR, Snoek J, Rinn JL. Basset: learning the regulatory code of the accessible genome with deep convolutional neural networks. Genome Res. 2016;26:990–9. 10.1101/gr.200535.115. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13. Kelley DR, Reshef YA, Bileschi M et al. Sequential regulatory activity prediction across chromosomes with convolutional neural networks. Genome Res. 2018;28:739–50. 10.1101/gr.227819.117. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14. Avsec Ž, Agarwal V, Visentin D et al. Effective gene expression prediction from sequence by integrating long-range interactions. Nat Methods. 2021;18:1196–203. 10.1038/s41592-021-01252-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15. Li J, Pu Y, Tang J et al. DeepATT: a hybrid category attention neural network for identifying functional effects of DNA sequences. Brief Bioinform. 2021;22:bbaa159. 10.1093/bib/bbaa159. [DOI] [PubMed] [Google Scholar]
- 16. Yao Z, Zhang W, Song P et al. DeepFormer: a hybrid network based on convolutional neural network and flow-attention mechanism for identifying the function of DNA sequences. Brief Bioinform. 2023;24:bbad095. 10.1093/bib/bbad095. [DOI] [PubMed] [Google Scholar]
- 17. Houston RD, Bean TP, Macqueen DJ et al. Harnessing genomics to fast-track genetic improvement in aquaculture. Nat Rev Genet. 2020;21:389–409. 10.1038/s41576-020-0227-y. [DOI] [PubMed] [Google Scholar]
- 18. Meuwissen TH, Hayes BJ, Goddard M. Prediction of total genetic value using genome-wide dense marker maps. Genetics. 2001;157:1819–29. 10.1093/genetics/157.4.1819. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19. Calus MP. Genomic breeding value prediction: methods and procedures. Animal. 2010;4:157–64. 10.1017/S1751731109991352. [DOI] [PubMed] [Google Scholar]
- 20. Brito LF, Clarke SM, McEwan JC et al. Prediction of genomic breeding values for growth, carcass and meat quality traits in a multi-breed sheep population using a HD SNP chip. BMC Genetics. 2017;18:1–17. 10.1186/s12863-017-0476-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21. Lourenco DA, Fragomeni BO, Tsuruta S et al. Accuracy of estimated breeding values with genomic information on males, females, or both: an example on broiler chicken. Genet Sel Evol. 2015;47:1–9. 10.1186/s12711-015-0137-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22. Kern C, Wang Y, Xu X et al. Functional annotations of three domestic animal genomes provide vital resources for comparative and agricultural research. Nat Commun. 2021;12:1821. 10.1038/s41467-021-22100-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23. Johnston IA, Kent MP, Boudinot P et al. Advancing fish breeding in aquaculture through genome functional annotation. Aquaculture. 2024;583:740589. 10.1016/j.aquaculture.2024.740589. [DOI] [Google Scholar]
- 24. Quinlan AR, Hall IM. BEDTools: a flexible suite of utilities for comparing genomic features. Bioinformatics. 2010;26:841–2. 10.1093/bioinformatics/btq033. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25. Lien S, Koop BF, Sandve SR et al. The Atlantic salmon genome provides insights into rediploidization. Nature. 2016;533:200–5. 10.1038/nature17164. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26. Chen KM, Cofer EM, Zhou J et al. Selene: a PyTorch-based deep learning library for sequence data. Nat Methods. 2019;16:315–8. 10.1038/s41592-019-0360-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27. Zhao H, Tu Z, Liu Y et al. PlantDeepSEA, a deep learning-based web service to predict the regulatory effects of genomic variants in plants. Nucleic Acids Res. 2021;49:W523–9. 10.1093/nar/gkab383. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28. Kingma DP, Ba J. Adam: A method for stochastic optimization. arXiv:14126980, 2014.
- 29. Davis J, Goadrich M. The relationship between Precision-Recall and ROC curves. In: Proceedings of the 23rd International Conference on Machine Learning. 2006, 233–40. New York, NY, USA: Association for Computing Machinery (ACM). 10.1145/1143844.1143874. [DOI] [Google Scholar]
- 30. Lee D, Gorkin DU, Baker M et al. A method to predict the impact of regulatory variants from DNA sequence. Nat Genet. 2015;47:955–61. 10.1038/ng.3331. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31. Gupta S, Stamatoyannopoulos JA, Bailey TL et al. Quantifying similarity between motifs. Genome biology. 2007;8:1–9. 10.1186/gb-2007-8-2-r24. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32. Bailey TL, Johnson J, Grant CE et al. The MEME suite. Nucleic Acids Res. 2015;43:W39–49. 10.1093/nar/gkv416. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33. Castro-Mondragon JA, Riudavets-Puig R, Rauluseviciute I et al. JASPAR 2022: the 9th release of the open-access database of transcription factor binding profiles. Nucleic Acids Res. 2022;50:D165–73. 10.1093/nar/gkab1113. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34. Cui R, Elzur RA, Kanai M et al. Improving fine-mapping by modeling infinitesimal effects. Nat Genet. 2024;56:162–9. 10.1038/s41588-023-01597-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35. Teng J, Gao Y, Yin H et al. A compendium of genetic regulatory effects across pig tissues. Nat Genet. 2024;56:112–23. 10.1038/s41588-023-01585-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36. Habier D, Fernando RL, Garrick DJ. Genomic BLUP decoded: a look into the black box of genomic prediction. Genetics. 2013;194:597–607. 10.1534/genetics.113.152207. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37. Wolc A, Dekkers JC. Application of Bayesian genomic prediction methods to genome-wide association analyses. Genet Sel Evol. 2022;54:31. 10.1186/s12711-022-00724-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38. Liu S, Gao Y, Canela-Xandri O et al. A multi-tissue atlas of regulatory variants in cattle. Nat Genet. 2022;54:1438–47. 10.1038/s41588-022-01153-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39. Cai Z, Iso-Touru T, Sanchez MP et al. Meta-analysis of six dairy cattle breeds reveals biologically relevant candidate genes for mastitis resistance. Genet Sel Evol. 2024;56:54. 10.1186/s12711-024-00920-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40. Ma W, Fu Y, Bao Y et al. DeepSATA: A deep learning-based sequence analyzer incorporating the transcription factor binding affinity to dissect the effects of non-coding genetic variants. Int J Mol Sci. 2023;24:12023. 10.3390/ijms241512023. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41. Zhao R, Owen R, Marr M et al. The potential of regulatory variant prediction AI models to improve cattle traits. bioRxiv, 10.1101/2024.08.01.606140, 06 August 2024, preprint: not peer reviewed. [DOI] [Google Scholar]
- 42. Thanh Nguyen D, Hoang Nguyen Q, Thuy Duong N et al. LmTag: functional-enrichment and imputation-aware tag SNP selection for population-specific genotyping arrays. Brief Bioinform. 2022;23:bbac252. 10.1093/bib/bbac252. [DOI] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
The deep learning models and full Nextflow codes to reproduce data preprocessing and training are available at https://doi.org/10.6084/m9.figshare.28547183.v1 or https://github.com/datngu/DeepFARM. Trained model weights, data supporting the findings, and source codes for data analyses and generating figures for this study are available at https://github.com/datngu/DeepFARM_paper or https://doi.org/10.6084/m9.figshare.29433326.v1. Functional datasets are available in its original publications [22, 23] at http://farm.cse.ucdavis.edu and https://salmobase.org/. Cattle GTEX and Pig GTEX data are available at https://cgtex.roslin.ed.ac.uk/ and https://piggtex.ipiginc.com/. The datasets used in genomic prediction analysis are property of Aquagen AS that need permission to access.






