Improved TF Motif Prediction Method
Improved TF Motif Prediction Method
[Link]
Transcription factor (TF) binding specificities (motifs) are essential for the analysis of gene regulation. Accurate prediction of
TF motifs is critical, because it is infeasible to assay all TFs in all sequenced eukaryotic genomes. There is ongoing controversy
regarding the degree of motif diversification among related species that is, in part, because of uncertainty in motif predic-
tion methods. Here we describe similarity regression, a significantly improved method for predicting motifs, which we use to
update and expand the Cis-BP database. Similarity regression inherently quantifies TF motif evolution, and shows that previous
claims of near-complete conservation of motifs between human and Drosophila are inflated, with nearly half of the motifs in
each species absent from the other, largely due to extensive divergence in C2H2 zinc finger proteins. We conclude that diver-
sification in DNA-binding motifs is pervasive, and present a new tool and updated resource to study TF diversity and gene
regulation across eukaryotes.
T
o understand the function of noncoding DNA—for exam- Improving motif predictions would help to answer questions
ple, in gene regulation—it is essential to know the potential regarding the degree of diversity and evolution of eukaryotic TF
TFs that can bind to any sequence. Libraries of experimen- motifs. TF-binding specificities are thought to be highly conserved
tally derived TF motifs, most typically position weight matrices between Drosophila and mammals8; however, the specificity resi-
(PWMs)1, are widely used and encompass at most a few thousand dues for C2H2 ZF proteins are often very different even among
motifs and are oriented mainly towards well-studied TFs in human Drosophila species (and very different from those in mammals),
and model systems (for example, JASPAR)2. However, hundreds of suggesting a much faster pace of change for some TF families9,10.
eukaryotic genomes have now been sequenced, and the analysis of TF motif diversification has also been observed in other lineages,
gene expression and corresponding sequences in regulatory regions including plants and fungi, indicating that TF evolution occurs
can be performed in almost all of them. To enable such analyses, we broadly, in parallel to the more established cis-regulatory turn-
previously described Cis-BP, a database of measured and predicted over11. Measuring motif diversification cannot be addressed by sim-
TF motifs for 59,998 TFs from 340 sequenced eukaryotes3. The ply examining the orthology patterns of whole genes and proteins,
predictions in Cis-BP were made by simple amino acid sequence because there are examples in which one-to-one orthologs (which
identity between DNA-binding domains (DBDs), with cut-offs for would be expected to have conserved motifs) in fact have differ-
each DBD type established on the basis of replicate experiments and ent motifs10,12,13 and, conversely, there are entire families (in which
pairwise comparisons of motifs from different proteins with homol- members might be expected to diverge in their binding sites) that
ogous DBD types. The cut-off prediction method yielded an 89% have identical motifs (for example, the core sequence for E2F and
precision (with undetermined recall) on these data. regulatory factor X (RFX) TFs, as well as the rigid specificity of plant
It may be possible to improve both precision and recall by WRKY TFs)3,14. Indeed, how motif diversification is dictated by pro-
adapting predictions to specific DBDs. One approach is to use tein structure and mechanisms of DNA binding is largely unknown,
known ‘specificity residues’ or to prioritize DNA-contacting except in a few cases13,15,16.
residues when measuring amino acid sequence similarity. Other We reasoned that developing a system for determining both the
approaches including affinity regression4, which predicts affin- similarity and dissimilarity of TF motifs would provide uniform
ity to DNA/RNA k-mers on the basis of amino acid k-mer com- and unbiased estimates of the conservation of TFs and their DNA-
position of proteins. Affinity regression was applied to only two binding functions. Here, we describe such a system, its incorpora-
families, however: homeodomain TFs and RNA recognition motif tion into the Cis-BP database, validation experiments in several
(RRM)-containing RNA-binding proteins. DBD-specific ‘recogni- eukaryotes and use of the system to broadly describe TF motif evo-
tion codes’ have also been described, which predict binding motifs lution across eukaryotes.
on the basis of DNA-contacting residues, for Cys2His2 (C2H2) zinc
finger (ZF) and homeodomain proteins5–7. It is unclear whether Results
and how these methods will extend to the approximately 100 other Similarity regression predicts TF motif similarity. We devel-
types of DBDs. oped a homology-based system that, when calculating sequence
Department of Molecular Genetics, University of Toronto, Toronto, Ontario, Canada. 2Donnelly Centre for Cellular and Biomolecular Research,
1
University of Toronto, Toronto, Ontario, Canada. 3Institute of Integrative Biology, University of Liverpool, Liverpool, UK. 4Department of Computer Science,
University of Toronto, Toronto, Ontario, Canada. 5Canadian Institutes For Advanced Research (CIFAR) Artificial Intelligence Chair, Vector Institute, Toronto,
Ontario, Canada. 6Ontario Institute of Cancer Research, Toronto, Ontario, Canada. 7Divisions of Biomedical Informatics and Developmental Biology,
Center for Autoimmune Genomics and Etiology (CAGE), Cincinnati Children’s Hospital Medical Center, Cincinnati, OH, USA. 8Department of Pediatrics,
University of Cincinnati College of Medicine, Cincinnati, OH, USA. 9CIFAR, Toronto, Ontario, Canada. *e-mail: [Link]@[Link]
a
Ptx1
(D. melanogaster)
Hoxa7
(M. musculus)
1 10 20 30 40 50 57
Amino acid position
b
AA identity
BLOSUM62
1 10 20 30 40 50 57
Amino acid position
c
4
content (bits)
Information
3
2
1
E-score
overlap
0 0.5 1.0 ~
AA %ID
1 10 20 30 40 50 57
Amino acid position
d
6
*
SR weight
2 *
**
** *
0 *
1 10 20 30 40 50 57
Amino acid position
Fig. 1 | Overview of the similarity regression method. Similarity regression uses TF protein similarity to predict the similarity in TF sequence specificities.
The procedure and results are outlined for homeodomain TFs as an example. a, The DBD sequence of each TF is aligned to the Pfam HMM as a common
reference to generate a global alignment. Amino acids (AA) shown are colored according to standard clustal colors for two homeodomains. b, For
each pair of TFs, the amino acid similarity is measured at each position of the alignment, recording whether the two residues are identical or similar
(BLOSUM62 substitution score). This procedure is repeated for every pair of homeodomain TFs with PBM data. c, Regression is performed for a matrix
in which each row is a pair of homeodomain TFs, with the similarity of their DNA sequence specificities (E-score overlap) as the dependent Y variables
(left) and positional protein similarity as independent X values (right, identity shown). Sequence diversity among the TFs is represented here for reference,
plotted as a sequence logo (in bits) above the protein similarity matrix. %ID, percent identity. d, The regression outputs a weight vector that indicates how
much amino acid similarity in each position of the DBD contributes to DNA-binding similarity. Known specificity residues37 are indicated by an asterisk.
similarity in DBDs, assigns greater importance to positions of the all pairs for each DBD class (Fig. 1d). We tested four variations of
DBDs (for example, base-contacting or specificity residues) that this scheme, including two different regression approaches (linear
have more impact on sequence specificity. To do this, we assigned and logistic) and two different representations of sequence similar-
a weight to each residue when calculating similarity between two ity (identity and BLOSUM62 substitution scores). Here, we trained
DBDs of the same class (for example, C2H2 ZF, ETS or Forkhead). the regression models to learn highly overlapping 8-base oligo-
Figure 1 displays the overall procedure. We use regression to assign mer E-score preferences obtained from universal protein-binding
the weights: for each pair of proteins, the independent variables are microarrays (PBMs)17, as cataloged in Cis-BP3. These scores are
the binary vector of amino acid similarity at each position of an comparable among different studies, thus circumventing the poten-
alignment to the Pfam hidden Markov model (HMM) (Fig. 1a–c), tially confounding impact of motif derivation18; however, we note
whereas the dependent variable is the similarity in DNA sequence that the model could be trained on any metric of motif identity
preference (Fig. 1c). The weights are the coefficients learned over or similarity. Each variation of the model generates a different set
Similarity regression
T-box
Features
No. of proteins
SR (identity) Homeodomain
Precision
SR (BLOSUM62) Myb/SANT 100
0.50 Alignment %ID 0.50 200
NAC/NAM 300
AP2 GATA 400
bHLH Forkhead Pipsqueak
0.25 0.25 Features
Zinc cluster
Random C2H2 SR (identity)
ZF bZIP SR (BLOSUM62)
0 0
c d
100
Predicted TF similarity
Quartiles 75
1 Observed TF
Percentage
2 similarity
3 Highly
50 similar
Dissimilar 4
Ambiguous
Dissimilar
Ambiguous 25
Highly
similar
0
0.00 0.25 0.50 0.75 1.00 Highly similar Ambiguous Dissimilar
E-score overlap Predicted TF similarity
Fig. 2 | Similarity regression classification of TFs for highly similar or dissimilar sequence specificities. a, Precision/recall curves for homeodomains
are shown for three prediction methods: alignment percent identity, similarity regression using amino acid identity (SR (identity)), and similarity
regression using BLOSUM similarity (SR (BLOSUM62)), on held-out data across all cross-validation folds. ‘Positives’ are pairs of TFs with highly similar
specificities (E-score overlap >twenty-fifth percentile of replicate experiments). ‘Negatives’ are all other pairs. b, Scatter plot comparing recall values
(predicting highly similar specificities at 75% precision threshold) for similarity regression versus percent identity, for each TF family. The best of the
four similarity regression models is shown. Points are sized according to the number of PBM experiments used for training and colored according to the
amino acid features used in each model. Domain abbreviations are taken from Pfam47, where full names can be found. c, Smoothed density estimates
for homeodomain E-score overlaps in each predicted TF similarity class. Densities are filled according to the quartiles of the data. Vertical dashed lines
indicate the E-score overlap thresholds used to define dissimilar (blue line) and highly similar (black line) TF specificities in the initial data. d, Percentage
of actual TF similarities within each predicted TF similarity class, for new PBM data. White dotted lines show expected percentages for the highly similar
and dissimilar classes (that is, thresholds were chosen to achieve these levels on training data).
of weights, which are selected by leave-one-out cross-validation among TFs. For Sox proteins, however, the weights are much higher
(Supplementary Fig. 1). Using the same cross-validation, we select in residues that contact the minor groove, consistent with struc-
the best model for each DBD class among these four models (linear tural data19, whereas GAL4/zinc cluster proteins, the dimerization
or logistic regression, using amino acid identity or similarity) or, of which is organized along the DNA backbone20,21, receive high
as a fifth possibility, the simple alignment percent identity that is weights in backbone-contacting residues (Supplementary Fig. 3c).
currently used by Cis-BP3. We refer to this procedure as similar- Similarity regression shows notable improvement in recall at
ity regression. Application of similarity regression to TF families identical precision values over percent identity alone. This improve-
for which DBDs are present in arrays (for example, C2H2 ZFs) is ment is notable for homeodomains (Fig. 2a) and other families with
explained in Supplementary Fig. 2. a large amount of PBM data (summarized in Fig. 2b). In these preci-
Similarity regression has several advantages over previous sion/recall curves, positives are those pairs of proteins with E-score
approaches. It identifies residues that are informative regarding overlap that exceeds the twenty-fifth percentile of experimental rep-
DNA sequence specificity. The weights obtained are highly biased licates (the same threshold was used previously3) and negatives are
towards DNA-contacting regions and specificity residues, if known. all other pairs. Thus, our precision/recall curves are likely underes-
Figure 1d illustrates the weights for the well-studied homeodomain timates, because our stringent negative definition includes highly
class, which has established specificity residues in DNA-contacting similar experiments that are just below the threshold.
positions5. Weights for all eukaryotic DBD families with similar- Importantly, similarity regression can also be used to predict
ity regression models are given in Supplementary Data 1 (models whether two proteins are highly unlikely to share DNA sequence
for homeodomains and C2H2 ZFs are shown in Supplementary specificity: using the same learned weights described above, a
Fig. 3a,b, respectively). These weights correspond to known mecha- threshold can be identified below which proteins will almost always
nisms of DNA recognition: there is a strong relationship between bind very different sequences. In this analysis, we defined differ-
similarity regression model weight and DNA contact frequency ent sequence preferences to be an overlap of 20% or less among
(Supplementary Fig. 3c). For example, similarity regression pin- the highly preferred 8-mers oligomers. We allowed some overlap
points known binding modes: for most TFs, weights are higher in because many families bind a characteristic sequence ‘core’. For
the residues that contact the major groove, which is predominant example, many homeodomains bind TAAT-like sequences, even
PK27693.1 msn-1
PK19621.1
NCU03043
PK21166.1
NCU05061
PK28187.1
NCU09576
PK07741.1
NCU05909
PK12011.1
NCU06487
PK05732.1
PK26523.1 NCU01629
PK07924.1 NCU03421
Myb/SANT ANIA_04524
Pipsqueak ANIA_07516
Fig. 3 | PBM data from the plant C. sativa and model fungi A. nidulans and N. crassa for TFs with conserved and dissimilar motifs. NNs for each new TF
with PBM data were identified by finding the most similar TF (by similarity regression score) with a motif from either Arabidopsis thaliana (for C. sativa)
or Saccharomyces cerevisiae (for A. nidulans and N. crassa). a–c, Motifs for Myb/SANT TFs from C. sativa (a), C2H2 ZF TFs from N. crassa (b) and TFs
from five other TF families in A. nidulans (c) are shown, with a neighbor-joining tree scaled by DBD alignment percent identity in a and b. The colored bar
represents predicted motif similarity. See Supplementary Fig. 5 for a comparison between similarity regression-predicted similarity and NN TF similarity
for all new PBM data. Silhouettes of each species are displayed, adapted from Phylopic ([Link] under a Creative Commons license (https://
[Link]/licenses/by-sa/3.0/).
though their most highly preferred 8-base oligomers differ among that are dissimilar to TFs with known motifs, or both. We used these
family members. For each DBD type, we set a similarity regression data as a validation set to test how well similarity regression models
score threshold using a negative predictive value (NPV), at which measure the similarity of TF sequence specificity on unseen data
95% of pairs of proteins at that similarity score indeed have different (Fig. 2d). The TF similarity classifications for the newly analyzed
sequence preferences. As shown in Supplementary Fig. 4a, similar- proteins are correct for 81.2% of the highly similar and 95.2% of the
ity regression outperformed percent identity at discriminating these dissimilar pairs. These results held over a range of percent identity
dissimilar pairs by achieving a higher recall at the same NPV. to other proteins in Cis-BP, confirming that the models are accu-
In all subsequent analyses, we use similarity regression to classify rate with independent data. Indeed, there is an overall correlation
all pairs of proteins that share the same DBD type as ‘highly similar’ between similarity regression score and E-score overlap between the
if their similarity regression score is over the positive pair threshold, held-out data and the most similar training construct (by similar-
‘dissimilar’ if it is below the negative pair threshold or ‘ambiguous’ if ity regression score) for the similarity regression model of each TF
it is between the two thresholds. The ambiguous score range can, in family (Supplementary Fig. 5, median R2 = 0.63). Figure 3 provides
some cases, be quite large; Fig. 2c shows that it is predictive of inter- examples of conservation and divergence of motifs in the new data.
mediate 8-base oligomer overlap for homeodomain TFs. Similar
phenomena are observed in other TF families (data not shown). Comparison to alternative motif prediction methods. We also
Multi-class accuracy of the similarity regression models, and their investigated whether similarity regression could accurately predict
improvement over percent identity, is summarized by the Matthews motifs by comparing motif predictions with generalist methods
correlation coefficient in Supplementary Fig. 4b. Similarity regres- (for example, affinity regression4 applied to all TF families) and
sion outperforms percent identity in all but four TF families. domain-specific recognition codes. Similarity regression predicts
similarity in DNA sequence specificity of two proteins, whereas
New PBM data validate motif similarity classifications. To con- affinity regression directly predicts preferences of TFs or RNA-
firm that the models correctly classify previously unseen proteins, we binding proteins to individual DNA or RNA sequences on the basis
generated new PBM data for 340 TFs, including 15 human TFs and of their protein sequences. Nonetheless, the two can be compared
other TFs that represent multiple eukaryotic kingdoms, with a par- using similarity regression to predict 8-base oligomer preferences
ticular focus on Cannabis sativa (a medicinal plant), Caenorhabditis from proteins that should have highly similar sequence preferences,
briggsae (a nematode), Aspergillus nidulans and Neurospora crassa and similarity regression outperforms affinity regression in many
(model fungi) (Supplementary Table 1). These TFs were selected to cases. Using an identical training set (that is, the same experiments
increase the number of experimentally determined motifs for TFs in on the same proteins), similarity regression slightly outperformed
these species of interest, to obtain novel motifs by analyzing proteins affinity regression when predicting 8-base oligomer Z-score profiles
Percentage TFs
(top 5, P < 0.01; Supplementary Fig. 6a). Similarity regression has
Conserved
the added benefit that it does not make predictions for dissimilar 50
proteins when the predictions are poor, whereas affinity regression
makes a prediction for every protein, without an associated quality 25
metric. In comparison to affinity regression, similarity regression
predictions that use only highly similar TF pairs (n = 104) have a
0
higher correlation to the measured Z-score profiles than affinity
regression using the NN (P < 0.01) or top 5 predictions (P < 0.0001)
100
(Supplementary Fig. 6). These outcomes hold for most (although
not all) individual TF families analyzed in isolation. For example,
whereas similarity regression performs equivalently to affinity
Potentially conserved
75
Percentage TFs
regression for zinc cluster TFs, it scores higher for the homeodo-
mains and C2H2 ZF families (Supplementary Fig. 6b–d). 50
We also compared similarity regression predictions to those
produced by state-of-the-art recognition code algorithms for
C2H2 ZF and homeodomain TFs, which directly predict PWMs 25
from DBD sequences. One of the C2H2 ZF predictors uses sup-
port vector machines22 whereas the other uses random forests 0
(ZFModels)23; the homeodomain predictor (PreMoTF)5 also
uses random forests. To compare to these specialist prediction 100
tools, we converted the similarity regression-predicted Z-score
profiles to PWMs using a simple alignment of the top-scoring
75
8-base oligomers (PWMalign)18. We compared the motif similar-
Percentage TFs
Diverged
PBM experiments described above, which included 34 C2H2 ZF 50
and 17 homeodomain proteins. Supplementary Fig. 7a shows
that, in most cases, similarity regression motif predictions for 25
C2H2 ZFs are more similar to the experimental motifs than the
motifs predicted by either of two recognition codes, regardless of
whether similarity regression predictions were filtered to be highly 0
similar. For homeodomains, there was no significant difference 100 250 500 750 1,000 1,250
between predictions made by the recognition code and those Divergence time (Ma)
made by similarity regression based on multiple (that is top 5 or Kingdom Fungi Plants Metazoa
highly similar) neighbors (P > 0.05); however, PreMoTF outper-
forms similarity regression NN-based motif predictions (P < 0.05) Fig. 4 | Conservation of TF motifs within major eukaryotic kingdoms. The
(Supplementary Fig. 7b). average percentage of TFs for which the closest TF in the other species is
conserved (similarity regression classifies as highly similar), potentially
New TF similarity predictions improve Cis-BP. To capitalize on conserved (ambiguous) or diverged (dissimilar and unshared DBDs) was
the increased recall of similarity regression relative to percent iden- calculated for each pair of species from the same kingdom (48 metazoan,
tity, we implemented the method in Cis-BP, which compiles known 15 plant and 15 fungal species; Supplementary Fig. 7b). Each point represents
TF motifs and tracks homology relationships among similar TFs. the average percentage of TFs within each category, for each pair of species
Since Cis-BP was described in 2014, both the number of sequenced (that is, average of species X versus species Y and Y versus X), plotted
eukaryotes and the number of known motifs has roughly doubled. against divergence time in millions of years. Divergence time is plotted on
We therefore updated Cis-BP, which now includes 741 genomes a square root scale to visualize differences between closely related species.
(updated from 340) and 11,491 experimentally determined motifs Lines and shading show the LOESS regression fit and 95% confidence
that correspond to 4,559 distinct TFs (updated from 6,559 motifs interval, respectively. Ma, million years ago.
for 3,202 distinct TFs) and implemented similarity regression across
all 392,333 known and putative eukaryotic TFs. We also updated
many other properties of the database (for example, genome builds Cis-BP database can be found at [Link]
and DBD models) (Methods). where TF annotations, motifs and PBM data compiled from our
The incorporation of similarity regression in Cis-BP increases the laboratory and other public databases can be accessed and down-
number of TFs with predicted motifs by more than 6,000 compared loaded. In addition to increased coverage, the new build—which
to our previous method, at the same expected precision (a 4.2% over- contains many more genomes—also identifies many new families of
all increase, on identical genomes, DBDs and motifs). Coverage of TFs with still-unknown sequence specificity.
numerous TF families is increased markedly (Supplementary Fig. 8a).
For instance, ten TF families more than doubled their motif cover- Evolution of TF sequence specificity across Eukarya. Finally,
age, including zinc cluster (123% increase) and Sox (162% increase) we used the motif predictions and the Cis-BP update to gain an
TFs, the second and seventh most abundant families in Cis-BP, overview of TF motif conservation and divergence over eukary-
respectively. The average species now has 4% more TFs with motifs otic evolution. We focused on 84 species with well-annotated
(experimental and predicted), yielding an average motif coverage of genomes (present in Ensembl and/or Uniprot; species are listed in
37% (with 73% for human) (Supplementary Fig. 8b) and a total cov- Supplementary Fig. 8b). We included all TF DBDs in this analysis,
erage of 165,030 out of 392,333 eukaryotic TFs (42%). This updated regardless of conservation level or patterns of orthology, to gain
or
a
he ept
ai
bH dom
T
F o r re
Homo sapiens
AN
ZF
a
eo
/S
A
2
LH
le
x
om
IP
bo
AT
2H
rk
S
yb
uc
x
ET
So
bZ
T-
M
G
C
N
Pan troglodytes
Macaca mulatta
Mus musculus
Drosophila melanogaster
Caenorhabditis elegans
Nematostella vectensis
800 600 400 200 0
TF similarity Highly similar Ambiguous Dissimilar DBD not shared
Divergence time (Ma)
n
ai
b
m
T
x
AM
do
bo
AN
Arabidopsis thaliana
ZF
eo
/N
KY
S
AS
/S
LH
1
AD
AC
IP
om
2H
B
yb
R
R
R
AP
LO
bH
B3
bZ
FA
W
M
M
G
N
C
Arabidopsis lyrata
Cannabis sativa
Vitis vinifera
Solanum lycopersicum
Zea mays
Oryza sativa
Amborella trichopoda
Physcomitrella patens
Selaginella moellendorffii
400 200 0
Divergence time (Ma)
Fig. 5 | Motif divergence of TF families in metazoans and plants. a, Nested pie charts showing the percentage of human TFs for which the closest TF in
other metazoans is highly similar, ambiguous, dissimilar or not shared, for the 11 most abundant metazoan DBDs. The outer ring of each pie chart shows
the proportion of human TFs in each similarity regression-predicted similarity class relative to the other species; the inner ring shows the proportion of TFs
for the other species, relative to humans. b, Motif similarity between A. thaliana and other plants, for the 13 most abundant plant DBDs. Silhouettes of each
species are displayed, adapted from Phylopic ([Link] and/or are available under a Creative Commons license ([Link]
publicdomain/zero/1.0/).
a complete picture of motif conservation. For each protein, we Figure 4 shows that eukaryotic kingdoms display qualitatively
identified the protein with the highest similarity regression model similar trends in the proportion of TFs within each of the categories,
score as described above in each other species and recorded the with respect to divergence time. Around 100 million years ago (for
classification (that is, highly similar, ambiguous or dissimilar). If example, origin of placental mammals and eudicot plants), approxi-
there is no protein with the same DBD type in the other species, mately 75% of motifs are conserved (highly similar) and an addi-
the TF is labeled ‘DBD not shared’ with the other species. Thus, tional 5–25% are potentially conserved (ambiguous category) for
there are four possible labels for each TF–species comparison that metazoans and plants, respectively. However, around 900 million
are mutually exclusive. years ago (the origin of metazoans), only around 60% are conserved
similar
SR dissimilar
Highly
CG7368 (B1H) ZNF777 (SMiLE−seq)
H. sapiens
l(3)neo38 (B1H) ZNF777 (SMiLE−seq)
Ambiguous
pad (B1H) ZNF468 (RCADE)
Species
vfl (B1H) ZNF682 (SMiLE−seq)
Dissimilar
odd (HT-SELEX) OSR2 (HT-SELEX)
DBD not
CG3065 (B1H) SP4 (HT-SELEX)
shared
Sox
FLYWCH
Myb/SANT Kr (HT-SELEX) BCL6 (PBM)
Pipsqueak
Other CG17802 (HT-SELEX) ZNF35 (RCADE)
0 10 20 30 40 50 0 10 20 30 40 50
sug (HT-SELEX) GLIS2 (HT-SELEX)
TFs (%) TFs (%)
c BLAST NN
Clamp (PBM) ZNF429 (RCADE)
Fig. 6 | TF motif conservation between human and Drosophila melanogaster. a, Percentage of TFs in human or Drosophila (as indicated) that fall into each
similarity regression motif similarity class. TF conservation is partitioned by whether the TF has a one-to-one ortholog (reciprocal best BLAST hit) or all
other orthology relationships. Colors of the stacked bar plots indicate TF family. b,c, Experimentally determined motifs for individual Drosophila and human
C2H2 ZF TFs, shown in pairs that correspond to the BLASTP best hit (Drosophila query to human database). Reciprocal best BLASTP matches (putative
one-to-one orthologs) are indicated with bidirectional arrows. b, Pairs predicted to be dissimilar by similarity regression are shown. c, Pairs predicted to
be highly similar by similarity regression are [Link]–seq, chromatin immunoprecipitation with high-throughput sequencing; ChIP–chip, ChIP with
DNA microarray; SMiLE–seq, selective microfluidics-based ligand enrichment followed by sequencing; RCADE, recognition code-assisted discovery of
regulatory elements. Silhouettes of each species are displayed, adapted from Phylopic ([Link] under a Creative Commons license (https://
[Link]/licenses/by-sa/3.0/).
or potentially conserved; a similar proportion is obtained for the those that are comparable (that is, DBD families that are present in
origin of fungi (around 1,055 million years ago). Within the plant both), the majority have dissimilar or ambiguous motifs.
kingdom (approximately 1,160 million years ago), only slightly Much of the divergence in motifs occurs in a small number of TF
more motifs are conserved or potentially conserved (around 65%). families (Fig. 5, Supplementary Fig. 9); however, these families have
Across kingdoms (for example, between fungi and metazoan), most a large number of members and are in general already known for
DBDs are not shared24 and are thus not comparable. Even among their lineage-specific expansions: C2H2 ZF in metazoans9, nuclear
hormone receptors in nematodes25,26 and Myb proteins in plants27. could, in turn, contribute to the long-term objective of developing
The similarity regression analysis thus underscores DNA sequence accurate recognition codes that do not rely on as much experimen-
specificity as a mode of diversification following duplication of tal data as similarity regression does.
these proteins. However, many other families appear rigid in their Similarity regression can also predict when proteins are
DNA-binding motifs and have presumably diversified in function unlikely to share sequence preferences, thus enabling system-
by other mechanisms (for example, basic-leucine zipper (bZIP) atic examination of the overall degree of trans-regulatory change
and basic helix–loop–helix (bHLH) proteins are able to diversify among eukaryotes. Our analyses lend strong support to the notion
through changes in heterodimerization partners)28,29. that cis-regulatory turnover is accompanied by alterations to
One notable example of C2H2 diversification is counter to a pre- trans-regulators between species, even over relatively short times-
vious claim in the literature, but is supported by extensive experi- cales (<100 million years). TFs with divergent motifs are concen-
mental data. A previous study8 claimed that only a few TF-binding trated in TF families with established patterns of lineage-specific
motifs have diverged in sequence specificity between human and expansions, although changes in one-to-one orthologs do occur
Drosophila. The discrepancy appears to be due to the fact that the as have previously been observed10,12,13. This study provides an
HT-SELEX data in this previous study were highly biased towards extensive analysis of TF sequence specificity for both Cannabis
TF families that have not diversified. In particular, it included only and Aspergillus, and both the outputs of similarity regression and
a small minority of C2H2 ZFs, which represent the largest class of the newly generated data highlight the diversity of DNA-binding
TFs in both species. Similarity regression predicts that the majority motifs in both the plant and fungal lineages. Despite lower diver-
of C2H2 ZF proteins do not have conserved motifs (Fig. 6a), even sity in the specificity residues of individual C2H2 ZF domains in
between TFs that have putative one-to-one orthology as defined fungi, relative to metazoa16, proteins that contain these domains
by BLAST. Experimental data confirm our similarity regression contribute substantially to diversification of motifs in fungi, pre-
predictions (motifs for C2H2 TFs are shown in Fig. 6b,c; motif sumably due to the fact that multiple C2H2 domains can be com-
similarities for all TF comparisons are shown in Supplementary bined in different ways. Myb domains also contribute substantially
Fig. 10). Examples of orthologous C2H2 TFs, even one-to-one to motif divergence in multiple lineages (both plants and fungi).
orthologs, differing substantially in their DNA-binding specificity The GAL4/zinc cluster domain proteins, which have expanded in
are shown in Fig. 6b, illustrating that simple orthology alone can fungi, have largely conserved monomeric binding specificity in
be a poor predictor of shared motifs. As a control, BLAST NNs their DBDs, and are thus more likely contribute to TF diversifica-
predicted by similarity regression to have highly similar motifs tion by alterations in spacing and orientation of dimeric sites as
between human and Drosophila do display more similar motifs homo- or heterodimers33.
in the experimental data than TFs with predicted ambiguous or Similarity regression also confirms the extreme diversity of
dissimilar specificities (Supplementary Fig. 10), even when they motifs in the C2H2 ZF family in metazoa. C2H2 ZFs are the fast-
were obtained using different techniques (primarily high-through- est evolving TF family in the recent human lineage34 and similarity
put SELEX (HT-SELEX)8,30 compared to bacterial one-hybrid regression indicates—and experimental data confirm—that their
(B1H) assays31,32). sequence specificities are largely distinct from those in Drosophila,
even among clear orthologs. Our findings differ from a previ-
Discussion ous conclusion that TF-binding specificities are highly conserved
We anticipate that similarity regression will contribute to under- between Drosophila and mammals8, mainly because the vast major-
standing of TF function in several ways. First, it presents several ity of the C2H2 ZF proteins were absent from the HT-SELEX data
advantages in the task of predicting motifs. Like simple homology in the previous study. This absence could be due to low success
(that is, alignment percent identity), the score it produces serves as rates in HT-SELEX (and other in vitro assays), due to long binding
a confidence measure that can be used to avoid incorrect predic- sites or other factors. Importantly, most C2H2 ZFs are bona fide
tions. At the same time, the increased recall (that is, coverage) of TFs, which bind specific DNA sequences in vivo and/or in vitro7,34.
similarity regression, relative to percent identity, provides a sub- Notably, among Drosophila species, even one-to-one orthologs of
stantial increase in the number of predicted motifs, which are now C2H2 TFs frequently differ in specificity residues and these differ-
included in our update of the Cis-BP database. Similarity regression ences are predicted to influence DNA sequence preferences10. The
can also be adapted to predict new motifs, by combining binding bulk of motif differences occur in TFs with more complex orthol-
data from related proteins. These motifs score favorably relative to ogy patterns, however. In mammals, there is strong evidence that
both a related general-purpose prediction method (affinity regres- the need to recognize new retroelements for silencing by KRAB-
sion), as well as state-of-the-art recognition codes for specific DBD containing C2H2 ZFs has played a part in their evolution35, but the
families (C2H2 ZFs and homeodomains). We do note that the KRAB domain is restricted to tetrapods and it is unclear what forces
motifs for the homeodomain-specific prediction tool PreMoTF5 are driving C2H2 ZF motif diversification in other lineages. Even in
scored more highly than similarity regression among the held-out humans, most C2H2 ZF proteins do not appear to bind to retroele-
homeodomains for which there was no highly similar protein (that ments36 and presumably have other functions.
is, a protein with a high similarity regression score) in the training Knowing the sequence specificities of TFs is an important first
set. Thus, although the use of the similarity regression score as a step in their characterization. Overall, we anticipate that similarity
confidence metric can be seen as an advantage, this outcome also regression and the results it produces will represent a major advance
highlights a disadvantage of making predictions solely on the basis in our understanding of the function and evolution of both TFs and
of similarity among proteins: a well-formulated recognition code gene regulatory mechanisms.
has the potential to make accurate predictions for completely novel
proteins. Unfortunately, such recognition codes do not exist for the Online content
vast majority of DBD types. Any methods, additional references, Nature Research reporting
Second, the weights (that is, coefficients) produced by similar- summaries, source data, statements of code and data availability and
ity regression are often highest for known specificity residues and associated accession codes are available at [Link]
DNA-contacting positions. Thus, unstudied positions with high s41588-019-0411-1.
weights represent candidates for new determinants of TF sequence
specificity. Together with structural data, these weights may also Received: 13 November 2018; Accepted: 4 April 2019;
shed new light on biophysical aspects of DNA binding—which Published online: 27 May 2019
Reporting Summary
Nature Research wishes to improve the reproducibility of the work that we publish. This form provides structure for consistency and transparency
in reporting. For further information on Nature Research policies, see Authors & Referees and the Editorial Policy Checklist.
Statistical parameters
When statistical analyses are reported, confirm that the following items are present in the relevant location (e.g. figure legend, table legend, main
text, or Methods section).
n/a Confirmed
The exact sample size (n) for each experimental group/condition, given as a discrete number and unit of measurement
An indication of whether measurements were taken from distinct samples or whether the same sample was measured repeatedly
The statistical test(s) used AND whether they are one- or two-sided
Only common tests should be described solely by name; describe more complex techniques in the Methods section.
For null hypothesis testing, the test statistic (e.g. F, t, r) with confidence intervals, effect sizes, degrees of freedom and P value noted
Give P values as exact values whenever suitable.
For Bayesian analysis, information on the choice of priors and Markov chain Monte Carlo settings
For hierarchical and complex designs, identification of the appropriate level for tests and full reporting of outcomes
Estimates of effect sizes (e.g. Cohen's d, Pearson's r), indicating how they were calculated
Data analysis The SR code, and examples, are made available on GitHub ([Link]
hmmscan (v3.2.1, part of the HMMER toolkit, [Link]
Affinity Regression ([Link]
PreMoTF ([Link]
ZFModels ([Link]
C2H2 SVM Method ([Link]
April 2018
For manuscripts utilizing custom algorithms or software that are central to the research but not yet described in published literature, software must be made available to editors/reviewers
upon request. We strongly encourage code deposition in a community repository (e.g. GitHub). See the Nature Research guidelines for submitting code & software for further information.
1
Data
Field-specific reporting
Please select the best fit for your research. If you are not sure, read the appropriate sections before making your selection.
Life sciences Behavioural & social sciences Ecological, evolutionary & environmental sciences
For a reference copy of the document with all sections, see [Link]/authors/policies/[Link]
Data exclusions No data passing our PBM success criteria was excluded from the analysis.
Replication Successful replication of SR model accuracy was evaluated using the new PBM data, and motif similarity calculated from other motifs included
in the human vs. fly analysis.
Randomization Randomization was not necessary in this study as samples were allocated to different groups (TF similarity) based on uniform rules learned
during cross-validation.
Blinding Blinding was not necessary as SR models are developed automatically using labeled training data based on established thresholds.
Performance metrics were calculated without human intervention.