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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file GBKviz-1.2.0.tar.gz.

File metadata

  • Download URL: GBKviz-1.2.0.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.12 Linux/5.11.0-1028-azure

File hashes

Hashes for GBKviz-1.2.0.tar.gz
Algorithm Hash digest
SHA256 cb442038515a981f13cd577880f2555f8b8dfedafbd6a767e7856d03294112a7
MD5 95727b297e53fb9680c20aea44e376a0
BLAKE2b-256 f6fce832cf2f83884ec21cea197fb08434dc2ae26ca901b915afc456250c0bdb

See more details on using hashes here.

File details

Details for the file GBKviz-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: GBKviz-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.12 Linux/5.11.0-1028-azure

File hashes

Hashes for GBKviz-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dc630d7427da3e3d29f7701cc1a4c0e67e4ebe1c1c8af194971d472f67d42c21
MD5 db69f1fc1513b49accd789bd77a2b607
BLAKE2b-256 5e3bca280f5c1ba981fb18ffaf58607d48f0993a25dd4099fe5761698122a071

See more details on using hashes here.

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