Skip to main content

Sequence logo generator for aligned FASTA files

Project description

tlogo

Sequence logo generator for aligned FASTA files with HxB2 coordinate mapping for HIV Env.

Window logo example

Install

pip install tlogo

Development

git clone https://github.com/tmsincomb/tlogo.git
cd tlogo
pip install -e ".[dev]"

Usage

# Standard logo at specific HxB2 positions
tlogo logo alignment.fasta --positions 130,160,332

# Logo for an entire Env region
tlogo logo alignment.fasta --region V3

# Per-animal window logo around a single position
tlogo window alignment.fasta --position 100 --radius 7

# Auto-detect variant positions and generate window logos
tlogo auto alignment.fasta --variant-freq 0.5

Testing

pytest -v

Releasing

Version is managed automatically by setuptools-scm from git tags:

git tag v0.1.0
git push origin v0.1.0

PyPI publishing is handled by GitHub Actions via trusted publishing (OIDC). Configure your PyPI project to trust the publish.yml workflow.

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

tlogo-0.1.1.dev0.tar.gz (304.7 kB view details)

Uploaded Source

Built Distribution

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

tlogo-0.1.1.dev0-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

Details for the file tlogo-0.1.1.dev0.tar.gz.

File metadata

  • Download URL: tlogo-0.1.1.dev0.tar.gz
  • Upload date:
  • Size: 304.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tlogo-0.1.1.dev0.tar.gz
Algorithm Hash digest
SHA256 9332cfd071e1d555d94a5d27e414cd505a30f8e35b2564934b3641c71a2fc5d7
MD5 6f8d3973d17c0bf41939bfd003f5bbea
BLAKE2b-256 b92cf5aa15eff2f952071c757e7ac25212b68b8dd9134295e5c62200a185dc9b

See more details on using hashes here.

Provenance

The following attestation bundles were made for tlogo-0.1.1.dev0.tar.gz:

Publisher: publish.yml on tmsincomb/tlogo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tlogo-0.1.1.dev0-py3-none-any.whl.

File metadata

  • Download URL: tlogo-0.1.1.dev0-py3-none-any.whl
  • Upload date:
  • Size: 19.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tlogo-0.1.1.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 119ed51d31f90ca3522b6c9a46b9e1760b8cd2ff461fb3560428edc187451db2
MD5 af2a8ff04002bb7b97b31236ae782a38
BLAKE2b-256 8efdbfd49c662a7e09045f4a14237f252cba68e6246c9c37b2492af3a6b349a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for tlogo-0.1.1.dev0-py3-none-any.whl:

Publisher: publish.yml on tmsincomb/tlogo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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