Skip to content

happykhan/brigx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

120 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BRIGx

A browser-based circular genome comparison tool — the successor to BRIG (BLAST Ring Image Generator), rebuilt for the modern web.

Live at brigx.genomicx.org · Part of the GenomicX ecosystem.

Features

  • BLAST in the browser via WebAssembly (BLAST Legacy 2.2.26, compiled with Emscripten)
  • 4 parallel alignment workers using Web Workers for fast whole-genome comparisons
  • GC content and GC skew rings with adaptive scaling
  • Annotations from GenBank features, tab-delimited files (BRIG 5-column format), BedGraph, Wiggle, BED
  • Graph rings for coverage or any numerical data (.graph, .bedgraph, .wig, .sam)
  • Multi-FASTA references with configurable spacers and contig boundary visualisation
  • Interactive zoom, pan, and fullscreen
  • Export as SVG (publication quality), PNG, or JSON session
  • Privacy first — all data stays in your browser; nothing is uploaded

Quick start

npm install
npm run dev      # http://localhost:3000
npm test         # 132 tests (Vitest)
npm run build    # Production build

How it works

BRIGx runs entirely in the browser. BLAST binaries are compiled to WebAssembly and fetched from static.genomicx.org. Alignments run inside Web Workers so the UI stays responsive. No data ever leaves your machine.

Tech stack

  • Vite + React + TypeScript
  • BLAST 2.2.26 compiled to WebAssembly (Emscripten)
  • Web Workers for parallel alignment
  • @genomicx/ui shared components (NavBar, AppFooter, LogConsole, ThemeToggle)
  • SVG rendering (no dependencies)

File formats

Format Use
FASTA (.fasta, .fa, .fna) Reference and query genomes
GenBank (.gbk, .gb) Reference, query, or annotation source
Gzipped variants All of the above
.graph BRIG coverage/graph data (start, stop, value)
.bedgraph / .wig / .bed Coverage and annotation tracks
.sam SAM alignment files (converted to coverage)
.tsv / .csv Tab/comma-delimited annotations (BRIG 5-column format)

Citation

If you use BRIGx in your research, please cite the original BRIG paper:

Alikhan NF, Petty NK, Ben Zakour NL, Beatson SA (2011) BLAST Ring Image Generator (BRIG): simple prokaryote genome comparisons. BMC Genomics 12:402. Read the paper

Contributing

Bug reports and feature requests are welcome via GitHub Issues.

Author

Developed by Nabil-Fareed Alikhan, CGPS Oxford.

License

GPL-3.0

About

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Contributors