GGenomics UI
Components/Viewers

Translation Strip

@genomics/translation-strip

Six-frame translation and ORFs under a DNA sequence.

Preview

Six-frame translation
276 nt · 1 ORFs ≥ 20 aa
1 ORFs · longest 92 aa
contig_1 (partial CDS)
276 nt · 1–276
276 nt
Use arrow keys to move along the sequence, Shift plus arrow to jump ten, Home and End for the ends, Enter to select, Space to add to the selection, Escape to clear.

About

The step between sequence-viewer's bases and domain-diagram's protein features. Which frame a variant falls in decides whether it's silent, missense, or a frameshift; a cloned insert only expresses if its ORF is intact and in frame. All six frames are drawn because the informative one is often not the one you expected — an insert cloned backwards is obvious here and invisible everywhere else. Stop codons are marked in every frame, ORFs above the length threshold become directional bars, and the strip speaks nucleotide coordinates so a codon lights up the base above it.

Usage

import { TranslationStrip } from "@/components/ui/translation-strip"

<TranslationStrip sequence={dnaSequence} minOrfAa={30} />
Source: components/ui/translation-strip.tsx