ReproductionGene function

Scoring specific protein functions reverses which prediction method performs better

Version 2 Published 2026-10-30 DOI 10.5281/zenodo.24373874 First published 2026-10-29

You are reading version 2. Read the latest version (3).

Original paper DeepGOPlus: improved protein function prediction from sequence Kulmanov and Hoehndorf (2019). Bioinformatics. doi:10.1093/bioinformatics/btz595
Numbers reproduced
Yes
Original conclusion
Holds

The specified Table 2 propagated-label comparison reproduces to reported precision; the method ordering reverses on a different, ontology-specific endpoint, including a post-hoc neutral-ancestor sensitivity, without showing an error in the original endpoint.

In plain English

A published tool's advantage in predicting protein functions depended on how detailed an answer counted as correct. It beat sequence matching when broad functions earned credit, but sequence matching did better on the most-specific recorded functions, even when known broad answers were ignored rather than penalized. The published scores reproduce; choosing a tool to guide experiments also requires checking the detail it can predict.

DeepGOPlus outperforms homology transfer on its published biological-process benchmark, but the ordering reverses when scoring the most-specific observed functions. We reproduced the Table 2 comparison in Kulmanov and Hoehndorf [1] using the authors' archived predictions and evaluation rules: Fmax was 0.4692 for DeepGOPlus and 0.4265 for DiamondScore on 2,392 proteins. Restricting positives to the most-specific ontology labels reversed the comparison. The reversal survived a post-hoc check that ignored predictions of known broad functions rather than penalizing them: Fmax was 0.1505 versus 0.1923, a paired difference of −0.0419 (protein-bootstrap 95% interval −0.0502 to −0.0350). The published result reproduces, while its implication for predicting specific functions depends on the resolution being scored. This is an ontology-resolution recheck, not an audit of the underlying experiments.

Background

A gene-function prediction can be useful at different levels of detail. Predicting amino-acid transport is broader than predicting transport of a particular amino acid. The Gene Ontology (GO) represents this distinction through related terms: an annotation to a specific function also supports broader terms, called ancestors. Evaluations commonly propagate annotations through these relationships before comparing predictions with observed functions. Time-delayed annotation benchmarks established by CAFA provide a way to assess predictions against subsequently acquired evidence [2].

Our earlier local human benchmark prompted this recheck. Homology improved later annotation rankings, but only 21 of 45 audited directly assigned functions were eligible prediction candidates. Expanding the local vocabulary recovered a fourth-ranked reaction label for RPUSD2 from unchanged historical donor evidence. That result concerned our chosen vocabulary. It did not establish that a published evaluation excluded the same information.

We therefore selected a specific published contrast before calculating new diagnostic results: DeepGOPlus versus DiamondScore in the biological-process column of Table 2 of Kulmanov and Hoehndorf [1]. DeepGOPlus combines a convolutional neural network (CNN), which learns sequence patterns, with homology transfer from sequence-similar proteins. DiamondScore uses the homology component alone. We asked whether the published advantage survives evaluation at the most-specific available ontology labels, using the original proteins and frozen prediction scores.

Results

The published comparison reproduces

The archived data reproduced the reported Fmax values of 0.469 for DeepGOPlus and 0.427 for DiamondScore. Fmax is the largest harmonic mean of average precision and average recall across prediction-score thresholds. It rewards both recovering annotated functions and avoiding predictions outside the observed positive set.

The reproduced difference was 0.0426 (95% interval 0.0361–0.0488; Table 1). The evaluation included 2,392 proteins and 72,291 positive protein–term pairs after propagation. The original scoring function and our reconstruction agreed at every threshold to within numerical precision. This recheck concerns Table 2, rather than the distinct official CAFA-tool comparison in the article's Figure 2.

Table 1. The method ordering changes with functional resolution. All rows use the same 2,392 proteins and frozen scores. “Most-specific” retains observed terms with no strictly more-specific observed term in the original relation graph. The second row leaves removed broad positives as unlabelled prediction candidates. The third row also removes these known broad positives from each protein's predictions, making them neutral. Intervals use 2,000 paired protein-bootstrap draws, reselecting each method's best threshold within every draw.

Scoring endpoint Positive pairs DeepGOPlus Fmax DiamondScore Fmax DeepGOPlus − DiamondScore [95% interval]
Published propagated labels 72,291 0.4692 0.4265 0.0426 [0.0361, 0.0488]
Most-specific labels; original candidates 3,727 0.0266 0.0357 −0.0091 [−0.0152, −0.0068]
Most-specific labels; known broad positives neutral (post-hoc) 3,727 0.1505 0.1923 −0.0419 [−0.0502, −0.0350]

Rare terms remain available through homology

The published evaluator does not share our local benchmark's frequency-based exclusion. The CNN predicts 3,991 non-root biological-process terms, corresponding to the paper's 3,992 classes when the root is included. Its minimum-frequency rule restricts the CNN output layer, while the combined predictor also accepts terms supplied by homology donors. The evaluator retains outcomes outside the CNN vocabulary.

Of the 3,727 most-specific positive pairs, 1,390 were outside the CNN vocabulary. Homology supplied positive scores for 332 of those pairs. These labels therefore remained expressible despite their absence from the neural network's output layer. Our local vocabulary exclusion cannot be attributed to this published evaluation.

The reversal survives neutral treatment of broad functions

