BiNgo Genome Viewer
A lightweight, browser-based genomics viewer for visualizing genomes, coverage tracks, read alignments, variants, and annotations. Built as a modern alternative to IGV.
Supported File Formats
| Type | Formats |
|---|---|
| Genome | GenBank (.gb, .gbk), FASTA (.fasta, .fa) |
| Coverage | BigWig (.bw), WIG (.wig), BedGraph (.bedgraph, .bdg) |
| Reads | BAM (.bam + .bai index) |
| Variants | VCF (.vcf, .vcf.gz) |
| Annotations | BED (.bed), GFF (.gff, .gff3), GTF (.gtf), GenBank (.gb) |
Quick Start
Requires Python 3.10 or newer. Download from python.org if needed.
Install with pip (recommended)
No Node.js required — the frontend is pre-built and bundled.
python -m pip install BiNgoViewer
bingo
Using
python -m pip(instead of barepip) installs into whichever Python you invoke — including a virtual environment — and avoids the common "command not found" / wrong-Python issues some users hit on macOS and Linux where the launcher ispython3/pip3. Ifpythonis not on your PATH, substitutepython3 -m pip install BiNgoViewer.
Options:
bingo # launch on default port 8000
bingo --port 9000 # use a custom port
bingo --no-browser # start without opening the browser
bingo --install # create a desktop shortcut
bingo --update # check for updates
bingo --version # show installed version
bingo --no-update # skip automatic update check
Windows (one-click)
Double-click Install_Windows.bat. It will install Python dependencies into a local environment and launch the viewer. No command line needed.
macOS / Linux (one-click)
Double-click Install_macOS.command (or run it from a terminal). It will create a virtual environment, install dependencies, and launch the viewer.
Permission denied? Run once in Terminal:
chmod +x Install_macOS.command
Docker
No Python or Node.js required — everything runs inside the container.
cd app
docker compose up --build
Then open http://localhost:8000.
Troubleshooting
| Problem | Solution |
|---|---|
python not found |
Install Python 3.10+ and check Add to PATH during setup. On macOS/Linux you may need python3 instead of python |
pip not found / wrong version |
Use python -m pip install BiNgoViewer (or python3 -m pip ...). This binds to whatever Python you invoked, including the active virtualenv, and works even when there is no pip shim on PATH |
Installs but bingo not found |
Your Python's Scripts/ (Windows) or bin/ (macOS/Linux) directory is not on PATH. Either activate your venv first, or run python -m bingoviewer instead of bingo |
| "No matching distribution" | Your Python is too old — BiNgo requires Python 3.10+. Check with python --version |
| pip install fails | Try python -m pip install --user BiNgoViewer, or create a virtual environment: python -m venv .venv && .venv/bin/pip install BiNgoViewer (use .venv\Scripts\pip on Windows) |
| Port 8000 in use | Run bingo --port 9000 (or any free port) |
| Browser doesn't open | Visit http://localhost:8000 manually |
| Server won't stop | The server auto-exits when you close all browser tabs; or press Ctrl+C |
Usage
- Load files — Use the file picker, drag and drop, or paste a local file path (recommended for large BAM files).
- Navigate — Left-click drag to pan, scroll to zoom, use the chromosome scrubber to jump across the genome.
- Select regions — Right-click drag to select a region; hover for stats (coverage, variants, reads).
- Zoom to gene — Double-click a gene annotation to zoom in with context.
- Track settings — Adjust height, color, scale, bar width, peak outline trace, and nucleotide display.
- Reorder tracks — Drag the grip handle on any track label.
- Export — Save the current view as SVG or PNG with layered groups.
- Save session — Export/restore your entire workspace including zoom, colors, and settings.
- Save session — Store your workspace and restore it later.
API Documentation
When the server is running, interactive API documentation is available at:
- Swagger UI: http://localhost:8000/docs
- ReDoc: http://localhost:8000/redoc
Project Structure
├── Install_Windows.bat # Windows installer (double-click)
├── Install_macOS.command # macOS / Linux installer (double-click)
├── README.md
├── pyproject.toml # pip package definition
├── bingoviewer/ # Installable Python package
│ ├── cli.py # `bingo` CLI entry point
│ ├── server/ # FastAPI backend (bundled)
│ └── frontend_dist/ # Pre-built React frontend
└── app/ # Application source code
├── backend/ # Python (FastAPI) REST API
└── frontend/ # React (Vite) user interface
Citation
If you use this software in your research, please cite:
Ngo, B.M. (2026). BiNgo Genome Viewer (v1.8.2) [Software].
References & Acknowledgments
Click to expand
Software Dependencies
Backend
- FastAPI — Ramírez, S. (2018). FastAPI: A modern, fast web framework for building APIs with Python. https://fastapi.tiangolo.com/
- Uvicorn — Encode OSS. ASGI server implementation for Python. https://www.uvicorn.org/
- BioPython — Cock, P.J.A. et al. (2009). Biopython: freely available Python tools for computational molecular biology and bioinformatics. Bioinformatics, 25(11), 1422–1423.
- pyfaidx — Shirley, M.D. et al. (2015). Efficient "pythonic" access to FASTA files using pyfaidx. PeerJ PrePrints, 3:e1196.
- bamnostic — Sherman, M.A. & Mills, R.E. (2019). BAMnostic: a pure Python, OS-agnostic Binary Alignment Map (BAM) file parser and random access tool.
Frontend
- React — Meta Platforms, Inc. A JavaScript library for building user interfaces. https://react.dev/
- Vite — You, E. (2020). Next generation frontend tooling. https://vitejs.dev/
- Axios — HTTP client for the browser and Node.js. https://axios-http.com/
File Format Specifications
- SAM/BAM — Li, H. et al. (2009). The Sequence Alignment/Map format and SAMtools. Bioinformatics, 25(16), 2078–2079.
- VCF — Danecek, P. et al. (2011). The variant call format and VCFtools. Bioinformatics, 27(15), 2156–2158.
- BigWig/WIG — Kent, W.J. et al. (2010). BigWig and BigBed: enabling browsing of large distributed datasets. Bioinformatics, 26(17), 2204–2207.
- BED — UCSC Genome Browser, University of California, Santa Cruz.
- GFF3 — Sequence Ontology Project. Generic Feature Format Version 3.
- GTF — Ensembl genome database project.
- GenBank — Benson, D.A. et al. (2013). GenBank. Nucleic Acids Research, 41(D1), D36–D42.
Inspiration
- IGV — Robinson, J.T. et al. (2011). Integrative Genomics Viewer. Nature Biotechnology, 29(1), 24–26.
Acknowledgments
Early version testing and feedback:
- Amanda Antoch
- Isaac Poarch
- Otto Chipashvili
- Jake Colautti
License
All rights reserved. Contact the author for licensing inquiries.
Metadata
Release files for BiNgoViewer 2.9.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bingoviewer-2.9.4.tar.gz | 148.5 kB | With provenance | Details for bingoviewer-2.9.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bingoviewer-2.9.4-py3-none-any.whl | Python 3 | none | any | Details for bingoviewer-2.9.4-py3-none-any.whl |
Total release size: 305.1 kB
Release files / bingoviewer-2.9.4.tar.gz
| Download URL | bingoviewer-2.9.4.tar.gz |
|---|---|
| Size | 148.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5cb10e6a1c75896d41ca16759094d26d6f5c08770e51ba4608cece3b28564dad
|
|
BLAKE2b-256 checksum How to use checksums |
fe4ddb62b397f2f292d7567593d6888499adb98d78fc1fc986cd5bc4164e3fa9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 1, 2026.
Transparency logRelease files / bingoviewer-2.9.4-py3-none-any.whl
| Download URL | bingoviewer-2.9.4-py3-none-any.whl |
|---|---|
| Size | 156.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ed35a6ab90a7f9595280faa6323564c5a3b357784b1f7d6672eff58f003452f0
|
|
BLAKE2b-256 checksum How to use checksums |
4b490eb81b96c9dd0732392057be34380487afe2b6badb1c9bdafd3997fba3dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 1, 2026.
Transparency logSecurity for BiNgoViewer 2.9.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for bingoviewer-2.9.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 1, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.