Skip to main content

Pyggseqlogo

Python version of ggseqlogo. Based on plotnine (Python version of ggplot2). A derivative of plotnineSeqSuite.

Cite this work

Cao, T., Li, Q., Huang, Y. et al. plotnineSeqSuite: a Python package for visualizing sequence data using ggplot2 style. BMC Genomics 24, 585 (2023). https://doi.org/10.1186/s12864-023-09677-8

Installation

pip install pyggseqlogo

Getting Started

from plotnine import ggplot
from plotnineseqsuite import geom_logo
from plotnineseqsuite.data import seqs_dna
from pyggseqlogo import ggseqlogo, theme_logo

The code is based on plotnineSeqSuite.

ggplot() + geom_logo(data=seqs_dna['MA0001.1']) + theme_logo()

https://caotianze.github.io/pyggseqlogo/started_1.png
Pyggseqlogo provides a wrapper function for the above code.

ggseqlogo(seqs_dna['MA0001.1'])

https://caotianze.github.io/pyggseqlogo/started_2.png
facet_wrap

ggseqlogo(seqs_dna, ncol=4)

https://caotianze.github.io/pyggseqlogo/started_3.png

Where to go next

If you want to draw more complex sequence logos or other sequence-related diagrams, we recommend visiting the plotnineSeqSuite homepage for details.

Metadata

Release files for pyggseqlogo 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 pyggseqlogo 1.2.0
File Size Uploaded Provenance Actions
pyggseqlogo-1.2.0.tar.gz 3.6 kB Without provenance Details for pyggseqlogo-1.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 7.4 kB

Release files / pyggseqlogo-1.2.0.tar.gz

Download URL pyggseqlogo-1.2.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
825605060a2a176906d7e65aca1722dbc6f05c72794bafa7d1897a3b9256f437
BLAKE2b-256 checksum
How to use checksums
140ce6aac61e199b9ccbffbb6872f6f8aa27c13d0c047c83a28033566ee586de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

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

Download URL pyggseqlogo-1.2.0-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4879d538441240e88d2957bfe17f25ae0cf3b244356c6f745ff1c9e7ff3256ef
BLAKE2b-256 checksum
How to use checksums
9e47da2e59c5652a8f30d4eceffde6cff148e2068abf09d4821b21452119f039
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Security for pyggseqlogo 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