Skip to main content

CRUP: a comprehensive framework to predict condition-specific regulatory units


We present the software Condition-specific Regulatory Units Prediction (CRUP) to infer from epigenetic marks a list of regulatory units consisting of dynamically changing enhancers with their target genes. The workflow consists of a novel pre-trained enhancer predictor that can be reliably applied across cell types and species, solely based on histone modification ChIP-seq data. Enhancers are subsequently assigned to different conditions and correlated with gene expression to derive regulatory units. We thoroughly test and then apply CRUP to a rheumatoid arthritis model, identifying enhancer-gene pairs comprising known disease genes as well as new candidate genes.


Gene expression is to a large degree regulated by distal genomic elements referred to as enhancers [1], which recruit a combination of different factors to activate transcription from a targeted core promoter. The activity state of enhancers may change dynamically across conditions, e.g., across varying time points or disease states. Thus, their activity patterns are central in the context of phenotypic diversity [2, 3], and altered activity can be the source of pathogenic gene-enhancer disruptions and subsequent misregulation [4]. Although the functional importance of enhancers was first observed almost 40 years ago [5], to date, there is neither a complete knowledge of enhancers nor of their regulatory interplay with targeted genes. By analyzing epigenetic profiles of experimentally determined enhancers, e.g., histone modifications (HMs) or binding sites of co-activators like p300 [6] based on ChIP-seq measurements [7], dynamic changes of enhancers were found to be reflected in the epigenetic landscape [8]. However, the majority of condition-specific gene-enhancer pairs have not been discovered, yet [9]. Consequently, to get a glimpse of the underlying causative regulatory mechanism, differential enhancers need to be further associated with promoter activity across the same conditions, e.g., by incorporating RNA-seq experiments [10].

Computational methods that predict enhancer activity based on epigenetic profiles have become an indispensable alternative for cost- and time-consuming experimental procedures over the last years [1114]. Prediction approaches that rely on a pre-defined gold-standard set of enhancers are often prone to be biased for the cell type or tissue that was used for training. Although strategies that address this shortcoming were recently introduced [13], it remains difficult to develop a classification method that is able to generalize across different conditions, especially as there are usually just a few common enhancer features available for all data sets. Apart from that, most of the available computational methods are not automatically providing a way to compare many samples across different conditions, and thus, the assignment of differential regions has to be done separately in a post-processing step, e.g., by overlapping peaks [15].

Furthermore, the allocation of putative target gene promoters remains challenging, especially as enhancers are positioned at various distances from their targeted promoters [16]. Recent methods to determine the contact frequencies between genomic regions, e.g., Hi-C [17, 18], can be used to complement correlation strategies as in previously introduced approaches [9, 19].

We found that there exists no comprehensive and easy-to-use tool that addresses all of the abovementioned issues in a combined way. In this work, we want to overcome this shortage and present the three-step framework Condition-specific Regulatory Units Prediction (CRUP) that combines the prediction of active enhancer elements (CRUP-EP) with condition-specific enhancer dynamics (CRUP-ED) and the identification of concurrently changing enhancer-target pairs (CRUP-ET) in a continuous end-to-end fashioned pipeline.

Our proposed classification method CRUP-EP (enhancer prediction) is based on a random forest approach and can be applied across different cell types and species without the need of being re-trained. CRUP-EP solely requires three HMs determined by ChIP-seq, namely H3K4me1, H3K4me3, and H3K27ac, which are widely accepted to reflect enhancer activity [20, 21] and are among the most informative features for enhancer prediction [13, 14], guaranteeing a broad applicability. Although similar approaches were already used before, e.g., by REPTILE [13], we designed and optimized our classifier such that it builds an appropriate basis for the next two steps of CRUP. Implemented adaptations essential for our framework are, for example, the built-in normalization which ensures a good transferability of the trained classifier to different data types, as well as a feature set derived from a fine-grained binning and hence incorporating HM information at a 100 bp level which ensures a high resolution of the predictions. The main innovation of our classification approach is the disentanglement of the enhancer prediction into two classification tasks, addressing separately the distinction (i) between active and inactive regions and (ii) between active enhancers and active promoters.

We train and validate CRUP-EP on mouse embryonic stem cells (mESCs) based on curated FANTOM5 validated enhancer regions [22]. To validate the resolution of our predicted enhancer regions, we use the distance to the nearest accessible region as an additional quality measure by integrating ATAC-seq experiments [23]. Furthermore, we can show that our approach is able to reliably recapitulate three independent sources of published lists of enhancer and super-enhancer regions in mESCs [2426]. To demonstrate the transferability of our classifier, we integrated five different experimental data sets comprising various cell types and species, which were obtained in the context of the German Epigenome Project [27].

Finally, we compare CRUP-EP to two other enhancer prediction methods, namely ChromHMM [11] and REPTILE [13]. In this work, we refrain from further method comparisons since ChromHMM is a widely used genome segmentation approach, and REPTILE is a very recently published tool with similarities to CRUP-EP in terms of feature choice and methodology. REPTILE has also been demonstrated to be superior to several state-of-the-art enhancer prediction tools in a comprehensive review by [28].

A prominent application of enhancer prediction methods is the comparison of dynamic conditions, like varying time points, cell lines, or disease states. To address this, we complement CRUP-EP by CRUP-ED (enhancer dynamics) which assigns predicted enhancer regions to specific conditions while accounting for a flexible number of replicates. Based on the enhancer probabilities obtained by CRUP-EP, the second step of CRUP computes pair-wise empirical p values based on a permutation test that are further used to cluster significantly different enhancer regions.

We apply CRUP-ED to a dataset of pluripotent and retinoic acid (RA)-induced mESCs yielding two clusters of condition-specific enhancer regions. We evaluate our dynamic enhancer regions by investigating the overrepresentation of transcription factor (TF) motifs [29] within each enhancer cluster. We are able to identify several motifs that are associated with RA receptors as well as with signaling pathways that regulate the pluripotency of stem cells. Finally, we used a reporter assay to predict pluripotency and RA-specific enhancer regions [30].

Enhancer dynamics strongly correlate with changing gene expression pattern as already stated by [8]. We make use of this property and added a third layer to our framework, CRUP-ET (enhancer targets), to match condition-specific enhancers found by CRUP-ED to gene expression to build entire “regulatory units.”

Recently, chromosome conformation capture methods such as Hi-C [18, 31] or Capture-C [32] have focused on the three-dimensional structure of the genome, which brings distal regulatory elements, such as enhancers, into close physical proximity of their target gene promoters [33]. Consequently, CRUP-ET restricts the search space to putative regulatory units which are located within a topological associated domain (TAD) [31, 34]. For illustration purposes, we show regulatory units across eight developmental states in mouse embryo midbrain [35] which recapitulate chromatin interactions identified by a Capture-C experiment. We further evaluate CRUP-ET using ultra-deep Hi-C data in three states of mouse neural differentiation which was recently published by [31].

Finally, we identify trait-associated regulatory elements in a mouse model of rheumatoid arthritis (Rh. Arth.), an autoimmune inflammatory complex disease, and discuss our main findings on a single enhancer region that we can correlate to the gene Cxcr4, which is part of the chemokine signaling pathway. Additionally, we support our findings with a motif enrichment analysis as well as with a pathway analysis. With this, we demonstrate how our presented framework CRUP can be used to identify candidate enhancer regions together with their putative target genes that dynamically change between different conditions.


Short summary of CRUP

In this work, we describe the three-step framework Condition-specific Regulatory Units Prediction (CRUP) to predict active enhancer regions, assign them to conditions, and finally correlate each dynamically changing enhancer to putative target genes. Each step is implemented in R and incorporated into a continuous workflow (Fig. 1).

Fig. 1

Schematic overview. Condition-specific Regulatory Units Prediction (CRUP) is a three-step framework to predict active enhancers (CRUP-EP), assign them to dynamic conditions (CRUP-ED), and create differential regulatory units (CRUP-ET). a CRUP-EP accounts for the size of accessible regions (highlighted in blue) which are flanked by nucleosomes. For each region of interest, bin x, a combination of two binary random forest classifiers, solely based on ChIP-seq HM data, is then used for enhancer prediction. b Based on a permutation test, CRUP-ED computes empirical p values for each bin x across different conditions (dotted and solid rectangles), which are further used to combine and cluster regions. c CRUP-ET inspects each differential enhancer region (blue ellipse) within its topologically associated domain (blue triangle). To infer putative target genes, the correlation between probability values and gene expression counts is calculated

The first module of our framework, CRUP-EP (enhancer prediction, see the “Methods” section), is an enhancer classifier with feature sets based on three HMs, namely H3K4me1, H3K4me3, and H3K27ac (Fig. 1a). We implemented a combination of two random forests to split the task of distinguishing active regulatory regions from the rest of the genome, as well as differentiating enhancers from active promoters. CRUP-EP is designed such that it takes into account the basic genomic structure of an enhancer, which is in essence an open chromatin region flanked by nucleosomes.

The second phase of the workflow, CRUP-ED (enhancer dynamics, see the “Methods” section), is based on genome-wide enhancer predictions for multiple conditions, e.g., different development states of a cell (Fig. 1b). We find condition-specific enhancers by applying a permutation test directly on the predicted enhancer probabilities (per bin) obtained by CRUP-EP. Based on pairwise empirical p values, differential bins are then combined and clustered into dynamically changing enhancers.

In the last step, CRUP-ET (enhancer targets, see the “Methods” section), each dynamically changing enhancer region obtained by CRUP-ED is linked to target genes (Fig. 1c). To this end, the correlation between enhancer probabilities and gene expression values across the same conditions is computed for all putative gene-enhancer pairs that are located within the same TAD.

We trained CRUP-EP on input-normalized HM ChIP-seq data and a training set based on FANTOM5-curated enhancers. To evaluate CRUP-ED and CRUP-ET we predicted active enhancer regions based on a classifier trained on mouse embryonic stem cells (mESC).

Validation of enhancer predictions in murine stem cells

We trained our random forest-based enhancer classifier CRUP-EP on three input-normalized HM ChIP-seq data from a single mESC sample, in this work further labeled as mESC + (see the “Methods” and “Cell culture and isolation” sections). The result of our predictions are enhancer probabilities for each 100-bp bin in the genome, based on which we define non-overlapping enhancer regions of length 1100 bp (see the “Methods” and “Enhancer prediction based on random forests” sections). Each enhancer is centered on the 100-bp bin with highest enhancer probability and extended by five neighboring bins upstream and downstream (100 bp ± 5×10 bp). The number of neighboring bins was optimized as described in the “Parameter tuning” section.

On the first visual inspection, predicted enhancer peaks show typical enhancer characteristics with enrichment for the histone marks H3K4me1 and H3K27ac. Furthermore, these regions show a high ATAC-seq signal (Additional file 1: Figures S1 and S2).

In the following, we thoroughly validate the enhancer predictions of CRUP-EP and compare some of our findings to two other methods, namely the segmentation approach ChromHMM [11] and the random forest-based method REPTILE [13]. A more detailed description of the implementation of both methods can be found in the “Comparison to other enhancer predicting methods” section.

To investigate the spatial resolution of our predicted enhancers, we computed the distance between each enhancer and the closest accessible region measured with ATAC-seq (Additional file 1: Figure S3A). The spatial resolution of our classifier is high (e.g., 135-bp median distance for the top 3000 predicted enhancers to the closest ATAC-seq peak), and in comparison with different training and feature set combinations of REPTILE, it becomes apparent that CRUP-EP performs better except when including additional methylation data and information about differentially methylated regions (DMR) to REPTILE.

We further validated our classifier on mESC + test sets, primarily focusing on the area under the precision-recall (AUC-PR) curve. The enhancers used for testing (as for training) are based on regions defined by the FANTOM5 project [36] and are chosen and curated as described in the “Definition of high-confidence enhancer regions” section. Overall, our classification method yields stable results across all test sets with an AUC-PR [0.91,0.95] and an AUC-ROC [0.97,0.99] (Fig. 2a, Additional file 1: Figure S4). Based on the same training set, REPTILE yields similar test set performance results (AUC-PR [0.9,0.94], Fig. 2a). We additionally created genome-wide segmentations utilizing ChromHMM with different numbers of chromatin states K {5,8} and defined enhancer-like states based on the emission distribution (Fig. 2b, Additional file 1: Figure S5). Interestingly, the results cluster into four distinct groups, depending on whether the enhancer definition is only based on high emission probabilities for H3K4me1 and H3K27ac (K = 5:E5, K = 8:E2) or additionally on the promoter mark H3K4me3 (K = 5:E2, K = 8:E5). It also becomes apparent that adding regions with high H3K4me1 but very low H3K27ac decreases the performance (K = 5:E3, K = 8:E4). Overall, depending on the number of pre-defined states and the choice of the enhancer state, ChromHMM led to strongly varying true-positive rates (TPRs) [0.23,0.9] and precision values [0.21,0.67], resulting in much less stable results compared to REPTILE and CRUP-EP.

Fig. 2

Performance of enhancer classifiers in murine ESC and across different cell types and species. A Precision-recall curves for CRUP-EP (light orange lines) and REPTILE (light blue lines) trained on an mESC sample (mESC +) and tested on ten randomly sampled independent test sets. The curves for the best performances are highlighted in darker colors (area under the curve AUC-PR: CRUP-EP =0.95, REPTILE =0.94). Additionally, the performance results of different ChromHMM segmentations for the same ten test sets are depicted (gray shapes). B ChromHMM emission probabilities for mESC using five and eight chromatin states, ranging from 0 (white) to 1 (dark blue). C CRUP-EP was trained on and applied to samples from different cell types and species (human hepatocytes (a–c), mESC (d), mouse adipocytes (e–h), mouse fibroblasts (i, j), mouse hepatocytes (k, l)). The result can be summarized in a 12×12 heatmap where each entry is shaded according to the computed AUC-PR (in percent). The origin of the training data can be found in the rows and the origin of the test sets in the columns. The diagonal shows the performance results on an independent test set within one sample. For instance, training and applying CRUP-EP in mESC + (highlighted in red) led to an AUC-PR = 0.93 based on the whole test set. D CRUP-EP was trained on samples from different cell types and species (see C) and applied to mESC +. Shown are the number of predicted enhancers which are shared between all classifiers (“consensus”, orange) and which remain after excluding this consensus set (“without consensus,” blue). Additionally, mean probabilities are displayed for both classes, showing that all enhancer calls yield higher probabilities within the consensus set

