cerna-analysis
Use when building a ceRNA regulatory network from a key gene list by combining bundled miRNA-mRNA and miRNA-lncRNA database files, with flat-file CSV exports and PDF visualization in a single output directory. NOT for: differential expression, single-cell analysis, enrichment analysis, or workflows without a key gene list.
Veto GatesRequired pass for any deployment consideration
| Dimension | Result | Detail |
|---|---|---|
| Scientific Integrity | PASS | No fabricated DOI, PMID, or interaction data. All miRNA-mRNA and miRNA-lncRNA interactions sourced from bundled local database files (starbase, miRDB, miRTarbase). |
| Practice Boundaries | PASS | No diagnostic or prescriptive conclusions. Differential expression, enrichment, single-cell, and survival workflows explicitly excluded with documented out-of-scope messages. |
| Methodological Ground | PASS | ceRNA network construction correctly implements miRNA sponging logic via miRNA-mRNA and miRNA-lncRNA co-targeting. Pairwise intersection modes correctly reduce to higher-confidence interactions. SKILL_INVALID_DATA raised when ceRNA layer collapses. |
| Code Usability | PASS | Scripts syntactically valid R. Entry-point package check for igraph before any execution. source_required_script() wraps all source() calls with SKILL_* error codes. Validation layer fully separated in validation.R. |
Core Capability87 / 100 — 8 Categories
Medical TaskExecution Average: 86.7 / 100 — Assertions: 33/35 Passed
All four output files generated. Combined mode loads miRNA_mRNA.csv and High strictness lncRNA file.
Pairwise intersection correctly reduces edge count. fr layout and freq filter applied.
SKILL_INVALID_DATA raised correctly. Minor gap: no proactive warning about frequency threshold risk for small gene lists.
Inline gene list parsing works correctly. show_legend=FALSE hides PDF legend.
Large network runs with run_with_timeout(). kk layout performance warning missing from SKILL.md.
Correctly refused. Both enrichment and DEG workflows listed as out of scope.
File not found or permission denied raises SKILL_FILE_NOT_FOUND. No code injection vector.
Key Strengths
- Excellent modular script architecture with source_required_script() providing resilient script loading and structured SKILL_* error wrapping
- Seven dataset modes and three lncRNA strictness levels provide flexible interaction confidence tuning from a single local workflow
- SKILL_INVALID_DATA correctly raised when ceRNA layer collapses, preventing silent construction of scientifically invalid networks
- Inline comma-separated gene list CLI support enables quick testing without a file, documented alongside full file input
- Methods section quantitatively documents pairwise intersection edge reduction (20-40%), setting correct user expectations