gbdraw: a genome diagram generator for microbes and organelles

gbdraw is a secure, serverless web application and command-line tool developed to generate customizable circular and linear genome diagrams for microbes and organelles directly within the user's browser, eliminating the need for data uploads while supporting both programmatic batch processing and graphical user interface accessibility.

Kawato, S.

Published 2026-04-09
📖 4 min read☕ Coffee break read
⚕️

This is an AI-generated explanation of a preprint that has not been peer-reviewed. It is not medical advice. Do not make health decisions based on this content. Read full disclaimer

Imagine you have a giant, complex instruction manual for a living machine—like a bacteria or a tiny virus. This manual, called a genome, is just a long string of letters (A, C, T, G) that tells the organism how to build itself.

Scientists need to draw pictures of these manuals to understand how they work, how they compare to each other, and how they evolved. But until now, making these pictures has been a bit of a headache.

Here is the story of gbdraw, a new tool that makes drawing these genome maps easy, safe, and fun for everyone.

The Problem: The "Too Hard" vs. "Too Risky" Dilemma

Before gbdraw, scientists had two main choices, and both had flaws:

  1. The "Code-It-Yourself" Route: There were powerful tools, but you had to be a master programmer to use them. It was like trying to build a custom car engine by welding every part yourself. Great if you're an expert, but impossible for a regular biologist who just wants to see a picture.
  2. The "Upload-It-All" Route: There were websites where you could upload your data and get a picture back. But this was like sending your top-secret family recipes to a stranger's kitchen to be copied. You had to trust them with your private, unpublished data, and you often had to wait for the internet to process it.

The Solution: gbdraw (The "Magic Sketchbook")

gbdraw is a new tool that fixes both problems. Think of it as a magic sketchbook that lives right inside your web browser.

1. It's a "Serverless" Magic Trick

The coolest thing about gbdraw is that it never sends your data to a remote server.

  • The Analogy: Imagine you have a secret recipe. Instead of mailing it to a restaurant to be cooked, you bring your own ingredients and a portable stove to the restaurant. You cook it right there in front of the customers, and the restaurant never touches your food.
  • How it works: gbdraw uses a special technology (WebAssembly) that lets your computer do all the heavy lifting inside your browser. Your genome data never leaves your machine. It's 100% private and secure, even if you are using a public library computer.

2. Two Ways to Play: The "Playground" and the "Factory"

gbdraw is designed for two types of people:

  • The Playground (Web App): If you just want to see a picture quickly, you go to the website. You drag and drop your file, click a few colorful buttons to change the style, and poof—a beautiful diagram appears. No coding required. It's like using a "Paint" app but for DNA.
  • The Factory (Command Line): If you are a computer wizard who needs to make 1,000 pictures automatically, you can use the command-line version. It's like a factory robot that can churn out genome maps while you sleep.

3. What Can It Draw?

gbdraw is incredibly flexible. It can draw:

  • Circular Maps: Like a clock face or a pizza, perfect for bacteria and mitochondria (the power plants in our cells).
  • Linear Maps: Like a long strip of road, perfect for comparing how different viruses or bacteria are rearranged.
  • The "Detective" Feature: It has a built-in engine called LOSAT that acts like a super-fast detective. It can instantly compare two different genomes to see which parts are similar (like finding matching puzzle pieces) without you needing to install complex, heavy software on your computer.

4. Making It Pretty

You can customize everything.

  • Colors: It comes with 55 different color palettes (like "Soft Pastel" or "Rainbow").
  • Labels: You can tell it exactly what to write on the map. Do you want to see the gene names? The protein names? Or just the big picture? You decide.
  • Editing: You can click on the map in your browser and move things around or hide specific parts, just like editing a photo.

Why Does This Matter?

In the past, a biologist might have spent three days writing code or wrestling with complex software just to make one figure for a presentation. With gbdraw, they can do it in three minutes.

It bridges the gap between experts (who need deep control) and everyone else (who just needs a clear picture). Whether you are studying a tiny virus that infects shrimp or the massive DNA of a human mitochondrion, gbdraw helps you visualize the invisible world of life, safely and easily.

In short: gbdraw is the "Canva" of genome diagrams—powerful enough for pros, simple enough for anyone, and secure enough for your most sensitive secrets.

Get papers like this in your inbox

Personalized daily or weekly digests matching your interests. Gists or technical summaries, in your language.

Try Digest →