Next, we investigated the advantage of splitting the enhancer classification task into two random forests by comparing CRUP-EP to the results of a combined random forest (see the “Combined random forest variant” section). According to the measured importance of the individual HM features in the combined random forest, it appears that H3K27ac contributes the most to its decision process while features distinguishing specifically active enhancers from active promoters (H3K4me3 and the ratio of H3K4me1/H3K4me3), which seem to be picked up by CRUP-EP, might be underrepresented (see Additional file 1: Figure S6). We can confirm this observation when directly comparing enhancer probabilities of our test set regions between CRUP-EP and the combined classifier. It becomes apparent that including a second random forest decreases on average the probabilities for active test set promoters (Additional file 1: Figure S7), while increasing the probabilities of active enhancers (Additional file 1: Figure S8).

We also explored a possible improvement of our enhancer predictions using the very recently published extreme gradient boosting approach XGBoost ([37], see “Extreme gradient boosting”) instead of the random forest algorithm. However, already in the parameter optimization step, we can observe that the random forest leads to similar but slightly superior results (see Additional file 1: Figures S22, S23, S24).

To validate CRUP-EP on an independent set of enhancers, we applied our classifier to 25 experimentally validated mESC enhancers from [24], for which we achieved a high performance (23/25 with predicted probabilities ≥0.75, see Additional file 1: Figure S9).

We further validated our called enhancers by comparing them with 30,767 enhancers defined by the EnhancerAtlas database for mESC E14 [25]. Here, we could find that 34% (17,524 regions) of our enhancers directly overlap with the EnhancerAtlas database. We then applied a chi-square test of independence to validate this overlap which resulted in a p value of 3.35e−125 (see the “Chi-square test of independence” section).

Comparing these results to the predictions based on REPTILE (using the same training and feature set), we find that enhancers defined by REPTILE have a bigger overlap with the EnhancerAtlas database on a percentage basis but are outnumbered by CRUP-EP in terms of total counts (45% = 13,835 regions). Note that REPTILE implements a similar peak calling approach as we use in CRUP-EP, yielding enhancers of length 2000 bp. When extending the enhancer peaks called by CRUP-EP to the same length as the predicted REPTILE enhancers (from 1100 to 2000 bp), the difference in the proportional overlaps becomes less prominent (39%=19,000 regions). On the other hand, both CRUP-EP and REPTILE achieve similar results when predicting EnhancerAtlas regions (CRUP-EP: 45%=13,909 regions, REPTILE: 44% = 13,841 regions). However, when comparing the enhancer calls using the same width, CRUP-EP is slightly superior compared to REPTILE (CRUP-EP, 52% = 16,095 regions).

Additionally, we investigated the distribution of our CRUP-EP enhancer predictions in the genome by dividing the whole set into 13,426 singletons and 8618 enhancer clusters of varying length (see the “Enhancer peak calling and building of enhancer clusters” section). We compared each enhancer cluster to a list of 927 super-enhancers (SEs) which was recently published by [38] and found that over 97% (907) of the SEs overlap with our enhancer clusters and almost all of them overlap with our complete non-clustered list of predicted peaks (924). This shows that CRUP-EP is well suited not only to recapitulate published enhancer regions but also to capture SEs and other regions with high enhancer density.

Enhancer predictions are stable across different cell types and species

To show that CRUP-EP can be reliably applied across various data sets, we trained our enhancer classifier for 12 different samples from different cell types and species (summarized in Additional file 1: Table S2) in the same fashion as described for mESC + above. We used each of the classifiers to predict active enhancers on the test sets of the remaining 11 samples and calculate the AUC-PR, resulting in a 12×12 AUC-PR matrix which is depicted in Fig. 2c (for corresponding AUC-ROC results, see Additional file 1: Figure S10). Within one sample, training and test sets are independent following the logic described in the “Definition of the training and feature sets” section).

All classifiers perform well regardless of the test set they are applied to (AUC-PR [0.68,0.93]). Interestingly, the performances seem to correlate more with the test set than with the training set origin, as can be observed in a vertical trend of the AUC-PR values in Fig. 2c. For instance, the lowest AUC-PR value with a minimum of 0.68 is achieved when using one of the mouse fibroblast samples as a test set. On the other hand, when training the classifier on any mouse fibroblast sample and testing on a high-quality sample (see Additional file 1: Figure S11 for quality assessment), such as mESC +, the performance is very good (AUC-PR [0.91,0.92]). Also, training and prediction within the same sample (diagonal entries) rarely result in the best prediction performance for the corresponding classifier.

Additionally, we trained classifiers separately based on all cell types and species and applied these to mESC +, leading to an average of 47,719 predicted enhancer regions (see Fig. 2d). By overlapping all enhancer calls, we defined a consensus set of 25,986 regions. We found that all enhancer calls yielded high mean probabilities within the consensus set (in the range from 0.73 to 0.85). On the other hand, enhancer calls excluding the consensus set yielded much lower probabilities (in the range from 0.57 to 0.61). This shows that high-confidence enhancer calls with high probabilities can be recapitulated when training on another tissue or species.

Overall, the best performances across all cell types and species could be achieved when testing on the mESC + sample (AUC-PR [0.86,0.93]). Hence, we use the mESC +-trained classifier as the pre-trained model provided in CRUP-EP, which can readily be applied to new ChIP-seq histone modification data.

Next, we employed the same analysis using REPTILE, and the resulting AUC-PR matrix (Additional file 1: Figure S12A) shows that CRUP-EP outperforms REPTILE for most of the combinations of different training and test sets. In addition, we trained REPTILE classifiers for several other settings and used available pre-trained REPTILE classifiers (see the “Application of REPTILE” section) to make predictions across the 12 samples. This lead to similar or slightly worse results on the FANTOM5-based test set than when trained on our data (Additional file 1: Figures S12 and S13).

In addition to validating the transferability of our approach on defined test sets, we applied the 12 different classifiers described above, trained on various tissues, to mESC + HMs and compared the predictions with the EnhancerAtlas database [25]. To quantify the overlap between the EnhancerAtlas predictions and the CRUP predictions based on the 12 different training sets, we applied chi-square tests of independence (see the “Chi-square test of independence” section). The largest p value we achieve is 5.61e−12 when using predictions based on mouse hepatocyte #2, which, yet again, reflects the poor quality of the underlying ChIP-seq histone modifications. Overall, all chi-square tests lead to a significant result, meaning that each of the 12 separately trained classifiers can clearly recognize mESC enhancers in agreement with the EnhancerAtlas database.

In this context, we also explored the effect of the feature normalization procedure which is integrated in CRUP-EP (see the “Preparation and normalization of HM counts” section). To do so, we artificially reduced the number of reads in our mESC + sample to mimic different levels of quality and applied our classifier with and without normalization. The high deviation between the predicted probabilities (in the range of 0.5) demonstrates the importance of a proper normalization to ensure comparability especially between different levels of data quality (Additional file 1: Figure S14). This observation can also be confirmed when applying the same analysis to two (not manipulated) healthy mouse fibroblast samples (see the “Methods” section). The normalization has a positive effect on the comparability of the enhancer probabilities which are based on samples with varying quality (see Additional file 1: Figures S11 and S15).

Identification of condition-specific enhancers

In the following, we will focus on enhancer regions that are, generally speaking, different in at least one out of many conditions regardless of the number of analyzed conditions. A more detailed explanation on how we are inferring these differential (“condition-specific”) enhancer regions is given in the “Statistical inference of differences between two conditions” section.

We applied CRUP-ED (enhancer dynamics) to identify differential enhancers between murine pluripotent, mESC +, and differentiated retinoic acid (RA)-induced stem cells, mESC (see the “Cell culture and isolation” section). To this end, enhancer prediction was performed on both samples using CRUP-EP which was trained on mESC + (see the “CRUP-EP: enhancer prediction” section). Dynamically changing enhancer regions that are either active in mESC + (cluster 1) or in the RA-induced mESC sample (cluster 2) were identified and further summarized as explained in the “Clustering of differential enhancers using “activity pattern”” section.

From the predicted condition-specific enhancers, a total of 186 are only active in mESC + (cluster 1) and 141 regions are predicted to be active solely in mESC (cluster 2). The differential assignment of predicted enhancers can be further corroborated by ChIP-seq read count distributions (Fig. 3a, also shown for a single differential region in Fig. 3b). The signal for the active enhancer marks H3K27ac and H3K4me1 is higher in mESC (orange) compared to mESC + (gray) for the displayed regions in cluster 2. The same trend can also be observed when investigating chromatin accessibility for the two data sets which becomes detectable via additional ATAC-seq experiments (right panel Fig. 3a, bottom panel Fig. 3b). Further, we investigated the effect of the parameter w0 which is the tested minimum difference in the group averages used in the permutation test (see the “Statistical inference of differences between two conditions” section). By using a much less sensitive value for w0 (w0=0.1, default: w0=0.5), we increase the total number of dynamic enhancer regions (5776 in cluster 1 and 4357 in cluster 2), while the overall trend in the count distributions remains the same. However, the peaks are less prominent compared to using the default value of w0, suggesting that the identified regions are less reliable.

Fig. 3

Differential enhancers in murine stem cell differentiation. a Differential enhancer regions of pluripotent (mESC +, gray) and differentiated (mESC , orange) cells are colored by their respective enhancer probabilities. All regions can be divided into two clusters according to their differential activity pattern. Count distributions of HM ChIP-seq and ATAC-seq read counts recapitulate the dynamic behavior in both clusters. The same trend can also be observed when using a less sensitive setting in the test statistic with a minimum group difference of w0=0.1 (default: w0=0.5). b An example for a dynamic enhancer region (chr8: 26,843,601– 26,845,600, highlighted in blue) which was predicted to be active in the differentiated mESC but not in the pluripotent mESC +. c The predicted differential enhancer sequence was tested using an enhancer reporter assay (STARR-qPCR). The difference in the transcript levels of the GFP reporter between mESC (−LIF/+RA) and mESC + (+LIF/ −RA) as well as compared to an untreated sample (−LIF/ −RA) recapitulates the predicted dynamic activity. The LIF-inducible viral enhancer CMV serves as a positive control. As a negative control, we chose nc1, which is not active in mouse embryonic stem cells.

To further evaluate the two differentially active enhancer clusters, we performed a motif enrichment analysis for both groups (see the “Motif enrichment analysis” section), taking the union of all differential enhancers as the basis for the estimation of the background model. The complete list of differentially enriched motifs is depicted in Additional file 1: Figure S16. Using the functional annotation tool DAVID [39, 40], we could identify several transcription factors that show a higher binding site enrichment in cluster 1 and are part of the signaling pathways regulating pluripotency of stem cells (OCT4, HNF1A). In the same way, TFs that are more enriched in the RA-specific cluster 2 were found to be linked to the functional categories differentiation and/or developmental protein (ASCL1, Myod1, Myog, NHLH1, NR2C2). Furthermore, we found retinoic acid receptors (heterodimers) in our list of differential transcription factor binding sites (TFBSs) for cluster 2, namely RARA::RXRG and RARA::RXRA [4143]. As an example, we chose a predicted RA-specific enhancer containing a retinoic acid receptor binding motif, occupancy based on ChIP-seq and increased ATAC-seq signal upon activation of the receptor (Fig. 3b).

One way to validate the specific enhancer regions is to use STARR-qPCR, where a reporter plasmid allows direct assessment of enhancer activity by quantification of the reporter gene transcript levels (see the “Enhancer reporter assay (STARR-qPCR)” section). We compared our predicted enhancer regions which we found to be differential between mESC + and mESC to an independent list of 16 enhancers which were validated by STARR-qPCR. We could find an overlap of 2 enhancer regions, one is specifically activated upon retinoic acid treatment (mESC ) the other one in LIF-induced cells (mESC +). Consistent with our prediction, we observed RA-specific enhancer activity for one region (Fig. 3c) whereas the other region recapitulated the condition-specific activity of the LIF-dependent enhancer (Additional file 1: Figure S17).

Correlation of dynamic enhancers to target genes

By including RNA-seq experiments (see the “Methods” section), we utilize CRUP-ET (enhancer targets) to link dynamically changing enhancers to putative target genes. To do so, we calculate Pearson’s correlation coefficients between enhancer probabilities of a differential enhancer region across all samples and normalized expression counts of promoters that are located within the same TAD (see the “Regulatory units by a correlation approach” section). We further describe the dynamically changing gene-enhancer pairs with a high correlation coefficient as regulatory units.

We applied CRUP-EP and CRUP-ED (with w0=0.3) to predict enhancers and assign them to different conditions in a time-series experiment performed in mouse embryo midbrain, spanning 8 time points in total [35]. This results in 1170 differentially active enhancers that could be grouped and summarized into 91 different clusters using activity pattern (see the “Clustering of differential enhancers using “activity pattern”’;’ section). Eight of these clusters are specific just for 1 condition and are added to the visualization (Fig. 4a).

Fig. 4

Dynamic enhancer-gene pairs in mouse embryo midbrain. a Dynamic enhancer regions, colored by their respective enhancer probability, for eight time points (day 10.5 to day 0 after birth (AB)) in mouse embryo midbrain. A clustering was performed based on the pairwise p values. Enhancer regions that are active in just one condition are highlighted on the right site of the plot. b Distances between dynamic enhancers and their correlated genes (orange) and the respective nearest genes (blue) show the strong discrepancy between the two strategies to find putative enhancer targets. c Schematic description of possible relationships between (1 or many) enhancers and (1 or many) target promoters. d Enhancer probability tracks of the eight time points are summarized on top. Seven differential enhancers could be assigned across all conditions (blue-shaded rectangles). Of these, enhancer probabilities of three regions (dotted blue arcs) highly correlate (correlation coefficient ≥0.9) with the gene expression of Sall4 (bold, gray arrows), a gene that regulates early embryonic development. CaptureC-seq data (CC) of mouse embryo midbrain at day 10.5 (yellow histogram) visually recapitulate these regulatory units. Two of three interaction peaks agree with our dynamic regulatory unit regions (yellow arrows). Additionally, one regulatory unit could be identified solely with CRUP (blue arrow)

