Skip to main content

Browser-based GUI for the logomaker sequence logo package

Project description

LogoMaker Viewer

A browser-based GUI for the logomaker Python package.
Upload a multiple sequence alignment (FASTA, GenBank, Clustal, Stockholm) and interactively generate publication-quality sequence logos — no command line required.

Sequence logo example

Features

  • Drag-and-drop upload — FASTA, GenBank, Clustal, Stockholm alignments
  • Click-to-recolour — click any residue on the rendered logo to open a colour picker for that character
  • Full logomaker control — matrix type, colour scheme, font, stack order, fade/shade, vpad, vsep, and more
  • Live character palette — see and edit all character colours at a glance
  • Export — download as PNG, SVG, or PDF at any DPI

Installation

pip install logomaker-viewer

Or into a fresh conda environment:

conda create -n logomaker-viewer python=3.11
conda activate logomaker-viewer
pip install logomaker-viewer

Usage

logomaker-viewer

This starts a local web server and opens http://127.0.0.1:5000 in your browser automatically.

Options

logomaker-viewer --port 8080        # use a different port
logomaker-viewer --no-browser       # don't auto-open browser
logomaker-viewer --host 0.0.0.0    # expose on local network
logomaker-viewer --debug            # Flask debug mode

Supported file formats

Format Extensions
FASTA .fa, .fasta, .fna, .faa
GenBank .gb, .gbk, .genbank
Clustal .clw
Stockholm .stk

All sequences in the file must be the same length (i.e. a true multiple sequence alignment).

Development

git clone https://github.com/YOUR_USERNAME/logomaker-viewer.git
cd logomaker-viewer
pip install -e ".[dev]"
python -m logomaker_viewer.cli

Credits

Sequence logos are rendered by logomaker (Tareen & Kinney, 2020).

License

MIT

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

logomaker_viewer-0.1.0.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

logomaker_viewer-0.1.0-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file logomaker_viewer-0.1.0.tar.gz.

File metadata

  • Download URL: logomaker_viewer-0.1.0.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.13

File hashes

Hashes for logomaker_viewer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4b4e64a4d33e5a70bc8980f314a189380de84a0f950d34f7d4a660f37c744bf1
MD5 1a2c4fa7e7ac0db4afd1d214c9d8cb76
BLAKE2b-256 33547e6a0eac66d810fae5aa9c621bf57ba83dcb4ac7262b87655df7f4551bb2

See more details on using hashes here.

File details

Details for the file logomaker_viewer-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for logomaker_viewer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b176763be5dae4469f51530654114fa11a34bb377dd0fb814a90f86866975f57
MD5 bf7980619db04dfbbe57f64bdf3d8bd0
BLAKE2b-256 83739c42bb0f892dbe8c8ec79dc2eb7a4610aaaf27a5e22b4b61c02ed95ffc05

See more details on using hashes here.

Supported by

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