Related Experiment Video
Updated: Sep 5, 2025

A Femtoliter Droplet Array for Massively Parallel Protein Synthesis from Single DNA Molecules
Published on: June 20, 2020
BubbleGun: enumerating bubbles and superbubbles in genome graphs
Fawaz Dabbaghie1,2, Jana Ebler1, Tobias Marschall1
1Medical Faculty, Institute for Medical Biometry and Bioinformatics, Heinrich Heine University Düsseldorf, Düsseldorf 40225, Germany.
Motivation:
With the fast development of sequencing technology, accurate de novo genome assembly is now possible even for larger genomes. Graph-based representations of genomes arise both as part of the assembly process, but also in the context of pangenomes representing a population. In both cases, polymorphic loci lead to bubble structures in such graphs. Detecting bubbles is hence an important task when working with genomic variants in the context of genome graphs.
Results:
Here, we present a fast general-purpose tool, called BubbleGun, for detecting bubbles and superbubbles in genome graphs. Furthermore, BubbleGun detects and outputs runs of linearly connected bubbles and superbubbles, which we call bubble chains. We showcase its utility on de Bruijn graphs and compare our results to vg's snarl detection. We show that BubbleGun is considerably faster than vg especially in bigger graphs, where it reports all bubbles in less than 30 min on a human sample de Bruijn graph of around 2 million nodes.
Availability And Implementation:
BubbleGun is available and documented as a Python3 package at https://github.com/fawaz-dabbaghieh/bubble_gun under MIT license.
Supplementary Information:
Supplementary data are available at Bioinformatics online.
Related Concept Videos
Karyotyping
Genome Size and the Evolution of New Genes
Evolutionary Relationships through Genome Comparisons