Using CRUP-ET, we build 111 regulatory units (correlation coefficient ≥0.9) describing putative dependencies between differential enhancer regions and target genes located within the same TADs (see the “Processing of HiC-seq experiments,” section for a description of the TAD calling strategy). Altogether, the majority of the identified differential enhancers (77%) are located in gene-free regions, whereas the range of gene-enhancer pair distances is very heterogeneous (here, between 192 and 2,163,000 bp), and the nearest gene is not automatically the best choice for a target (see Fig. 4b).

We further analyze the connections between one or many enhancer and one or many promoters as schematically explained in Fig. 4c. Half of the regulatory units consists of single dynamic enhancer elements which are interacting with only one putative target gene (1:1, 56/111). A small proportion of the regulatory units rather describe genes that are correlated to multiple differential enhancers at once (many:1, 12/111). Interestingly, several target genes seem to be regulated by the same enhancer region (1:many, 43/111) which was also observed by [44].

For three differentially active enhancers, the probability values over all time points are highly correlated with the dynamic gene expression of Sall4 (Fig. 4d), a known regulator in early embryonic development [45]. Note, that one of these enhancers lies in the intronic region of another gene and the other two enhancers are in closer proximity to the gene Zfp64, which does not show the same dynamics as seen in the enhancer probability values. This further supports the observation that the gene located nearest to an enhancer is not automatically the best target. We validate the results with a CaptureC-seq (CC) experiment as exemplified by [32]. Here, we use interaction counts of mouse embryo midbrain CaptureC-seq data at day 10.5 with the viewpoint located at the promoter region of Sall4 (see the “Capture-C experiments for mouse embryo midbrain” section). Two differentially active enhancer regions are in close proximity to two of the three reported CC peaks, and one additional region could only be found with our CRUP framework, which also show a slight increase in the interaction profile via visual inspection.

Regulatory units are well recapitulated by 3D chromatin structures

To further investigate the connection between predicted regulatory units and 3D physical interactions between regulatory elements, we analyzed ultra-deep coverage Hi-C maps. We applied CRUP to a (pre-processed) data set focusing on neural differentiation and cortical development in mice [31] comprising ChIP-seq, RNA-seq, and Hi-C experiments (see the “Methods” section) across three developmental states: embryonic stem cells (ES), neural progenitor cells (NPC), and cortical neurons (CN).

We inferred 8810 regulatory units (with a minimum threshold for the Pearson correlation coefficient of 0.7) and compared our results to log2 observed/expected (O/E) normalized Hi-C interaction matrices. Figure 5a shows a single regulatory unit, where two ES-specific enhancer regions are linked to the gene Inhbb, which was already reported by [31] based on enhancers solely active in ES. The (O/E) normalized Hi-C interaction frequencies across the three developmental states confirm the observed dynamics. Next, we separately investigated clusters of regulatory units that are specific for only one condition. After dividing each interaction count triplet (ES, NPC, CN) by its maximum value, the dynamic changes across the three conditions can be visualized for all regulatory units (Fig. 5b). These results not only confirm that cell type-specific gene-enhancer contacts are established concomitant with gene expression as already stated by [31], but they also show that dynamic enhancer activity goes hand in hand with physical changes in the 3D chromatin organization. Additionally, we created a subset of all regulatory regions where the gene with the highest correlation coefficient is chosen as the only target gene. We then compared the chromatin interaction counts overlapping this subset of 2537 regulatory regions to an alternative strategy where not the best correlating gene is chosen as the target but the gene that is nearest to the differential enhancer. As shown in Fig. 5b, choosing the closest gene to define a regulatory unit does not always lead to the best results.

Fig. 5

Differential regulatory units across mouse neural differentiation. a Interaction matrices (log O/E) of three Hi-C experiments of mouse embryonic stem cells (ES), neural progenitor cells (NPC), and cortical neurons (CN). A differential regulatory unit is indicated with dark blue rectangles, showing the interaction of two dynamic active enhancer regions (light blue) and the correlated gene Inhbb. b Differentially active enhancers were filtered for regions that are only active in ES (I), only active in NPC (II), and only active in CN (III). For these regions, normalized (log O/E) chromatin interaction counts that overlap the predicted differential regulatory units were re-scaled to [0,1], such that the highest interaction count for each region is 1. The results of all regulatory units (yellow) are compared to a subset where just target genes with the highest correlation were taken into account (orange). Additionally, for each differential enhancer in this subset, the nearest gene was also taken as an alternative target (blue). All three methods reflect the expected dynamic behavior, meaning that the scaled interaction counts are close to 1 for the respective highlighted condition but lower in the other two conditions. It also becomes apparent that choosing the closest gene as a target might not always be the best choice as can be seen for the regions I and II

Regulatory units in the context of a rheumatoid arthritis model

So far, we evaluated our proposed framework CRUP to create condition-specific regulatory units on experiments focusing on developmental changes. Next, we apply CRUP to a complex disease study which is part of the German Epigenome Program [27], with the aim to suggest regulatory differences between two healthy mice and two mice which are affected by destructive rheumatoid arthritis (Rh. Arth.-like, see the “Methods” section), an autoimmune inflammatory disease [46].

We performed a motif analysis on 212 differential enhancer regions (with w0=0.3) as described in the “Motif enrichment analysis” section. The TF motifs for KLF4, IRF1, SPI1, PLAG1, and USF1 show higher enrichment in the cluster which contains enhancers that are solely active in the Rh. Arth.-like samples and were already shown to be connected (directly or indirectly) to rheumatoid arthritis [4752]. A list of all enriched motifs is given in Additional file 1: Figure S18.

We identified 268 differential regulatory units of which 78.7% (211) describe gene-enhancer pair activity that can only be found in the affected mice. A pathway analysis was performed on all putative disease-associated target genes using the Kyoto Encyclopedia of Genes and Genomes (KEGG) [5355], a curated database of molecular pathways and disease signatures (see the “KEGG pathway analysis” section). The top 5 resulting KEGG pathways (Table 1) have been previously (directly or indirectly) associated with rheumatoid arthritis [5660]. A complete list of all predicted gene-enhancer pairs associated with at least 1 of the top 5 KEGG pathways can be found in Additional file 1: Table S7.

Table 1 KEGG pathway analysis results

One example of an Rh.Arth.-like specific enhancer-gene pair is shown in Fig. 6, where the correlated putative target gene Cxcr4 is part of the most significant KEGG pathway (chemokine signaling pathway). Interestingly, the TF motif for interferon regulatory factor 1 (IRF1), which was enriched in the whole Rh.Arth.-like specific enhancer cluster, is also significantly enriched in the shown differentially active enhancer region (empirical p value, 3.293121e−6; fold enrichment: 18.77985) and was previously connected to rheumatoid arthritis [48].

Fig. 6

TAD region containing a differential regulatory unit in the context of rheumatoid arthritis. Enhancer probabilities of two healthy mice (gray) and two Rh. Arth.-like mice (orange). One enhancer in this region (blue rectangle, chr1:128722201–128722800) was found to be only active in the diseased samples. Using RNA-seq experiments performed on the same samples (displayed raw counts are cut at a maximum of 1500), gene expression of the gene Cxcr4 highly correlates with the probabilities of the differential enhancer (orange arrows). The gene is part of the chemokine signaling pathway and also known to play a role in rheumatoid arthritis

In summary, our framework CRUP is well suited to detect candidate enhancer regions that act dynamically in different disease states as well as to link these enhancers to differentially expressed target genes building putative disease-associated regulatory units.


In this work, we described the three-step framework Condition-specific Regulatory Units Prediction (CRUP) to identify enhancer regions in a genome-wide manner, assign the predicted enhancers to different conditions, and subsequently correlate the differential enhancers to putative target genes within their topologically associated domain to build condition-specific regulatory units.

We showed that our random forest-based enhancer classifier CRUP-EP is reliable, also when applied across different cell types and species without the need for re-training, solely depending on three core HMs. Our results show that the prediction performance of CRUP-EP across different cell types and species depends rather on the test than on the training data. We speculate that differences in ChIP-seq quality for certain training regions can be tolerated during the learning process and are not crucial for finding enhancer-specific HM pattern. However, for test regions, poor ChIP-seq signals very likely result in a decrease of performance. Another factor is the quality of the active enhancers which we defined based on the FANTOM5 database (see Additional file 1: Table S4). While some weak or even mislabeled enhancers (false positives) in the training set still allow for a good enhancer representation by the classifier in terms of HM signals, mislabeled enhancers in the test set lead to false-negative predictions and thus directly reduce the recall results. Further, the highest number of suitable FANTOM5 experiments for a confident enhancer definition was available for the mESC data set, which shows the best test set performance for almost all classifiers.

We further showed that our enhancer classification approach outperforms the unsupervised genome segmentation tool ChromHMM and is comparable to another state-of-the-art random forest-based approach, REPTILE. In terms of transferability across different cell types and species, our classification approach even outperforms REPTILE. Although the basic concept of the two random forest-based methods is similar, essential differences lead to a slightly better performance of CRUP. One major advantage is to split the enhancer prediction into two separate tasks which we demonstrated by training a combined random forest and comparing the prediction results on active test set enhancers and promoters to CRUP-EP. We found that the two-tier random forest setup has on average higher predicted probabilities for the enhancers and lower for the active promoters. Furthermore, we speculate that the main contribution to the resolution performance of CRUP-EP comes from the fine-scaled feature set which captures the structure of an active region at a high resolution according to the observed feature importance. This became most apparent when comparing the spatial resolution to REPTILE based on the exact same training and feature setting. Another reason for the varying performance results between REPTILE and our classifier across cell types/species could lie in the different normalization strategies. REPTILE does not offer an integrated normalization across several samples but instead gives recommendations how to prepare the input data which we followed in our comparative analysis. We show that a quantile normalization to the corresponding distribution of the data set used for training is crucial to achieve similar distributions of genome-wide probabilities, especially when comparing data sets of different quality. We therefore incorporated this in our framework.

In the second step, CRUP-ED, we assign enhancers to different conditions using a permutation test on the enhancer probabilities obtained by the first module of CRUP. This approach can be applied to more than two conditions as the test is performed in a pair-wise manner. Using the resulting p values, we are able to create an activity pattern for each single bin which can then be used to combine and cluster all differentially active regions. We demonstrate that the assignment of clusters across different conditions is in good agreement with HM counts as well as with independent ATAC-seq data. Additionally, we could validate one candidate RA-specific and one LIF-specific enhancer region by STARR-qPCR which confirms our findings.

Limitations arising from the raw data and from the enhancer prediction approach are consequently also reflected in the predicted differential enhancer regions. For instance, due to poor quality of individual HM ChIP-seq experiments, the enhancer predictions might vary across samples in one condition and could therefore influence the results in the permutation test. Increasing the number of replicates could be one way to overcome this drawback since the implemented weighted difference between two conditions benefits from an enhanced sample size.

Lastly, we utilize CRUP-ET to integrate further genomic information, obtained from RNA-seq and Hi-C experiments, to link condition-specific enhancers to putative target genes. To this end, we compute the correlation between normalized gene expression counts and enhancer probability values across all samples within the same TAD and put a strict threshold on the results to build high-confidence regulatory units. Next, we evaluate our results by comparing regulatory units with Capture-C and Hi-C experiments. We could show that our inferred condition-specific gene-enhancer pairs are well recapitulated by physical dynamics in chromatin structures. To reduce the search space of interacting promoter/gene-enhancer pairs, we use TADs as a more sophisticated approach to form regulatory units rather than simply applying a distance-based window. We show that the range in which differential enhancers and putative target genes are connected varies and that the nearest gene is often not the gene with the highest correlation. The resolution of Hi-C-based experiments is still not on a single base pair level and might lead to wrongly associated promoter/gene-enhancer pairs, especially because the approach is also highly dependent on the performance of the TAD calling algorithm. We are utilizing TADs from murine stem cell experiments, to reduce the search space for detecting regulatory units for all the presented examples. We argue that these structures are highly stable across cell types and conserved in related species as observed in recent studies [18, 61]. However, it was also shown that structural differences between conditions occur, especially on a low-scale sub-TAD level [31]. Furthermore, the 3D landscape may change dramatically when structural variations disrupt the boundary structure as for example shown by [62]. In the future, condition-specific Hi-C experiments could further help the presented approach in linking differentially active enhancers to putative target genes.

The complete framework was further applied to a complex disease study to identify differential regulatory units associated with rheumatoid arthritis. By applying a motif analysis to the resulting differentially active enhancers, we were able to connect several regions to TF motifs that are linked to the disease. In combination with a standard KEGG pathway analysis on the putative target genes, we could show that our framework is well suited to identify candidate regulatory regions that behave differently depending on the disease state. To further validate these regions, additional follow-up experiments could complement the presented analysis.

The input to CRUP consists of a number of HM ChIP-seq experiments, each of which could in principle be analyzed by the eye. Interpreting the combination of experimental tracks and, worse, many tracks under many conditions is, however, beyond the capacity of the human brain. As a result, many epigenetic experiments in the end get exploited only for studying the vicinity of a particular gene and do not serve the purpose of an unbiased, whole-genome inquiry. We thus see our method as an information integrator that reduces the diverse layers of information into an interpretable predictor, in turn allowing to rank signals across the entire genome.


In summary, we presented the three-step framework Condition-specific Regulatory Units Predictions (CRUP) to identify and assign differentially active enhancer regions in different states and link them to putative target genes within the same topologically associated domain.

