GBViewer
GBViewer is an interactive, SnapGene-style DNA map viewer and feature annotator for GenBank (.gb, .gbk, .genbank) and FASTA (.fasta, .fa, .fna) files directly inside VS Code.

Key Features
- Circular, Linear & Split Views
- Switch between Both, Circular, and Linear views from the toolbar.
- Automatically defaults to Both for
circular GenBank records and Linear for linear / FASTA records, remembering your choice per editor.
- Full GenBank Feature Support
- Displays all non-
source GenBank features (CDS, gene, promoter, terminator, rep_origin, RBS, protein_bind, misc_feature, and custom keys) with label priority label > gene > product > type.
- Honors
/ApEinfo_fwdcolor, /ApEinfo_revcolor, /loom_color, and /note="color: #..." color qualifiers.
- Interactive Feature Search
- Case-insensitive search across all annotated features; selecting a match highlights and selects its range on the map.
- Restriction Enzyme Mapping
- One-click toggle chips for
EcoRI, BamHI, HindIII, XhoI, NdeI, NotI, and BsaI, plus custom enzyme lookup validated against the built-in enzyme library.
- Complement & Strand-Specific CDS Translations
- Toggle the complementary DNA strand and independently enable CDS (+) (forward) and CDS (-) (reverse-complement) amino-acid translation tracks.
- Annotate Selections Back to
.gb
- Select any region on the map (including already-annotated regions), set a label, feature type, strand (
+ / -), and color, and click Update to append the feature to the .gb file.
- Side-by-Side & Live Sync
- Toggle seamlessly between GBViewer and the raw text editor from the editor title bar, or open the map beside your code with live 300 ms refresh on edits.
| |