The prespecified resolution diagnostic reduced the positive set from 72,291 propagated pairs to 3,727 most-specific pairs, while retaining all proteins, scores and candidate terms. DeepGOPlus then scored 0.0266 and DiamondScore 0.0357. However, removing a broad term from the positive set also makes its prediction count against precision, even when that term is known to be true.

We therefore added a post-hoc sensitivity analysis that removed each protein's known broad positive terms from both methods' prediction sets. This made those predictions neutral while leaving every other score and candidate unchanged. DiamondScore still performed better: 0.1923 versus 0.1505, with a difference interval wholly below zero. Penalizing known broad truths alone does not explain the reversal.

The absolute scores across these endpoints measure different tasks. Their decrease is not a fraction of biologically false predictions. The comparative result is that the original combined scores recover propagated annotations better, whereas homology alone performs better on the most-specific observed labels under both diagnostic treatments of broad positives.

Discussion

DeepGOPlus's published advantage depends on the level of functional detail rewarded by the evaluation. The original numerical comparison is correct to its reported precision. With the same proteins and scores, the ordering reverses when the outcome is recovery of the most-specific observed GO labels. A broad annotation-recovery advantage therefore gives incomplete guidance about which of these fixed predictors to use for a more specific task.

The vocabulary check and the resolution check answer different questions. DeepGOPlus can express rare homology-supported terms, so the local benchmark's exclusion mechanism does not explain its result. The reversal arises after changing which observed labels receive credit. Reporting an ontology-resolution endpoint alongside propagated performance would expose that distinction without discarding the established benchmark.

The limits are specific. Most-specific GO labels are a proxy for functional detail; the archive does not identify original experimental assertions, substrate selectivity or discovery dates. Unlabelled functions are not verified biological negatives. The neutral-ancestor analysis was post-hoc, and its per-protein exclusions use outcome information solely for evaluation. Protein resampling does not account for shared families or publications. We used supplied predictions rather than retraining the model, and retained an archived ontology whose header differs from the version described in the article. The combined scores were optimized for the original task; this recheck does not determine how a retuned model would perform on the narrower endpoint.

Methods

Target and historical inputs

We recorded the Table 2 biological-process contrast and the most-specific-label diagnostic locally before extracting predictions or computing performance. The target values were DeepGOPlus 0.469 and DiamondScore 0.427. This was a pre-analysis record within the study, not an independently timestamped preregistration. The neutral-ancestor sensitivity was recorded after observing the first diagnostic's reversal.

We downloaded the authors' named CAFA archive and used its 66,841 training proteins, 3,328 test proteins, CNN predictions, term ordering, DIAMOND scores and ontology. Restricting evaluation to proteins with biological-process truth gave the original 2,392-protein cohort. The original dataset builder stores already-propagated annotations, so we used the predeclared ontology-resolution proxy rather than treating these labels as directly supported experimental assertions.

Evaluation source was pinned to the July 30, 2019 repository revision. Before computing results, we replaced an initially selected December 2019 revision because it had changed annotation-column names and mixing weights. The July implementation matches the paper's explicit biological-process homology weight of 0.59. No weight was fitted to the test outcomes. The supplied ontology header identifies the January 16, 2016 release, while the article describes June 1, 2016. We retained the supplied file; agreement with Table 2 does not resolve that provenance discrepancy.

Predictions and scoring

DiamondScore assigns each term the fraction of total donor bit score contributed by donors carrying that annotation, with the original float32 normalization. DeepGOPlus combines these scores with archived CNN outputs, weighting homology by 0.59 and the CNN by 0.41 for biological-process terms. The original weights for other ontology aspects were retained before propagation. Both methods propagate predictions using the original ontology parser's relation rules, including all relation types accepted by that implementation. We removed the biological-process root as in the original evaluator.

Thresholds ranged from 0.00 to 1.00 in increments of 0.01. At each threshold, precision was averaged over annotated proteins receiving predictions, and recall over all annotated proteins. Fmax maximized their harmonic mean. Propagating the maximum score to ancestors gives the same thresholded sets as the original implementation's propagation of predicted terms.

For the resolution diagnostic, we removed a positive term if another observed positive could reach it through the original relation graph without reciprocal reachability. Mutually reachable terms were retained together, avoiding an empty positive set caused by relation cycles; four proteins retained such groups. No protein was excluded. The neutral-ancestor sensitivity additionally removed each protein's discarded broad positives from its prediction sets. All remaining candidate keys and scores were unchanged.

We used 2,000 paired protein-bootstrap draws with a fixed seed, reselecting the Fmax threshold for each method in each draw. Intervals are percentile intervals for the difference. All six threshold curves were checked against the unchanged original scoring function, with maximum absolute discrepancies below 1.1 × 10⁻¹⁵. Input hashes, the full threshold curves and per-protein label counts accompany the analysis. The original local benchmark is preserved separately with its complete methods and experimental audit; none of its prediction scores or outcomes was changed.

References

  1. Kulmanov M, Hoehndorf R (2020). DeepGOPlus: improved protein function prediction from sequence. Bioinformatics 36:422–429. doi:10.1093/bioinformatics/btz595. Original evaluation code and data links.
  2. Radivojac P et al. (2013). A large-scale evaluation of computational protein function prediction. Nature Methods 10:221–227. doi:10.1038/nmeth.2340.