The presented software is user-friendly as it aims to overcome the time-consuming difficulties when comparing single read count tracks for several features and conditions. The framework is implemented in R and can be executed by solely providing mapped read counts for ChIP-seq and RNA-seq experiments.

Our pre-trained classifier can be used without the need of re-training and also outperforms the existing methods especially when applied across various tissues and species. The resulting dynamically changing enhancer-gene pairs are in good agreement with 3D interactions and can be used to further complement studies that aim to unravel dynamic epigenetic behavior across different conditions.


Cell culture and isolation

Mouse embryonic stem cells

E14 mouse embryonic stem cells (mESCs) were cultured and routinely passaged every 2 days in ES medium plus leukemia inhibitory factor (LIF) in order to maintain the pluripotent state of the cells [63, 64]. To exit from pluripotency and push the cells towards differentiation, LIF was withdrawn and retinoic acid (RA) was added to the medium for a short pulse of 4 h.

All experimental data related to these samples are accessible via Gene Expression Omnibus (GEO:GSE120376).

Mouse synovial fibroblasts

Murine synoial fibroblasts (SF) were isolated by enzymatic digestion from the hind paws of 12-week-old hTNFtg (reactive arthritis, strain Tg197-overexpressing human TNF) and wildtype (healthy control) as described before [65, 66].

Mouse adipocytes

Samples for adipocytes were isolated by collagenase treatment for 5 min followed by 5 min of collagenase inactivation as described before [67]. After centrifugation, the fat layer was collected.

Mouse hepatocytes

Primary mouse hepatocytes were obtained from two female mice (C57BL/6J x DBA/2 background) at the age of 9 weeks. The isolation of primary mouse hepatocytes was performed by a two-step EDTA/collagenase perfusion technique as described by [68].

Human hepatocytes

Primary human hepatocytes were obtained from three different female donors (age 28–70 years) undergoing surgery due to primary or secondary liver tumors. Hepatocytes were isolated from healthy liver tissue remaining from liver resection as described in [68]. Informed consent of the patients for the use of tissue for research purposes was obtained, and experiments were approved by the local ethical committees.

Processing of histone modification ChIP-seq data

For all biological samples presented in this study, ChIP against six core HMs, H3K27ac, H3K27me3, H3K4me1, H3K4me3, H3K36me3, and H3K9me3, was performed. As a control served the sheared chromatin without antibody (input). We utilized the tool plotFingerprint which is part of the deepTools project [69] to assess quality metrics for all ChIP-seq experiments.

Where we need to visualize read count enrichments in particular genomic regions, we employ the tool plotHeatmap which is also part of the deepTools project [69].

Mouse embryonic stem cells

6×105 low passage (<10) E14 cells were cultivated for 48 h in regular ES medium containing LIF. Four hours prior to cross-link, cells were treated with LIF or RA. Sequencing libraries were prepared, and the resulting DNA fragments were paired-end 50 bp sequenced on a Illumina HiSeq 2500 device. Raw sequencing reads were subsequently aligned to the genome assembly GRCm38 with STAR [70], and duplicates were removed using Picard tools [71].

Mouse synovial fibroblasts

ChIP-seq from 2×106 cells was carried out as described before [67]. Resulting DNA fragments were paired-end 50 bp sequenced on a Illumina HiSeq 2500 device, and raw sequencing reads were aligned to the genome assembly GRCm38 using BWA-MEM [72, 73], and duplicates were removed using Picard tools [71].

Mouse adipocytes

For mouse adipocytes, chromatin from fixed cells has been extracted and sonicated for 15 min using Covaris S220 sonicator. Resulting DNA fragments were paired-end 50 bp sequenced on a Illumina HiSeq HiSeq 2500 device. Raw sequencing reads were aligned to the genome assembly GRCm38 with BWA-MEM [72, 73], and duplicates were removed using Picard tools [71].

Mouse hepatocytes

ChIP-seq was performed using 1×106 primary mouse hepatocytes as was previously described [74] with minor modifications. All six ChIP and input libraries from each sample were then pooled and paired-end sequenced on an HiSeq 2500 device. Raw sequencing reads were aligned to the genome assembly GRCm38 with STAR [70], and duplicates were removed using Picard tools [71].

Human hepatocytes

ChIP-seq was performed using 1×106 primary human hepatocytes as was previously described [74] with minor modifications. All six ChIP and input libraries from each sample were then pooled and paired-end sequenced on an HiSeq 2500 device. Raw sequencing reads were aligned to the genome assembly hs37d5 with BWA-MEM [72, 73], and duplicates were removed using Picard tools [71].

Mouse embryo midbrain

Raw reads from ChIP-seq experiments were downloaded from GEO (GEO:GSE88517 [35]) and aligned to the genome assembly GRCm38 with BWA-MEM [72, 73], and duplicates were removed using Picard tools [71].

Samples in the context of mouse neural differentiation

Raw data from RNA-seq for the three in vitro-generated murine cell types ES, NPC, and CN were downloaded via GEO (GEO:GSE96107 [31]) and aligned to the genome assembly GRCm38 with BWA-MEM [72, 73]. Mapped reads of biological duplicates were pooled, and duplicates were removed using Picard tools [71].

Processing of RNA-seq experiments

Mouse embryonic stem cells

2×105 low passage (<10) E14 cells were plated and cultivated for 48 h in regular ES medium containing LIF. Four hours prior to harvest, the medium was exchanged and cells were treated with LIF or RA. Cells were harvested, and three biological triplicates were subjected to RNA extraction. Sequencing libraries were generated from total mRNA input, and high-throughput sequencing was performed on an Illumina HiSeq 2500 device resulting in 50-bp paired-end reads. Raw reads were subsequently mapped to the mouse genome build GRCm38 using BWA-MEM [72, 73].

Mouse synovial fibroblasts

Long RNA libraries were prepared from total mRNA input and sequenced on an Illumina HiSeq 2500 device resulting in 50-bp- and 100-bp-long paired-end reads. Raw reads were subsequently mapped with TopHat2 [75] to the mouse genome build GRCm38.

Mouse adipocytes

RNA isolation for cells was performed using 1 ml TRIzol per sample followed by isopropyl alcohol/ethanol precipitation. Sequencing libraries were generated from total mRNA input, and high-throughput sequencing was performed on an Illumina HiSeq 2500 device resulting in 100-bp paired-end reads. Raw reads were mapped with TopHat2 [75] to the mouse genome build GRCm38

Mouse hepatocytes

RNA was extracted from 5×106 hepatocytes homogenized in 1 mL Trizol. Sequencing libraries were generated from total mRNA input using TruSeq v3 Kit (Illumina) according to the manufacturer’s instructions and high-throughput sequencing was performed on an Illumina HiSeq 2500 device resulting in 100-bp paired-end reads. Raw reads were mapped to the mouse genome build GRCm38 using BWA-MEM [72, 73].

Human hepatocytes

RNA was extracted from 5×106 hepatocytes homogenized in 1 mL Trizol. Sequencing libraries were generated from total mRNA input using TruSeq v3 Kit (Illumina) according to the manufacturer’s instructions, and high-throughput sequencing was performed on an Illumina HiSeq 2500 device resulting in 100-bp paired-end reads. Raw reads were mapped with TopHat2 [75] to the genome build hs37d5.

Mouse embryo midbrain

Raw reads from RNA-seq experiments were downloaded from GEO (GEO:GSE88517 [35]) and aligned to the genome assembly GRCm38 with STAR [70].

Samples in the context of mouse neural differentiation

Raw data from RNA-seq for the three in vitro-generated murine cell types ES, NPC, and CN were downloaded via GEO (GEO:GSE96107 [31]) and aligned to the genome assembly GRCm38 with BWA-MEM [72, 73]. Mapped reads of biological duplicates were pooled and subsequently filtered for a minimum mapping quality of MAPQ = 10. Duplicates were removed using Picard tools [71].

Processing of DNase-seq experiments

To compare open chromatin sites to HM signals, read counts from DNase-seq experiments were summarized for adjacent 100-bp bins using the R package bamProfile [76]. Read count enrichments are visualized with the plotHeatmap funciton implemented in the software package deepTools [69].

Mouse embryonic stem cells

Raw reads from DNase-seq experiments from mESCs (E14, embryonic day 0) were downloaded from GEO (accession Nr.:GSM1014154) and aligned to the genome assembly GRCm38 with BWA-MEM [72, 73]. Duplicates were further removed using Picard tools [71].

Mouse synovial fibroblasts

5−7×106 nuclei were digested with DNaseI in five different dilutions as described before [77]. Raw sequencing reads were aligned to the genome assembly GRCm38 with BWA-MEM [72, 73], and duplicates were removed using Picard tools [71].

Mouse adipocytes

The nuclei extracted from 10×106 nuclei by treatment with IGEPAL were digested with different concentrations of DNaseI as described before [77] and kept at 4 C until further processing. Sequencing libraries were prepared and sequenced on an Illumina HiSeq 2500 device resulting in 100-bp-long paired-end reads. Raw sequencing reads were aligned to the genome assembly GRCm38 with BWA-MEM [72, 73], and duplicates were removed using Picard tools [71].

Mouse hepatocytes

The nuclei extracted from 10×106 nuclei by treatment with IGEPAL were digested with different concentrations of DNaseI as described before [77] and kept at 4 C until further processing. Sequencing libraries were prepared and sequenced on an Illumina HiSeq 2500 device resulting in 100-bp-long paired-end reads. Raw sequencing reads were aligned to the genome assembly GRCm38 with BWA-MEM [72, 73], and duplicates were removed using Picard tools [71].

Human hepatocytes

The nuclei extracted from 10×106 nuclei by treatment with IGEPAL were digested with different concentrations of DNaseI as described before [77] and kept at 4 C until further processing. Sequencing libraries were prepared and sequenced on an Illumina HiSeq 2500 device resulting in 100-bp-long paired-end reads. Raw sequencing reads were aligned to the genome assembly hs37d5 with BWA-MEM [72, 73], and duplicates were removed using Picard tools [71].

Processing of ATAC-seq experiments from mESC

2×105 low passage (<10) E14 cells were cultivated for 48 h in regular ES medium containing LIF. Four hours prior to harvest, cells were treated with LIF or RA (1 μM). Seventy-five thousand cells per treatment were subjected to transposition reaction and PCR amplification of accessible regions by Omni-ATAC-seq as described previously by [78]. Sequencing libraries were constructed, and DNA fragments were paired-end 50 bp sequenced on a Illumina HiSeq 4000 device. Raw reads were subsequently aligned to the mouse genome build GRCm38m using BWA-MEM [72, 73], and duplicates were removed upon filtering using SAMtools [79]. ATAC-seq peaks were idenitfied using MACS2 [80].

Enhancer reporter assay (STARR-qPCR)

