Skip to content
Back to skills

Dna Foundation Eval

ASecurity

Evaluates genomic foundation models on multiple biological prediction tasks, including regulatory element detection, splicing, and variant-disease association, to measure their ability to capture functional DNA sequences and SNP effects. Use when the user wants to benchmark on Promoter detection, Core promoter detection, TF binding detection, Splicing detection, lenti-MPRA K562, SNP-to-disease association, or asks about evaluating this task. Reports F1 score.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 11, 2026
researchpythonperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill dna-foundation-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dna Foundation Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dna Foundation Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-dna-foundation-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-dna-foundation-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: dna-foundation-eval
description: Evaluates genomic foundation models on multiple biological prediction tasks, including regulatory element detection, splicing, and variant-disease association, to measure their ability to capture functional DNA sequences and SNP effects. Use when the user wants to benchmark on Promoter detection, Core promoter detection, TF binding detection, Splicing detection, lenti-MPRA K562, SNP-to-disease association, or asks about evaluating this task. Reports F1 score.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2507.05265
  bibtex_key: li2025bmfmdna
  confidence: high
---

# dna-foundation-eval

> BMFM-DNA: A SNP-aware DNA foundation model to capture variant effects — Li et al. (2025) (arXiv:2507.05265, 2025)

## What this evaluates

Evaluates genomic foundation models on multiple biological prediction tasks, including regulatory element detection, splicing, and variant-disease association, to measure their ability to capture functional DNA sequences and SNP effects.

## Datasets

- **Promoter detection** — total ?; splits: test (-1)
- **Core promoter detection** — total ?; splits: test (-1)
- **TF binding detection** — total ?; splits: test (-1)
- **Splicing detection** — total ?; splits: test (-1)
- **lenti-MPRA K562** — total ?; splits: test (-1)
- **SNP-to-disease association** — total ?; splits: test (-1)

## Metrics

- `F1 score` **(primary)** — range: [0, 1]
  - Harmonic mean of precision and recall: 2 * (precision * recall) / (precision + recall). Used for binary/multi-class detection tasks.
- `AUC` — range: [0, 1]
  - Area under the receiver operating characteristic curve, measuring the model's ability to distinguish between classes across all classification thresholds.
- `PCC` — range: [-1, 1]
  - Pearson Correlation Coefficient measuring the linear correlation between predicted and observed continuous values.
- `MCC` — range: [-1, 1]
  - Matthews Correlation Coefficient, a balanced measure of binary classification quality that accounts for true/false positives and negatives.

## Input / output format

**Input**: DNA sequences (with optional SNP/variant annotations) tokenized via BPE.

**Output**: Task-specific predictions: binary/multi-class labels for detection tasks, continuous values for lenti-MPRA, and disease association scores for SNP-to-disease.

## Scoring recipe

```python
def compute_metrics(predictions, labels, task_type):
    if task_type in ['Promoter', 'cPromoter', 'TF binding', 'Splicing']:
        precision = tp / (tp + fp + 1e-8)
        recall = tp / (tp + fn + 1e-8)
        f1 = 2 * precision * recall / (precision + recall + 1e-8)
        return f1
    elif task_type == 'SNP-to-disease':
        return roc_auc_score(labels, predictions)
    elif task_type == 'lenti-MPRA':
        return pearsonr(labels, predictions)[0]
    return None
```

## Common pitfalls

- Different tasks report different metrics (F1, PCC, AUC), so cross-task comparisons must account for metric scaling and task type.
- Negative sample generation strategies heavily influence results; random SNP imputation (Class 2) artificially inflates F1, while randomized SNPs in positives (Class 4) creates a harder benchmark.
- Baselines like DNABERT-2 are pre-trained on 135 species genomes, making direct performance comparisons with human-only variant models potentially unfair.

## Evidence (verbatim from paper)

> To evaluate model performance, we use $F_{1}$ score, Matthews Correlation Coefficient (MCC), and area under the receiver operating characteristic curve (AUC). For each model, we train with three different random seeds and report the average performance. The overall performance of each model on specific tasks is summarized in Table 2.

## Citation

```bibtex
@misc{li2025bmfmdna,
  title={BMFM-DNA: A SNP-aware DNA foundation model to capture variant effects},
  author={Li et al. (2025)},
  year={2025},
  note={arXiv:2507.05265}
}
```

- arXiv: 2507.05265

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.