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.3.dev0.tar.gz (306.3 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.3.dev0-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tlogo-0.1.3.dev0.tar.gz
  • Upload date:
  • Size: 306.3 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.3.dev0.tar.gz
Algorithm Hash digest
SHA256 f65e4bb19bcdba1931f878125a877b1a1bb2b28adff3a1ef0d241de45cc05cd3
MD5 600d53dffb24d1f1dc12c132395e4108
BLAKE2b-256 9e3e9839942e9164602167cbb70869ebdafe7e1b0c72826219ad2dc6f26f6381

See more details on using hashes here.

Provenance

The following attestation bundles were made for tlogo-0.1.3.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.3.dev0-py3-none-any.whl.

File metadata

  • Download URL: tlogo-0.1.3.dev0-py3-none-any.whl
  • Upload date:
  • Size: 19.3 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.3.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b6212a4245db0da579a26188d86d8f6f583a0adc30e3f63ef6bc51af7336105
MD5 c118663565047659b191a4db740c0328
BLAKE2b-256 1c5cb07f1df31d7efa527e936bde465edd25c103f7cd57c0fb50b9b8f13762d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for tlogo-0.1.3.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