# RNA (Non-coding Sequences)

> Non-coding RNA sequence and secondary-structure overview, common datasets, and BEACON ncRNA results.

---

LLMS index: [llms.txt](/Sage-SciPerception/llms.txt)

---

![RNA family classification and interface iteration demo](https://raw.githubusercontent.com/InternLM/Sage-SciPerception/main/assets/rna-iterations-en.gif)

## Overview

Non-coding RNAs fold via canonical and non-canonical base pairing into conserved secondary and tertiary motifs (hairpins, stems, pseudoknots) that drive catalysis and gene regulation even when primary sequence identity is low.

Sage-SciPerception extracts per-nucleotide 640-dimensional states from frozen **RNA-FM** alongside a 13-dimensional per-sequence readout vector (`side.npy`, broadcast across nucleotides) through the projector's `side` branch into GLM-5.3-Flash.

## Common datasets

| Dataset | Scope and characteristics | Usage in Sage-SciPerception |
| --- | --- | --- |
| **BEACON `NoncodingRNAFamily`** | 13 Rfam non-coding RNA classes (`5S_rRNA`, `tRNA`, `ribozyme`, `miRNA`, `IRES`, `riboswitch`, etc.) | `beacon-ncrna` (2,600 held-out test sequences; train/val deduplicated against test windows) |
| **Rfam / bpRNA / ArchiveII** | Public RNA family and secondary-structure repositories | Share RNA-FM sequence-to-structure priors |

## Sage-SciPerception capabilities & results

| Dimension | Details |
| --- | --- |
| Supported task | **13-class Rfam non-coding RNA family classification** |
| Benchmark result | **BEACON ncRNA Accuracy = 97.35%** (`glm-5.3-flash/rna/ncrna` v0.1.0 checkpoint) |
| Input channels | Per-nucleotide RNA-FM states `[len_seq, 640]` + per-object 13-dim `side` channel |

- Checkpoint specification: [BEACON ncRNA task reference](/docs/tasks/rna-ncrna/)
- Inference example: [`examples/vllm_projector.py`](https://github.com/InternLM/Sage-SciPerception/blob/main/examples/vllm_projector.py) (`--side` and `--sample-dir`)
- Public training slice: [`samples/rna/ncrna/`](https://huggingface.co/datasets/internlm/Sage-SciPerception-Training/tree/main/samples/rna/ncrna)
