Skip to main content

Simple web application to visualize and compare genomes in Genbank files

Project description

GBKviz: Genbank Data Visualization WebApp

Open in Streamlit Python3 License Latest PyPI version

Overview

GBKviz is a web-based Genbank data visualization and comparison tool developed with streamlit web framework. GBKviz allows user to easily and flexibly draw CDSs in user-specified genomic region (PNG or SVG format is available). It also supports drawing genome comparison results by MUMmer. GenomeDiagram, a part of BioPython module, is used to draw the diagram. This software is developed under the strong inspiration of EasyFig.

GBKviz Demo GIF
If you are interested, click here to try GBKviz on Streamlit Cloud.

:warning: Due to the limited resources in Streamlit Cloud, it may be unstable.

Installation

GBKviz is implemented in Python3 (Tested on Ubuntu20.04)

Install PyPI stable version with pip:

pip install gbkviz

If you want to enable genome comparison in GBKviz, MUMmer is required.

Install MUMmer with apt command (Ubuntu):

sudo apt install mummer

GBKviz can also be available with Docker:

docker pull moshi4/gbkviz:latest
docker run -d -p 8501:8501 moshi4/gbkviz:latest

Dependencies

  • Streamlit
    Simple web framework for data analysis

  • BioPython
    Utility tools for computational molecular biology

  • MUMmer
    Genome alignment tool for comparative genomics

Command Usage

Launch GBKviz in web browser (http://localhost:8501):

gbkviz_webapp

If you are using Docker to start, above command is already executed.

Example

Example of GBKviz genome comparison and visualization results.

GBKviz Example Fig1
Fig.1: 4 phage whole genomes comparison result

GBKviz Example Fig2
Fig.2: 4 E.coli partial genomes comparison result

GBKviz Example Fig3
Fig.3: 4 E.coli whole genomes comparison result

GBKviz Example Fig4
Fig.4: Simple CDS visualization with gene label

Genome Comparison

In GBKviz, MUMmer is used as genome comparison tool.
Following four genome comparison methods are available.

  • Nucleotide One-to-One Mapping
  • Nucleotide Many-to-Many Mapping
  • Protein One-to-One Mapping
  • Protein Many-to-Many Mapping

User can download and check genome comparison results file.
Genome comparison results file is in the following tsv format.

Columns Contents
REF_START Reference genome alignment start position
REF_END Reference genome alignment end position
QUERY_START Query genome alignment start position
QUERY_END Query genome alignment end position
REF_LENGTH Reference genome alignment length
QUERY_LENGTH Query genome alignment length
IDENTITY Reference and query genome alignment identity (%)
REF_NAME Reference genome name tag
QUERY_NAME Query genome name tag

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

GBKviz-1.2.0.tar.gz (2.2 MB view hashes)

Uploaded Source

Built Distribution

GBKviz-1.2.0-py3-none-any.whl (2.0 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page