Skip to main content

blastdbbuilder GUI: Building a Customised BLASTn Database

M. Asaduzzaman Prodhan*

DPIRD Diagnostics and Laboratory Services
Department of Primary Industries and Regional Development
31 Cedric St, Stirling WA 6021, Australia
*Correspondence: asad.prodhan@dpird.wa.gov.au; prodhan82@gmail.com

License GPL 3.0 ORCID DOI


Content


Introduction

A BLASTn database provides the essential reference framework for comparing query sequences, forming the backbone of any sequence-based analysis. Accurate results—whether in diagnostics, biosecurity surveillance, microbial studies, evolutionary research, environmental surveys, or functional genomics—depend on a high-quality, well-curated database.

Public databases are comprehensive but rapidly expanding, often containing redundant, low-quality or irrelevant entries. This leads to slower searches and reduced search resolution.

In contrast, a custom database is like a well‑organised library where every book is precisely indexed—smaller in volume, faster to search, and more focused in results.

To simplify this process for end users, blastdbbuilder GUI provides a graphical interface to the proven blastdbbuilder backend, allowing fully reproducible database construction without requiring command‑line interaction.


blastdbbuilder GUI

blastdbbuilder GUI is a Linux graphical front‑end for the blastdbbuilder command‑line toolkit.

It enables users to:

  • download public reference genomes
  • concatenate genome FASTA files
  • build customised BLASTn databases

using an interactive graphical interface.

The GUI internally executes the same backend commands as the original blastdbbuilder toolkit.


Features

  • Graphical selection of genome groups (Archaea, Bacteria, Fungi, Virus, Plants)
  • Graphical execution of genome download, FASTA concatenation and BLAST database building
  • Background execution (safe to close the GUI)
  • Reconnect to running jobs
  • Live log monitoring
  • Safe termination and emergency kill options
  • Directory‑based job management

Pre-requisite

System requirements

Before installing blastdbbuilder, make sure the following are available on your system:

Python ≥ 3.9

Check your Python version:

python3 --version

If Python is older than 3.9, install a newer Python using your system package manager.

Example (Ubuntu):

sudo apt install python3

This installs the latest Python version supported by your operating system.

You do not need to remove the existing Python installation, because Ubuntu uses Python internally for many system tools.

tkinter

The GUI requires the tkinter library for the graphical interface.

To check if tkinter is available:

python3 -m tkinter

If a small window appears, tkinter is installed.

If tkinter is missing (Ubuntu):

sudo apt install python3-tk

unzip

The program requires the unzip utility to extract downloaded genome archives.

Check if unzip is installed:

unzip -v

If the command is not found, install it:

sudo apt install unzip

Container engine

One of the following container engines must be installed:

  • Apptainer

  • SingularityCE ≥ 3.x

Example installation on Ubuntu / Debian:

sudo apt install singularity-container

The program automatically detects which container engine is available on your system and uses it.

On HPC systems (for example ARDC Nectar), Singularity or Apptainer is typically already installed.


Installation

Install blastdbbuilder-gui directly from PyPI:

pip install blastdbbuilder-gui

Verify installation

Check if the installation was successful:

blastdbbuilder-gui

If the GUI window opens, then:

  • the installation has been successful

  • you can run blastdbbuilder-gui from any directory on your computer.

(Optional) Create a Desktop launcher (Linux)

Run once:

blastdbbuilder-gui-desktop

This creates a Desktop launcher (Linux). You can then double-click the Desktop icon to start the GUI.




Figure 1. blastdbbuilder graphical user interface (GUI) automating construction of custom BLASTn reference databases from NCBI RefSeq genomes.


Introduction of the Buttons and their meaning

Browse... Select the working directory.

Detect running job Reconnect to a running job in the selected directory.

Run Starts the selected action.

Stop Gracefully stops the running job.

Force Kill Immediately terminates the job and all related processes.

Clear log view Clears the GUI log window only.

Exit Closes the GUI window.


How to use the GUI locally

  1. Launch the program using the desktop icon or:
blastdbbuilder-gui
  1. Select the working directory through navigating into the directory and DOUBLE-CLICK the folder to select it, and then pressing OK

  2. Choose genome groups:

  • Archaea
  • Bacteria
  • Fungi
  • Virus
  • Plants
  1. Select action:
  • Download only
  • Concat only
  • Build only
  • Run all
  1. Enable Run in background.

  2. Click Run.

Jobs continue running even if the GUI is closed.


How to use the GUI remotely

The GUI is fully supported on remote Linux and HPC systems using X11 forwarding.

  1. From your local computer, connect to the remote machine:
ssh -X user@remote_server
  1. Then open a terminal and run the following command
blastdbbuilder-gui

This will open the blastdbbuilder GUI on your local screen. Then, run the job as you would do it locally. See How to Use the GUI Locally


Checking progress later

  1. Launch the GUI again by double-clicking on the Desktop icon (if you use it locally) or by running blastdbbuilder-gui in a terminal
  2. Click Browse…
  3. Navigate to the same working directory
  4. DOUBLE-CLICK that directory to select it
  5. Click Detect running job

The GUI will reconnect and continue displaying the live log.

This directory selection step is essential. The GUI cannot detect jobs without using the same directory.


Stopping a job

To stop a running job:

  1. Select the same working directory
  2. Click Detect running job
  3. Click Stop

If the job does not stop (for example, a stalled container), click Force Kill.


Citation

If you use this software in your work, please cite:

Prodhan, M. A. (2025). blastdbbuilder: Building a Customised BLASTn Database. https://doi.org/10.5281/zenodo.17394137


Support

For issues, bug reports, or feature requests, please contact:

Asad Prodhan
E-mail: asad.prodhan@dpird.wa.gov.au, prodhan82@gmail.com

Metadata

Release files for blastdbbuilder-gui 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for blastdbbuilder-gui 1.2.0
File Size Uploaded Provenance Actions
blastdbbuilder_gui-1.2.0.tar.gz 287.8 kB Without provenance Details for blastdbbuilder_gui-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for blastdbbuilder-gui 1.2.0
File Interpreter ABI Platform Actions
blastdbbuilder_gui-1.2.0-py3-none-any.whl Python 3 none any Details for blastdbbuilder_gui-1.2.0-py3-none-any.whl

Total release size: 571.2 kB

Release files / blastdbbuilder_gui-1.2.0.tar.gz

Download URL blastdbbuilder_gui-1.2.0.tar.gz
Size 287.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6c16a279185bec5b2a677349b4f87d3b7048bf789d7df8649d8762bfc7e3a422
BLAKE2b-256 checksum
How to use checksums
780bca046c3db9b57576e3bba4aad0f96f370dd4484254810af4906e86418ada
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / blastdbbuilder_gui-1.2.0-py3-none-any.whl

Download URL blastdbbuilder_gui-1.2.0-py3-none-any.whl
Size 283.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0d2b31ebdba93d637dea0abff13d336d86d8d1291cbb375e880c00ef159d486
BLAKE2b-256 checksum
How to use checksums
7c9df2a3e7e5554413f84782409cb667954f48026771b7b2cb483099800330b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Security for blastdbbuilder-gui 1.2.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page