STARR-qPCR was performed by amplifying the region of interest by nested PCR from genomic DNA derived from E14 cells using standard PCR procedures. The negative (GR responsive element) and positive (CMV enhancer) control regions were ordered as gBlocks (IDT). DNA fragments were subsequently cloned into the STARR-seq screening vector (Addgene #71509 [30]) using In-Fusion HD Cloning Kit (Takara/Clonetech). This reporter plasmid allows direct assessment of enhancer activity on transcription by quantification of the GFP reporter gene transcript levels. For transfection of reporter plasmids, E14 mouse ESCs were plated at density of 2.5 × 104 cells/well of a 24-well plate with ESC medium supplemented with 20% FBS and LIF. The next day, cells were washed with PBS and fresh ESC medium was added. Subsequently, cells were transfected with corresponding reporter plasmid using Lipofectamin 200 (Invitrogen) according to the manufacturers’ instructions. Twenty-four hours after transfection, cells were harvested and subjected to RNA extraction (RNeasy Mini Kit, Qiagen), followed by cDNA synthesis (PrimeScript RT Reagent Kit, Takara, using oligodT and random hexamer primers). Reporter transcript levels were quantified by qPCR with primers specific for GFP and normalized to the expression of two housekeeping genes (Rpl19 and Actb).

The experiments were conducted for three biological replicates and standard qPCR methods with technical duplicates.

Processing of HiC-seq experiments

The Juicertools command dump [81] was used to extract data from Hi-C archives associated with three in vitro generated murine cell types ES, NPC, and CN [31]:

With this, each matrix is Knight-Ruiz (KR) normalized [82] at 10-kb resolution, and the observed/expected (O/E) ratio is computed. For visualization, O/E interaction maps were further log2 converted and negative values were set to 0. Additionally, topologically associated domains (TADs) were identified by utilizing TopDom [83] on 25-kb binned and KR-normalized matrix based on murine stem cells (ES) using a window of 750 kb (30×25 kb) for the TopDom algorithm. These regions were used to reduce the search space for promoter/gene-enhancer interactions.

Capture-C experiments for mouse embryo midbrain

Capture-C profiles from mouse embryo midbrain (day 10.5) were downloaded from GEO (GEO:GSE84795 [32]), and coordinates were transferred to the mouse genome build GRCm38 utilizing the function liftOver which is implemented in the R package rtracklayer.

CRUP-EP: enhancer prediction

Preparation and normalization of HM counts

Histone modification count signals are summarized for adjacent non-overlapping 100-bp bins utilizing the R package bamProfile [76], following a log2 input normalization (with pseudo count of 1) of the raw counts. We compute the log2 ratio (also with pseudo count of 1) between H3K4me1 and H3K4me3 after shifting the distribution of their input-normalized count values to ≥0.

Before making predictions on a sample with our classifier, the input-normalized count values are quantile normalized to the corresponding distributions of the data used for training. This is done with the function of the R package preprocessCore [84].

In order to compare the effects of quantile normalization on the predicted probabilities, we randomly reduced the number of reads in the aligned ChIP-seq histone modifications from our retinoic acid-induced mESC sample (mESC +) resulting in 10 to 90% of the original amount of reads using samtools [79].

Definition of high-confidence enhancer regions

One specific hallmark for enhancer activity was found to be the initiation of RNAPII transcription, which was used by the FANTOM5 project [36]. Short RNA-seq and CAGE were applied to a variety of different cell types and tissues to detect bidirectional capped transcripts. CAGE count data were downloaded for mouse adipocyte cells, mouse embryonic stem cells, mouse fibroblast cells, and human and mouse liver cells from (expression count matrix).

Depending on the number of available replicates for each cell line, we chose different cutoffs for the CAGE counts to define the first set of putative enhancers according to the summary in Additional file 1: Table S4. To get our final high-confidence enhancer set, we centered the putative FANTOM5 enhancers based on DNase-seq peaks and discarded the enhancers without any overlap with DNase-seq peaks as summarized in Additional file 1: Table S5. To convert the genome coordinates of the enhancer regions given by the FANTOM5 project from genome build GRCm37 to GRCm38, we applied the Batch Coordinate Conversion tool liftOver from the UCSC Genome Browser Utilities [85].

Definition of active and inactive promoter regions

For murine ESC, adipocytes, and liver and fibroblast cells, and for human liver cells, we computed FPKM gene expression values from RNA-seq data.

Based on the gene annotations from the Ensembl data base (GRCh37.70 and GRCm38.90), we defined a gene with an FPKM value greater than 2 as active and a gene with FPKM value of 0 as inactive (0< FPKM ≤1 was not used for training). In case replicates were available, all of the replicates had to fulfill the chosen FPKM cutoff to be accounted to the one or the other class. An exemplary distribution of FPKM values, here for mESC +, can be seen in Additional file 1: Figure S19. Building up on this, we then defined an inactive promoter as the 100-bp bin overlapping the TSS of an inactive gene. An active promoter is defined as the 100-bp bin having an overlap with the TSS of an active gene as well as with a DNase-seq peak in the corresponding cell type. An overview can be found in Additional file 1: Table S6.

Enhancer prediction based on random forests

We use a combination of two binary random forest classifiers for our enhancer prediction, where both consist of M=100 decision trees. The first classifier (classifier 1) learns the difference between active genomic regions (active promoters, enhancers) and inactive genomic regions (inactive promoters, remaining intra- and intergenic regions). The second one (classifier 2) learns to distinguish enhancers from active promoters, such that it gives the probability of a region to be an enhancer assuming it is an active region. The final enhancer probability assigned to each 100-bp bin, bin x, in the fragmented genome is computed as the product of both classifiers describing the joint probability that a region is active and an active enhancer at the same time:

$$ {\begin{aligned} &P(\text{bin}_{x} = \text{active enhancer}) = \underbrace{P(\text{bin}_{x} = \text{active})}_{\substack{\text{classifier 1}}}\\&\quad \cdot \underbrace{P(\text{bin}_{x} = \text{active enhancer} \, | \, \text{bin}_{x} = \text{active})}_{\substack{\text{classifier 2}}}. \end{aligned}} $$

Definition of the training and feature sets

In the two distinct training sets for classifiers 1 and 2, we emulate a typical genome composition as reported, e.g., in [86]. The training set of classifier 1 is composed of 10% enhancers, 5% active promoters, 5% inactive promoters, and 10% intragenic and 70% intergenic regions, summing up to 1000 regions in total. Classifier 2 is trained on \(66.\bar {6}\%\) enhancers and \(33.\bar {3}\%\) active promoters. Here, we keep the same enhancer/promoter ratio and total numbers than in the first training set, i.e., we always use 150 regions selected according to these rules. Overall, this also serves the purpose of adequately reflecting the imbalance between enhancers and non-enhancer regions in the genome.

The feature set, which is also chosen individually for the two classifiers, is derived from summed and normalized ChIP-seq read counts for the three core HMs. For classifier 1, we consider only H3K27ac, whereas for classifier 2, we consider all three core HMs as well as the H3K4me1/me3 ratio.

Since we want to represent the physical structure of an enhancer (nucleosome - accessible region - nucleosome), we divide a large window of 1100 bp into 11 non-overlapping bins, i.e., the center bin (bin x) plus N=5 bins on either side, resulting in a total number of 11 features for classifier 1 and 11·4=44 features for classifier 2.

The number of neighboring bins N in the feature set and the number of decision trees M in the random forest are parameters that we optimized according to the description in the following section.

Parameter tuning

We used fivefold cross-validation over 10 different training seeds to find the optimal number of decision trees M{20,40,…,200} and neighboring windows N{0,1,…,15}. Each of the 10 training sets used is chosen as described in the previous paragraph. Based on the AUC-PR (area under the PR curve) performances (see Additional file 1: Figure S20, and also Additional file 1: Figure S21 for the AUC-ROC results), we fixed the combination of N=5 neighboring windows and M=100 trees for both classifiers. With the optimized parameter choice, we trained classifiers 1 and 2 on 2 final randomly sampled training sets which can have a possible overlap with the 10 training sets used for parameter tuning. The parameter setting of N=5 and M=100 is used in all our analyses.

Combined random forest variant

In order to assess the advantage of training 2 separate random forests, we trained a single random forest classifier on the mESC + data set, which learns to distinguish enhancers from the rest of the genome in 1 step. This classifier is based on H3K27ac, H3K4me1, H4K4me3, and the ratio H3K4me1/H3K4me3 and also uses 100 decision trees and normalized read counts over 11 individual non-overlapping bins per HM as features. The training set consists of 10% FANTOM5-based enhancers representing the positive set, and 5% active promoters, 5% inactive promoters, and 10% intragenic and 70% intergenic regions in the negative set. In total, the training set sums up to 1000 regions.

Extreme gradient boosting

We replaced the two random forest classifiers in our framework by the very recent extreme gradient boosting approach “XGBoost” [37] to check for a possible improvement of performance. Specifically, we performed the comparison in the cross-validation step using the same tuning parameters as for the random forest, i.e., the number of neighboring windows and the number of decision trees (parameter name: nrounds). We used the R package “xgboost” [87] and trained the classifier with the default parameters.

Enhancer peak calling and building of enhancer clusters

Genome-wide predictions result in enhancer probability values for each 100-bp bin in the genome which are further summarized to define enhancer peaks. To this end, all bins with a probability ≥0.5 are sorted in descending order according to their probability value and expanded by five bins up and downstream resulting in a window length of 1100 bp. By going through the sorted list of high-probability regions, starting with the highest probability, all windows that overlap the current window are discarded. This results in a sorted list of non-overlapping enhancer peaks with a length of 1100 bp.

Enhancer peaks are further summarized into enhancer clusters solely considering the distance between them (maximum distance of 12.5 kb), which partly reflects the definition of super-enhancers as stated by [26] and [88].

Definition of spatial resolution

We define the spatial resolution of a predicted enhancer as the distance between the center of the enhancer and the closest accessible region measured with ATAC-seq. We take either the ATAC-seq summit or the start/end position of the ATAC-seq peak as reference for the distance evaluation.

The spatial resolution of a set of predicted enhancers is defined as the median of the individual enhancer distances to the closest ATAC-seq peak. Here, we exclude enhancers that are more than 1 kb away from an accessible region from the median calculation.

CRUP-ED: enhancer dynamics

Statistical inference of differences between two conditions

Enhancer probabilities for all 100-bp bins and samples are collected in a matrix A=(Axi) where Axi corresponds to bin x in sample i. In the following, we denote by \(\phantom {\dot {i}\!}A_{C^{1}} = (A_{xi})_{i \in C^{1}}\) the submatrix of A with columns corresponding to samples from condition C1 (applies equally for condition C2). As the number of samples in each group is usually very small, we perform a non-parametric permutation test on the data set to compute an empirical distribution. This approach was already introduced in earlier studies, for example, by [89]. First, all enhancer probabilities Axi are shuffled, and the test statistic Tx is then calculated for each bin x to obtain the weighted difference between the two conditions C1 and C2:

$$\begin{array}{@{}rcl@{}} T_{x}=\frac{\mu_{C^{1}} - \mu_{C^{2}} - w_{0}}{S_{\triangle}}, \end{array} $$

where \(\phantom {\dot {i}\!}\mu _{C^{1}} = \mu (A_{xC^{1}})\) and \(\phantom {\dot {i}\!}\mu _{C^{2}}=\mu (A_{xC^{2}})\) are the respective group means for bin x. The parameter w0 defines the minimum difference between them, and the tested null hypothesis can be formulated as \(\phantom {\dot {i}\!}H_{0}: |\mu _{C^{1}} - \mu _{C^{2}}| \le w_{0}\). We choose w0=0.5 as the default minimum group difference (if not stated otherwise) since this would consider condition means of \(\phantom {\dot {i}\!}\mu _{C^{1}} = 0\) and \(\phantom {\dot {i}\!}\mu _{C^{2}} = 0.5\) as differential. Lower values of w0 will lead to less sensitive results. The pooled standard deviation S is based on the group variances \(\sigma ^{2}_{C^{1}} = \sigma ^{2}(A_{xC^{1}})\) and \(\sigma ^{2}_{C^{2}}=\sigma ^{2}(A_{xC^{2}})\):

$$ S^{2}_{\triangle} = \frac{(|C^{1}|-1)\sigma^{2}_{C^{1}} + (|C^{2}|-1)\sigma^{2}_{C^{2}}}{|C^{1}|+|C^{2}|-2} \cdot \Big(\frac{1}{|C^{1}|}+\frac{1}{|C^{2}|}\Big) $$

Empirical p values for each bin x, Px=Px(C1,C2), are obtained by counting the values Tx in the sampling distribution that exceed the true weighted difference \(T_{x}^{\text {true}}\), which means that the lowest possible p value is 1/(1+number of bins). By setting a threshold P (default, 0.05) to the obtained Px, the genome is reduced to high-confidence enhancer regions of length 100 bp that significantly differ in probabilities between two distinguishable conditions. Note that S is set to a small number ≈0 if |C1|=1 and/or |C2|=1 to avoid division by zero.

Clustering of differential enhancers using “activity pattern”

Significant differential enhancer regions with a length of 100 bp are obtained for all pairwise comparisons between any two conditions {C1,C2}C as described in the previous paragraph. In the following, the indicator function T(C1,C2)=Tx(C1,C2) denotes if bin x is an active enhancer in condition C1 but not in condition C2:

$$ {\begin{aligned} T(C^{1},C^{2}) = \left\{\begin{array}{ll} 1, & \text{if}\ P_{x-2:x+2}(C^{1},C^{2}) \le P^{*} \text{ and}\ (\mu_{C^{1}} - \mu_{C^{2}}) > 0\\ 0, & \text{otherwise} \end{array}\right. \end{aligned}} $$

Note that additional to the p value assigned to bin x, the p values of two additional bins up and downstream of bin x are required to be smaller than P. In the following, bin x is renamed as \(\text {bin}_{x}^{\{ T(C^{1},C^{2}) = 1,\text {} T(C^{2},C^{1}) = 0\}} = \text {bin}_{x}^{\{1,0\}}\) if the empirical p values Px−2:x+2(C1,C2)≤P and if the difference in the group means \(\phantom {\dot {i}\!}(\mu _{C^{1}} - \mu _{C^{2}}) > 0\). The region will be denoted as \(\text {bin}_{x}^{\{0,1\}}\) if T(C2,C1)=1 and as \(\text {bin}_{x}^{\{0,0\}}\) if Px−2:x+2(C1,C2)>P. With this, each differential enhancer bin x can be allocated to a unique activity pattern, either {1,0}, {0,1}, or {0,0} (see Fig. 7 for an overview).

Fig. 7

Assignment of activity pattern for the comparison of two conditions. For the differential comparison of enhancers in two conditions, C1 and C2, the activity pattern assigned to bin x depends on the empirical p values of bin x and two neighboring bins to both sides (bin x−1, bin x−2, bin x+1, bin x+2). If one of the five empirical p values exceeds the cutoff P, bin x does not represent a differential enhancer between C1 and C2 and is assigned the activity pattern {Tx(C1,C2)=0, Tx(C2,C1)=0}={0,0}. If all five bins show an empirical p value below P and the group mean of C1 is greater than the group mean of C2 (μC1>μC2, bin x represents an active enhancer in C1 and is assigned the activity pattern {Tx(C1,C2)=1, Tx(C2,C1)=0}={1,0}. In the opposite case (μC2>μC1), bin x is active in C2 with an activity pattern of {Tx(C1,C2)=0, Tx(C2,C1)=1}={0,1}

This notation expands as the number of conditions, |C|, increases. For example, if |C|=3, the number of possible comparisons is \(\binom {|C|}{2}= 3\), namely (C1,C2),(C1,C3), and (C2,C3). As each tupel can be assigned to three activity patterns, the total number of possible outcomes sums up to \( 3^{\binom {|C|}{2}} -1 = 26\), whereas the pattern {0,0,0,0,0,0} does not include any differential information and can be discarded from the list.

The total range of all bin x that are associated with the same activity pattern is summarized within a 2-kb distance whereas the bin x with the lowest p value Px is stored as peak. If regions with different activity patterns are overlapping, these are combined and labeled with the activity pattern according to the lowest peak p value.

CRUP-ET: enhancer targets

Regulatory units by a correlation approach

Differential enhancer regions for any set of conditions C are obtained and clustered as described above. Gene expression counts per exon are obtained from RNA-seq experiments of the same conditions using the function summarizeOverlaps implemented in the R package GenomicAlignments ([90], v1.14.2). Summarized counts per gene are variance stabilized across the mean using the function vst implemented in the R package DESeq2 ([91], v1.18.1).

All genes and differential enhancer regions are gathered within the same topologically associated domain. To find regulatory units of gene-enhancer pairs that behave similarly across conditions, we apply a correlation approach. For this, Pearson correlation values are calculated between enhancer probability values and normalized gene expression counts within the same TAD and across all conditions. All enhancer-gene pairs with a correlation ≥0.9 are considered as putative regulatory units and are reported.

Comparison to other enhancer predicting methods

Application of ChromHMM

ChromHMM [86] was applied to three core HMs to generate seven genome-wide segmentations for undifferentiated mESCs based on K{2,3,4,5,6,7,8} chromatin states (Additional file 1: Figure S5). For K={2,3,4}, we were not able to clearly separate an enhancer from the promoter state. For K={5,6,7,8}, we defined enhancers based on the combinations of states with high emission probabilities for the enhancer marks H3K4me1 and H3K27ac and low emission probabilities for the promoter mark H3K4me3. Since the results for K={5,6,7,8} are very similar (not shown), we concentrate on the highest and lowest numbers of states, K=5 and K=8. We tested four different enhancer definitions for K=5 including states (i) E5, (ii) E5+E2, (iii) E5+E3, and (iv) E5+E3+E2, and for K=8, the enhancer definitions are composed of states (i) E2, (ii) E2+E5, (iii) E2+E4, and (iv) E2+E4+E5.

The prediction performances of the defined enhancer state (versus all other states) for K=5 and K=8 were calculated based on the same ten test sets generated through different random seeds. To determine an overlap, we extend our test regions to 1100 bp centered on the respective region. Based on these definitions, the numbers of true and false positives and negatives could be calculated.

Application of REPTILE

REPTILE [13] was trained on different mouse (ESC, fibroblasts, adipocytes, hepatocytes) and human (hepatocytes) data. We first RPM normalized the ChIP-seq tracks and then performed a log2 input normalization on all HM data as recommended in the REPTILE paper.

For mESC, we made genome-wide predictions whereas for the other samples, we only predicted on a test set. To do so, we chose the training set for REPTILE similarly as for our method (see the “CRUP-EP: enhancer prediction” section), i.e., also trying to emulate a typical genome composition.

Genome-wide predictions on our mESC + sample were generated using six different training and feature set combinations and a pre-trained publicly available REPTILE classifier (mm _model_coreHisMod.reptile) in two settings:

  1. (1)

    FANTOM5-derived enhancers and three core mESC HMs (FANTOM5 + mESC)

  2. (2)

    FANTOM5-derived enhancers, three core HMs, and intensity deviation (FANTOM5 + mESC + ID-DEEP)

  3. (3)

    p300-defined enhancers, three core HMs, and intensity deviation (P300 + ID)

  4. (4)

    p300-defined enhancers, three core HMs, intensity deviation, and differentially methylated regions (P300 + ID + DMR)

  5. (5)

    p300-defined enhancers, three core HMs, intensity deviation and methylation data (‘P300 + ID + METH’)

  6. (6)

    p300-defined enhancers, three core HMs, intensity deviation, differentially methylated regions, and methylation data (P300 + ID + METH + DMR)

  7. (7)

    Pre-trained REPTILE classifier based on the three core HMs and intensity deviation

  8. (8)

    Pre-trained REPTILE classifier based on the three core HMs, intensity deviation and differentially methylated regions

Here, the three core HMs are from the in-house mESC data, and the differentially methylated regions (DMRs) are taken from [13]. The intensity deviation for a specific target sample is described in [13] as the signal/intensity of the target sample subtracted by its mean intensity in reference samples. In our setting, we included additional to the mESC target sample also the intensity deviation between intensity from mESC + and the 11 data sets from our test set prediction across different tissues. In the pre-trained REPTILE classifiers, the intensity deviation is derived from several embryonic data samples in mouse (see [13])

Using the REPTILE peak calling tool with a probability threshold of 0.5 for the different scenarios, we got (1) 29,029; (2) 22,946; (3) 51,442; (4) 72,287; (5) 39,644; (6) 53,789; (7) 969; and (8) 1974 annotated enhancer regions.

Motif enrichment analysis

We performed motif hit enrichment analyses with the R package motifcounter [92] on individual enhancers or clusters of enhancers. The method is based on a higher-order Markov background model to compute the expected motif occurrences (hits) and a compound Poisson approximation for enrichment testing. We use the default parameters for the order of the background model and the false-positive level for motif hits, order=1 and α=0.001, respectively. In our analysis of enhancer clusters, we refer to the fold enrichment value for the overrepresentation of a motif. For a single enhancer sequence, we filter motifs by p value (≤0.05) and individual motif hits by score (maximum) to pinpoint relevant TFBSs. All enhancers are reduced to a length of 300 bp before the analysis.

We tested for enrichment of the binding profiles of 579 TFs in total which were downloaded from the non-redundant JASPAR 2018 CORE vertebrate collection [93] of position frequency matrices (PFMs).

KEGG pathway analysis

We used the curated database of molecular pathways and disease signatures to perform an overrepresentation analysis for Kyoto Encyclopedia of Genes and Genomes (KEGG) pathways [5355]. To this end, we applied the function kegga (species.KEGG = “mmu”, trend = T) implemented in the edgeR R package [94, 95] to identify murine KEGG pathways that are overrepresented in putative target genes that were found to be highly correlated with enhancer regions that are solely active in mice with rheumatoid athritis (correlation ≥0.9). As a background, we used all genes (R package Txdb.Mmusculus.UCSC.mm10.knownGene [96]) that are located within the same TADs as all identified regulatory units. We used the p value (P.DE) to order the results and reported the best five pathways.

Chi-square test of independence

Enhancer predictions for several fetal tissues (brain E14.5, heart E14.5, liver E14.5, limb E14.5, lung E14.5, and mESC E14) were downloaded from the EnhancerAtlas database [25], and coordinates were transferred from mm9 to mm10 using the R package liftover.

Pearson’s chi-squared test (R function chisq.test) was used to test whether mESC E14 enhancer regions overlap with CRUP enhancer predicitons trained on various tissues. Note that we used the union of all fetal EnhancerAtlas tissues and the respective predictions done by CRUP as the overall universe to create the 2×2 contingency table. All 12 classifier, trained on different tissues and species (mESC, human hepatoctyes, mouse hepatocytes, mouse adipocytes, and mouse fibroblasts) achieved significant results with the highest p value of 5.61e−12.

Availability of data and materials

Raw and processed data for ChIP-seq, RNA-seq, DNase-seq, and ATAC-seq experiments for the pluripotent (mESC +) and differentiated (mESC ) mouse embryonic stem cell samples are available via the Gene Expression Omnibus (GEO) [97]. Raw data generated by the DEEP consortium is available via ENA/EGA:

mouse: study accession number: PRJEB25978 [98]; human: study accession number: EGAS00001001937 [99]. Accession numbers for all mouse samples are listed in Additional file 1: Table S3. The code to run the framework is available via GitHub [100] and zenodo [101].


  1. 1

    Shlyueva D, Stampfel G, Stark A. Transcriptional enhancers: from properties to genome-wide predictions. Nat Rev Genet. 2014; 15(4):272–86.

    CAS  PubMed  Article  PubMed Central  Google Scholar 

  2. 2

    Wray GA. The evolutionary significance of cis-regulatory mutations. Nat Rev Genet. 2007; 8:206–16.

    CAS  PubMed  Article  PubMed Central  Google Scholar 

  3. 3

    Wittkopp PJ, Kalay G. Cis-regulatory elements: molecular mechanisms and evolutionary processes underlying divergence. Nat Rev Genet. 2012; 13:59–69.

    CAS  Article  Google Scholar 

  4. 4

    Maurano MT, Humbert R, Rynes E, Thurman RE, Haugen E, Wang H, Reynolds AP, Sandstrom R, Qu H, Brody J, Shafer A, Neri F, Lee K, Kutyavin T, Stehling-Sun S, Johnson AK, Canfield TK, Giste E, Diegel M, D. B, Hansen RS, Neph S, Sabo PJ, Heimfeld S, Raubitschek A, Ziegler S, Cotsapas C, Sotoodehnia N, Glass I, Sunyaev SR, Kaul R, Stamatoyannopoulos JA. Systematic localization of common disease-associated variation in regulatory dna. Science. 2012; 337(6099):1190–5.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  5. 5

    Banerji J, Rusconi S, Schaffner W. Expression of a β-globin gene is enhanced by remote sv40 dna sequences. Cell. 1981; 27:299–308.

    CAS  PubMed  Article  PubMed Central  Google Scholar 

  6. 6

    Visel A, Blow MJ, Li Z, Zhang T, Akiyama JA, Holt A, Plajzer-Frick I, Shoukry M, Wright C, Chen F, Afzal V, Ren B, Rubin EM, Pennacchio LA. ChIP-seq accurately predicts tissue-specific activity of enhancers. Nature. 2009; 457(7231):854–8.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  7. 7

    Horak CE, Snyder M. A genomic approach for identifying transcription factor binding sites. Methods Enzymol. 2002; 350(5500):469–83.

    CAS  PubMed  Article  PubMed Central  Google Scholar 

  8. 8

    Heintzman ND, Hon GC, Hawkins RD, Kheradpour P, Stark A, Harp LF, Ye Z, Lee LK, Stuart CWRKanChing, Ching KA, Antosiewicz-Bourget JE, Liu H, Zhang X, Green RD, Lobanenkov VV, Stewart R, Thomson JA, Crawford GE, Kellis M, Ren B. Histone modifications at human enhancers reflect global cell type-specific gene expression. Nature. 2009; 459(7243):108–12.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  9. 9

    Corradin O, Saiakhova A, Akhtar-Zaidi B, Myeroff L, Willis J, Cowper-Sal lari R, Lupien M, Markowitz S, Scacheri PC. Combinatorial effects of multiple enhancer variants in linkage disequilibrium dictate levels of gene expression to confer susceptibility to common traits. Genome Res. 2014; 24(1):1–13.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  10. 10

    Wang Z, Gerstein M, Snyder M. RNA-seq: a revolutionary tool for transcriptomics. Nat Rev Genet. 2009; 10(1):57–63.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  11. 11

    Ernst J, Kellis M. ChromHMM: automating chromatin state discovery and characterization. Nat Methods. 2012; 9(3):215–6.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  12. 12

    Mammana A, Chung HR. Chromatin segmentation based on a probabilistic model for read counts explains a large portion of the epigenome. Genome Biol. 2015; 16:151.

    PubMed  PubMed Central  Article  Google Scholar 

  13. 13

    He Y, Gorkin DU, Dickel DE, Nery JR, Castanon RG, Lee AY, Shen Y, Visel A, Pennacchio LA, Ren B, Ecker JR. Improved regulatory element prediction based on tissue-specific local epigenomic signatures. Proc Natl Acad Sci USA. 2017; 114(9):1633–40.

    Article  CAS  Google Scholar 

  14. 14

    Rajagopal N, Xie W, Li Y, Wagner U, Wang W, Stamatoyannopoulos J, Ernst J, Kellis M, Ren B. RFECS: a random-forest based algorithm for enhancer identification from chromatin state. PLoS Comput Biol. 2013; 9(3):1002968.

    Article  CAS  Google Scholar 

  15. 15

    Fu S, Wang Q, Moore JE, Purcaro MJ, Pratt HE, Fan K, Gu C, Jiang C, Zhu R, Kundaje A, Lu A, Weng Z. Differential analysis of chromatin accessibility and histone modifications for predicting mouse developmental enhancers. Nucleic Acids Res. 2018; 46(21):11184–201.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  16. 16

    de Laat W, Duboule D. Topology of mammalian developmental enhancers and their regulatory landscapes. Nature. 2013; 502(7472):499–506.

    CAS  Article  Google Scholar 

  17. 17

    Dekker J, Rippe K, Dekker M, Kleckner N. Capturing chromosome conformation. Science. 2002; 295:1306–11.

    CAS  Article  Google Scholar 

  18. 18

    Rao SSP, Huntley MH, NC Durand, Stamenova IDEKandBochkov, Robinson JT, Sanborn AL, Machol I, Omer AD, Lander ES, Aiden EL. A 3D map of the human genome at kilobase resolution reveals principles of chromatin looping. Cell. 2014; 159(7):1665–80.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  19. 19

    Ernst J, Kheradpour P, Mikkelsen TS, Shoresh N, Ward LD, Epstein CB, Zhang X, Wang L, Issner R, Coyne M. Mapping and analysis of chromatin state dynamics in nine human samples. Nature. 2011; 473(7345):43–9.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  20. 20

    Creyghton MP, Cheng AW, Welstead GG, Kooistra T, Carey BW, Steine EJ, Hanna J, Lodato MA, Frampton GM, Sharp PA, Boyer LA, Young RA, Jaenisch R. Histone h3k27ac separates active from poised enhancers and predicts developmental state. Proc Natl Acad Sci U S A. 2010; 107(50):21931–6.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  21. 21

    Rada-Iglesias A, Bajpai TRandSwigut, Brugmann SA, Flynn RA, Wysocka J. A unique chromatin signature uncovers early developmental enhancers in humans. Nature. 2011; 470(7333):279–83.

    CAS  PubMed  Article  PubMed Central  Google Scholar 

  22. 22

    de Hoon M, Shin JW, P C. Paradigm shifts in genomics through the fantom projects. Cold Spring Harb Protoc. 2010; 26(9–10):391–402.

    Google Scholar 

  23. 23

    Buenrostro J, Wu B, Chang HY, Greenleaf WJ. ATAC-seq: a method for assaying chromatin accessibility genome-wide. Curr Protoc Mol Biol. 2015; 109:21–29121299.

    PubMed  PubMed Central  Google Scholar 

  24. 24

    Chen X, Xu H, Yuan P, Fang F, Huss M, Vega VB, Wong E, Orlov YL, Zhang W, Jiang J, Loh YH, Yeo HC, Yeo ZX, Narang V, Govindarajan KR, Leong B, Shahab A, Ruan Y, Bourque G, Sung WK, Clarke ND, Wei CL, Ng HH. Integration of external signaling pathways with the core transcriptional network in embryonic stem cells. Cell. 2008; 133(6):1106–17.

    CAS  PubMed  Article  PubMed Central  Google Scholar 

  25. 25

    Gao BTandHe, Liu S, Zhu H, Tan K, Qian J. EnhancerAtlas: a resource for enhancer annotation and analysis in 105 human cell/tissue types. Bioinformatics. 2016.

  26. 26

    Whyte WA, Orlando DA, Hnisz D, Abraham BJ, Lin CY, Kagey MH, Rahl PB, Ihn Lee T, Young RA. Master transcription factors and mediator establish super-enhancers at key cell identity genes. Cell. 2013; 153:307–19.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  27. 27

    DEEP. The German epigenome programme. 2012. Accessed 30 Sept 2019.

  28. 28

    Lim LWK, Chung HH, Chong YL, Lee NK. A survey of recently emerged genome-wide computational enhancer predictor tools. Comput Biol Chem. 2018; 74:132–41.

    CAS  PubMed  Article  PubMed Central  Google Scholar 

  29. 29

    Grossman SR, Zhang X, Wang L, Engreitz J, Melnikov A, Rogov P, Tewhey R, Isakova A, Deplancke B, Bernstein b. E., Mikkelsen TS, Lander ES. Systematic dissection of genomic features determining transcription factor binding and enhancer function. Proc Natl Acad Sci U S A. 2017; 114(7):1291–300.

    Article  CAS  Google Scholar 

  30. 30

    Arnold CD, Gerlach D, Stelzer C, Boryn LM, Rath M, Stark A. Genome-wide quantitative enhancer activity maps identified by STARR-seq. Science. 2013; 339(6123):1074–7.

    CAS  PubMed  Article  PubMed Central  Google Scholar 

  31. 31

    Bonev B, Mendelson Cohen N, Szabo Q, Fritsch L, Papadopoulos GL, Lubling Y, Xu X, Lv X, Hugnot JP, Tanay A, Cavalli G. Multiscale 3D genome rewiring during mouse neural development. Cell. 2017; 171(3):557–57224.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  32. 32

    Andrey G, Schöpflin R, Jerković I, Heinrich V, Ibrahim DM, Paliou C, Hochradel M, Timmermann B, Haas S, Vingron M, Mundlos S. Characterization of hundreds of regulatory landscapes in developing limbs reveals two regimes of chromatin folding. Genome Res. 2017; 27(2):223–33.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  33. 33

    Tolhuis B, Palstra R-J, Splinter E, Grosveld F, de Laat W. Looping and interaction between hypersensitive sites in the active β-globin locus. Mol Cell. 2002; 10(6):1453–65.

    CAS  PubMed  Article  PubMed Central  Google Scholar 

  34. 34

    Yin S, Feng Y, McCleary DF, Ye z., Edsall L, Kuan S, Wagner U, Dixon J, Lee L, Lobanenkov VV, Ren B. A map of the cis-regulatory sequences in the mouse genome. Nature. 2012; 488(7409):116–20.

    Article  CAS  Google Scholar 

  35. 35

    Gorkin D, Barozzi I, Zhang Y, Lee AY, Lee B, Zhao Y, Wildberg A, Ding B, Zhang B, Wang M, Strattan JS, Davidson JM, Qiu Y, Afzal V, Akiyama JA, Plajzer-Frick I, Pickle CS, Kato M, Garvin TH, Pham QT, Harrington AN, Mannion BJ, Lee EA, Fukuda-Yuzawa Y, He Y, Preissl S, Chee S, Williams BA, Trout D, Amrhein H, Yang H, Cherry JM, Shen Y, Ecker JR, Wang W, Dickel DE, Visel A, Pennacchio LA, Ren B. Systematic mapping of chromatin state landscapes during mouse development. bioRxiv. 2017; 166652.

  36. 36

    Andersson R, Gebhard C, Miguel-Escalada I, Hoof I, Bornholdt J, Boyd M, Chen Y, Zhao X, Schmidl C, Suzuki T, Ntini E, Arner E, Valen E, Li K, Schwarzfischer L, Glatz D, Raithel J, Lilje B, Rapin N, Bagger FO, Jørgensen M, Andersen PR, Bertin N, Rackham O, Burroughs AM, Baillie JK, Ishizu Y, Shimizu Y, Furuhata E, Maeda S, Negishi Y, Mungall CJ, Meehan TF, Lassmann T, Itoh M, Kawaji H, Kondo N, Kawai J, Lennartsson A, Daub CO, Heutink P, Hume DA, Jensen TH, Suzuki H, Hayashizaki Y, Müller F, The FANTOM Consortium, Forrest ARR, Carninci P, Rehli M, Sandelin A. An atlas of active enhancers across human cell types and tissues. Nature. 2014; 507:455–61.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  37. 37

    Chen T, Guestrin C. Xgboost: A scalable tree boosting system. In: Proceedings of the 22Nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. KDD ’16. New York: ACM: 2016. p. 785–94.

    Google Scholar 

  38. 38

    Novo CL, Javierre BM, Cairns J, Segonds-Pichon A, Wingett SW, Freire-Pritchett P, Furlan-Magaril M, Schoenfelder S, Fraser P, Rugg-Gunn PJ. Long-range enhancer interactions are prevalent in mouse embryonic stem cells and are reorganized upon pluripotent state transition. Cell Rep. 2018; 22(10):2615–27.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  39. 39

    Huang BTDWeandSherman, Lempicki RA. Bioinformatics enrichment tools: paths toward the comprehensive functional analysis of large gene lists. Nucleic Acids Res. 2009; 37(1):1–13.

    Article  CAS  Google Scholar 

  40. 40

    Huang DW, Sherman BT, Lempicki RA. Systematic and integrative analysis of large gene lists using david bioinformatics resources. Nat Protoc. 2009; 4(1):44–57.

    CAS  Article  Google Scholar 

  41. 41

    Gudas LJ, Wagner JA. Retinoids regulate stem cell differentiation. J Cell Physiol. 2011; 226(2):322–00.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  42. 42

    Cunningham TJ, Duester G. Mechanisms of retinoic acid signalling and its roles in organ and limb development. Nat Rev Mol Cell Biol. 2015; 16(2):110–23.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  43. 43

    Lin C, Garrett AS, De Kumar ER, Smith B, Gogol M, Seidel C, Krumlauf R, Shilatifard A. Dynamic transcriptional events in embryonic stem cells mediated by the super elongation complex (sec). Genes Dev. 2011; 25:1486–98.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  44. 44

    van Arensbergen J, van Steensel B, Bussemaker HJ. In search of the determinants of enhancer-promoter interaction specificity. Trends Cell Biol. 2014; 24(11):695–702.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  45. 45

    Zhang J, Tam WL, Tong GQ, Wu Q, Chan HY, Soh BS, Lou Y, Yang J, Ma Y, Chai L, Ng HH, Lufkin T, Robson P, Lim B. Sall4 modulates embryonic stem cell pluripotency and early embryonic development by the transcriptional regulation of pou5f1. Nat Cell Biol. 2006; 8:1114–23.

    CAS  PubMed  Article  PubMed Central  Google Scholar 

  46. 46

    Alamanos Y, Drosos AA. Epidemiology of adult rheumatoid arthritis. Autoimmun Rev. 2015; 4(3):130–6.

    Article  Google Scholar 

  47. 47

    Luo X, Chen J, Ruan J, Chen Y, Mo X, Xie J, Lv G. Krüppel-like factor 4 is a regulator of proinflammatory signaling in fibroblast-like synoviocytes through increased il-6 expression. Mediat Inflamm. 2016; 2016:1062586.

    Google Scholar 

  48. 48

    Salem S, Gao C, Li A, Wang H, Nguyen-Yamamoto L, Goltzman D, Henderson JE, Gros P. A novel role for interferon regulatory factor 1 (irf1) in regulation of bone metabolism. J Cell Mol Med. 2014; 18(8):1588–98.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  49. 49

    Alivernini S, Kurowska-Stolarska M, Tolusso B, Benvenuto R, Elmesmari A, Canestri S, Petricca L, Mangoni A, Fedele AL, Di Mario C, Gigante MR, Gremese E, McInnes IB, Ferraccioli G. MicroRNA-155 influences B-cell function through PU,1 in rheumatoid arthritis. Nat Commun. 2016; 7:12970.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  50. 50

    Ruuth M, Soronen J, Kaiharju E, Merikanto K, Perttila J, Metso J, Lee-Rueckert M, Taskinen MR, Kovanen PT, Oorni K, Olkkonen VM, Jauhiainen MS, Laurila PP. USF1 deficiency alleviates inflammation, enhances cholesterol efflux and prevents cholesterol accumulation in macrophages. Lipids Health Dis. 2018; 17(1):285.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  51. 51

    Laria A, Lurati A, Marrazza M, Mazzocchi D, Re KA, Scarpellini M. The macrophages in rheumatic diseases. J Inflamm Res. 2016; 9:1–11.

    CAS  PubMed  PubMed Central  Google Scholar 

  52. 52

    Kim Y-J, Shin JM, Yoon SY, Kim JH, Kim M-H, Sohn K-Y, Kim H-J, Han Y-H, Chong S, Kim JW. Plag (1-palmitoyl-2-linoleoyl-3-acetyl-rac-glycerol) regulates il-6-stat3 signaling to reduce neutrophil infiltration into the synovium of arthritic joints. J Immunol. 2016; 196(1 Supplement):50–3503.

    Google Scholar 

  53. 53

    Kanehisa M, Goto S. KEGG: Kyoto Encyclopedia of Genes and Genomes. Nucleic Acids Res. 2000; 28:27–30.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  54. 54

    Kanehisa M, Sato Y, Kawashima M, Furumichi M, Tanabe M. KEGG as a reference resource for gene and protein annotation. Nucleic Acids Res. 2000; 44:457–62.

    Article  CAS  Google Scholar 

  55. 55

    Kanehisa M, Furumichi M, Tanabe M, Sato Y, Morishima K. KEGG: new perspectives on genomes, pathways, diseases and drugs. Nucleic Acids Res. 2017; 45:353–61.

    Article  CAS  Google Scholar 

  56. 56

    Szekanecz Z, Vegvari A, Szabo Z, Koch AE. Chemokines and chemokine receptors in arthritis. Front Biosci (Schol Ed). 2010; 2:153–67.

    Article  Google Scholar 

  57. 57

    Braun T, Zwerina J. Positive regulators of osteoclastogenesis and bone resorption in rheumatoid arthritis. Arthritis Res Ther. 2011; 13(4):235.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  58. 58

    Justice EA, Khan SY, Logan S, Jobanputra P. Disseminated cutaneous herpes simplex virus-1 in a woman with rheumatoid arthritis receiving infliximab: a case report. J Med Case Rep. 2008; 2:282.

    PubMed  PubMed Central  Article  Google Scholar 

  59. 59

    Rothe K, Quandt D, Schubert K, Rossol M, Klingner M, Jasinski-Bergner S, Scholz R, Seliger B, Pierer MMD, Baerwald C, Wagner U. Latent cytomegalovirus infection in rheumatoid arthritis and increased frequencies of cytolytic lir-1+cd8+ t cells. Arthritis Rheumatol. 2016; 68(2):337–46.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  60. 60

    McCormack WJ, Parker AE, O’Neill LA. Toll-like receptors and nod-like receptors in rheumatic diseases. Arthritis Res Ther. 2009; 11(5):243.

    PubMed  PubMed Central  Article  CAS  Google Scholar 

  61. 61

    Dixon JR, Selvaraj S, Yue F, Kim A, Li Y, Shen Y, Hu M, Liu JS, Ren B. Topological domains in mammalian genomes identified by analysis of chromatin interactions. Nature. 2012; 485(7398):376–80.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  62. 62

    Lupianez DG, Kraft K, Heinrich V, Krawitz P, Brancati F, Klopocki E, Horn D, Kayserili H, Opitz JM, Laxova R, Santos-Simarro F, Gilbert-Dussardier B, Wittler L, Borschiwer M, Haas SA, Osterwalder M, Franke M, B. T, Hecht J, Spielmann M, Visel A, Mundlos S. Disruptions of topological chromatin domains cause pathogenic rewiring of gene-enhancer interactions. Cell. 2015; 161(5):1012–25.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  63. 63

    Smith AG, Heath JK, Donaldson DD, Wong GG, Moreau J, Stahl M, Rogers D. Inhibition of pluripotential embryonic stem cell differentiation by purified polypeptides. Nature. 1988; 336(6200):688–90.

    CAS  PubMed  Article  PubMed Central  Google Scholar 

  64. 64

    Pease S, Braghetta P, Gearing D, Grail D, Williams RL. Isolation of embryonic stem (ES) cells in media supplemented with recombinant leukemia inhibitory factor (LIF). Nature. 1990; 141(2):344–52.

    CAS  Google Scholar 

  65. 65

    Wehmeyer C, Frank S, Beckmann D, Böttcher M, Cromme C, König U, Fennen M, Held A, Paruzel P, Hartmann C, Stratis A, Korb-Pap A, Kamradt T, Kramer I, van den Berg W, Kneissel M, Pap T, Dankbar B. Sclerostin inhibition promotes TNF-dependent inflammatory joint destruction. Sci Transl Med. 2016; 8(330):330–5.

    Article  CAS  Google Scholar 

  66. 66

    Keffer J, Probert L, Cazlaris H, Georgopoulos S, Kaslaris E, Kioussis D, Kollias G. Transgenic mice expressing human tumour necrosis factor: a predictive genetic model of arthritis. EMBO J. 1991; 10(13):4025–31.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  67. 67

    Arrigoni L, Richter AS, Betancourt E, Bruder K, Diehl S, Manke T, Bönisch U. Standardizing chromatin research: a simple and universal method for ChIP-seq. Nucleic Acids Res. 2016; 44:67.

    Article  CAS  Google Scholar 

  68. 68

    Godoy P, Hewitt NJ, Albrecht U, Andersen ME, Ansari N, Bhattacharya S, Bode JG, Bolleyn J, Borner C, Böttger J, Braeuning A, Budinsky RA, Burkhardt B, Cameron NR, Camussi G, Cho CS, Choi YJ, Craig Rowlands J, Dahmen U, Damm G, Dirsch O, Donato MT, Dong J, Dooley S, Drasdo D, Eakins R, Ferreira KS, Fonsato V, Fraczek J, Gebhardt R, Gibson A, Glanemann M, Goldring CE, J G-LM, Groothuis GM, Gustavsson L, Guyot C, Hallifax D, Hammad S, Hayward A, Häussinger D, Hellerbrand C, Hewitt P, Hoehme S, Holzhütter HG, Houston JB, Hrach J, Ito K, Jaeschke H, Keitel V, Kelm JM, Kevin Park B, Kordes C, Kullak-Ublick GA, LeCluyse EL, Lu P, Luebke-Wheeler J, Lutz A, Maltman DJ, Matz-Soja M, McMullen P, Merfort I, Messner S, Meyer C, Mwinyi J, Naisbitt DJ, Nussler AK, Olinga P, Pampaloni F, Pi J, Pluta L, Przyborski SA, Ramachandran A, Rogiers V, Rowe C, Schelcher C, Schmich K, Schwarz M, Singh B, Stelzer EH, Stieger B, Stöber R, Sugiyama Y, Tetta C, Thasler WE, Vanhaecke T, Vinken M, Weiss TS, Widera A, Woods CG, Xu JJ, Yarborough KM, Hengstler JG. An improved ATAC-seq protocol reduces background and enables interrogation of frozen tissues. Arch Toxicol. 2013; 87(8):1315–530.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  69. 69

    Ramirez F, Dundar F, Diehl S, Grüning BA, Manke1 T. deepTools: a flexible platform for exploring deep-sequencing data. Nucleic Acids Res. 2014; 42(W1):187–91.

    Article  CAS  Google Scholar 

  70. 70

    Dobin A, Carrie A, Schlesinger F, Drenkow J, Zaleski C, Jha S, Batut P, Chaisson M, Gingeras TR. STAR: ultrafast universal RNA-seq aligner. Bioinformatics. 2012; 29(1):15–21.

    PubMed  PubMed Central  Article  CAS  Google Scholar 

  71. 71

    Wysoker A, Tibbetts K, Fennell T. Picard tools. 2013. Accessed 12 Jan 2018.

  72. 72

    Li H, Durbin R. Fast and accurate short read alignment with Burrows-Wheeler transform. Bioinformatics. 2009; 25:1754–60.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  73. 73

    Li H. Aligning sequence reads, clone sequences and assembly contigs with BWA-MEM. 2013. arXiv:1303.3997v1 [q-bio.GN].

  74. 74

    Kinkley S, Helmuth J, Polansky JK, Dunkel I, Gasparoni G, Fröhler S, Chen W, Walter J, Hamann A, Chung HR. reChIP-seq reveals widespread bivalency of H3K4me3 and H3K27me3 in CD4+ memory T cells. Nat Commun. 2016; 7.

  75. 75

    Kim D, Pertea G, Trapnell C, Pimentel H, Kelley R, Salzberg SL. TopHat2: accurate alignment of transcriptomes in the presence of insertions, deletions and gene fusions. Genome Biol. 2013.

  76. 76

    Mammana A, Helmuth J. Bamsignals: Extract read count signals from BAM files. 2019. R package version 1.16.0.

  77. 77

    Schmidt F, Gasparoni N, Gasparoni G, Gianmoena K, Cadenas C, Polansky JK, Ebert P, K. N, Barann M, Sinha A, Fröhler S, Xiong J, A. DA, Behjati Ardakani F, Hutter B, Zipprich G, Felder B, Eils J, Brors B, Chen W, Hengstler JG, Hamann A, Lengauer T, Rosenstiel P, Walter J, Schulz MH. Combining transcription factor binding affinities with open-chromatin data for accurate gene expression prediction. Nucleic Acids Res. 2016; 45(1).

  78. 78

    Corces MR, Trevino AE, Hamilton EG, Greenside PG, Sinnott-Armstrong NA, Vesuna S, Satpathy AT, Rubin AJ, Montine KS, Wu A, Kathiria B, Cho SW, Mumbach MR, Carter AC, Kasowski M, Orloff LA, Risca VI, Kundaje A, Khavari PA, Montine TJ, Greenleaf WJ, Chang HY. An improved ATAC-seq protocol reduces background and enables interrogation of frozen tissues. Nat Methods. 2017; 14(10):959–62.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  79. 79

    Li H, Handsaker B, Wysoker A, Fennell T, Ruan J, Homer N, Marth G, Abecasis G, Durbin R, 1000 Genome Project Data Processing Subgroup, 1000 Genome Project Data Processing. The sequence alignment/map format and samtools. Bioinformatics. 2009; 25(16):2078–9.

    PubMed  PubMed Central  Article  CAS  Google Scholar 

  80. 80

    Zhang Y, Liu T, Meyer CA, Eeckhoute J, Johnson DS, Bernstein BE, Nusbaum C, Myers RM, Brown M, Li W, Liu XS. Model-based analysis of chip-seq (macs). Genome Biol. 2008; 9(9):137.

    Article  CAS  Google Scholar 

  81. 81

    Durand NC, Shamim MS, Machol I, Rao SSP, Huntley MH, Lander ES, Lieberman Aiden E. Juicer provides a one-click system for analyzing loop-resolution hi-c experiments. Cell Syst. 2016; 3(1):95–8.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  82. 82

    Knight P, Ruiz D. A fast algorithm for matrix balancing. IMA J Numer Anal. 2013; 33(3):1029–47.

    Article  Google Scholar 

  83. 83

    Shin H, Shi Y, Dai C, Tjong H, Gong K, Alber F, Zhou XJ. TopDom: an efficient and deterministic method for identifying topological domains in genomes. Nucleic Acids Res. 2016; 44(7):70.

    Article  CAS  Google Scholar 

  84. 84

    Bolstad B. preprocessCore: A collection of pre-processing functions. 2019. R package version 1.46.0.

  85. 85

    Hinrichs AS, Karolchik D, Baertsch R, Barber GP, Bejerano G, Clawson H, Diekhans M, Furey TS, Harte RA, Hsu F, Hillman-Jackson J, Kuhn RM, Pedersen JS, Pohl A, Raney BJ, Rosenbloom KR, Siepel A, Smith KE, Sugnet CW, Sultan-Qurraie A, Thomas DJ, Trumbower H, Weber RJ, Weirauch M, Zweig AS, Haussler D, Kent WJ. The UCSC Genome Browser database: update 2006. Nucleic Acids Res. 2006; 34:590–8.

    Article  CAS  Google Scholar 

  86. 86

    Kellis M, Wold B, Snyder MP, Bernstein BE, Kundaje A, Marinov GK, Ward LD, Birney E, Crawford GE, Dekker J, Dunham I, Elnitski LL, Farnham PJ, Feingold EA, Gerstein M, Giddings MC, Gilbert DM, Gingeras TR, Green ED, Guigo R, Hubbard T, Kent J, Lieb JD, Myers RM, Pazin MJ, Ren B, Stamatoyannopoulos JA, Weng Z, White KP, Hardison RC. Defining functional dna elements in the human genome. Proc Natl Acad Sci. 2014; 111(17):6131–8.

    CAS  PubMed  Article  PubMed Central  Google Scholar 

  87. 87

    Chen T, Guestrin C. XGBoost: A Scalable Tree Boosting System. In: 22nd SIGKDD Conference on Knowledge Discovery and Data Mining: 2019.

  88. 88

    Love J, Hoke H, Lin CY, Lau A, Orlando DA, Vakoc CR, Bradner JE, Lee TI, Young RA. Selective inhibition of tumor oncogenes by disruption of super-enhancers. Cell. 2013; 153:320–34.

    Article  CAS  Google Scholar 

  89. 89

    Tusher V, Tibshirani R, et al.Significance analysis of microarrays applied to the ionizing radiation response. PNAS. 2001; 98(9):5116–21.

    CAS  PubMed  Article  PubMed Central  Google Scholar 

  90. 90

    Lawrence M, Huber W, Pagès H, Aboyoun P, Carlson M, Gentleman R, Morgan MT, Carey VJ. Software for computing and annotating genomic ranges. PLoS Comput Biol. 2013; 9.

  91. 91

    Love MI, Huber W, Anders S. Moderated estimation of fold change and dispersion for rna-seq data with DESeq2. Genome Biol. 2014; 15:550.

    PubMed  PubMed Central  Article  CAS  Google Scholar 

  92. 92

    Kopp W, Vingron M. An improved compound poisson model for the number of motif hits in dna sequences. Bioinformatics. 2017; 33(24):3929–37.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  93. 93

    Khan A, Fornes O.., Stigliani A, Gheorghe M, Castro-Mondragon JA, van der Lee R, Bessy A, Chèneby J, Kulkarni SR, Tan G, Baranasic D, Arenillas DJ, Sandelin A, Vandepoele K, Lenhard B, Ballester B, Wasserman WW, Parcy F, Mathelier A. Jaspar 2018: update of the open-access database of transcription factor binding profiles and its web framework. Nucleic Acids Res. 2018; 46(D1):260–6.

    Article  CAS  Google Scholar 

  94. 94

    McCarthy J, Chen D, Smyth GK. Differential expression analysis of multifactor rna-seq experiments with respect to biological variation. Bioinformatics. 2012; 40(10):4288–97.

    CAS  Google Scholar 

  95. 95

    Robinson MD, McCarthy DJ, Smyth GK. edger: a bioconductor package for differential expression analysis of digital gene expression data. Bioinformatics. 2010; 26(1):139–40.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  96. 96

    Team BC, Maintainer BP. TxDb.Mmusculus.UCSC.mm10.knownGene: Annotation package for TxDb object(s). 2019. R package version 3.4.7.

  97. 97

    CRUP: a comprehensive framework to predict condition-specific regulatory units. Datasets GEO. 2019. Accessed 30 Sept 2019.

  98. 98

    Leinonen R, Akhtar R, Birney E, Bower L, Cerdeno-Ta’rraga, Cheng Y, Cleland I, Faruque N, Goodgame N, Gibson R, Hoad G, Jang M, Pakseresht N, Plaister S, Radhakrishnan R, Reddy K, Sobhany S, Hoopen PT, Vaughan R, Zalunin V, Cochrane G. The European Nucleotide Archive. Nucleic Acids Res. 2010; 39:D28–D31.

    PubMed  PubMed Central  Article  CAS  Google Scholar 

  99. 99

    Lappalainen I, Almeida-King J, Kumanduri V, Senf A, Spalding JD, Ur-Rehman S, Saunders G, Kandasamy J, Caccamo M, Leinonen R, Vaughan B, Laurent T, Rowland F, Marin-Garcia P, Barker J, Jokinen P, Torres AC, Llobet OM, Medina I, Puy MS, Alberich M, de la Torre S, Navarro A, Paschall J, Flicek P. The European Genome-phenome Archive of human data consented for biomedical research. Nat Genet. 2015.

  100. 100

    CRUP: a comprehensive framework to predict condition-specific regulatory units. Github. 2019. Accessed 2 Oct 2019.

  101. 101

    CRUP: a comprehensive framework to predict condition-specific regulatory units. zenodo. 2019. Accessed 2 Oct 2019.

Download references


We thank Andreas Richter and Karl Nordström for data handling and transfer. Many thanks to Edgar Steiger, Tobias Zehnder, Giuseppe Gallone, Jaydeep Bhat, and Alena van Bömmel for their valuable comments and inspiring discussions. We also acknowledge Gilles Gasparoni for sequencing of DEEP DNAse samples and the Deep-Sequencing Unit of the MPI–IE (Emily Betancourt, Ulrike Boenisch, and other technical staff). Finally, we also would like to thank all members of the DEEP consortium for their support.


This work was supported by the Bundesministerium für Bildung und Forschung “Deutsches Epigenom Programm” (DEEP, Förderkennzeichen 01KU1216C).

PB was supported by the German Ministry of Education and Research (BMBF, grant no. 01IS18037G).

Author information




AR and VH implemented the framework, did the analyses, and wrote the manuscript. MV conceptualized the work and edited the manuscript. PB and RS helped with the analysis. LVG was responsible for the mESC culture work and performed RNA- and ATAC-seq experiments as well as for the STARR-qPCR validation, which was supervised by SHM. AF performed the ChIP-seq experiments on mESC +/− cells. TP initiated and directed the rheumatoid arthritis experiments and contributed to the editing of the manuscript. CC and JH provided human hepatocytes. AK initiated and directed the mouse hepatocytes experiments. AP initiated and directed the mouse adipocytes experiments. NL and SK performed the animal handling and experiments of mouse hepatocytes and mouse fibroblast experiments. AH performed the animal handling and cell culture experiments of the rheumatoid arthritis models (mouse fibroblast) and contributed to the editing of the manuscript. BC and SMK performed the animal handling and experiments of human adipocytes and mouse hepatocytes experiments. JL performed the animal handling and prepared the mouse hepatocytes samples. SH performed the data handling and analysis. SK and NL performed the ChiP-seq of sequencing of mouse hepatocytes and human hepatocytes. AL performed the ChIP-seq experiments on human hepatocytes and mouse adipocytes, which was supervised by TM. NG performed the Dnase-seq for all DEEP-related experiments, which was supervised by JW. XY did the basic analysis of mouse hepatocytes, which was supervised by HC. SH did the basic analysis of mouse adipocytes. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Martin Vingron.

Ethics declarations

Ethics approval and consent to participate

Informed consent of the patients for the use of hepatocytes for research purposes was obtained according to the ethical guidelines of the University of Regensburg and the Charité University Medicine and conformed to the guidelines of the Declaration of Helsinki.

All animal procedures were performed in accordance with the local animal welfare committee (Saarland State Office for Consumer Protection, AZ: C - / 38 - 2013).

Consent for publication

Not applicable.

Competing interests

The authors declare that they have no competing interests.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary information

Additional file 1

This file contains additional information about the origin and quality of the data used in this study as well as complementary results.

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (, which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The Creative Commons Public Domain Dedication waiver ( applies to the data made available in this article, unless otherwise stated.

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Ramisch, A., Heinrich, V., Glaser, L.V. et al. CRUP: a comprehensive framework to predict condition-specific regulatory units. Genome Biol 20, 227 (2019).

Download citation


  • Enhancer prediction
  • Enhancer dynamics
  • Gene regulation
  • Epigenetics
  • Random forest
  • Differential analysis
  • Histone modification
  • 3D interaction