Skip to content

tmsincomb/tlogo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple sequence window view that is publish ready Nature logo plots using logomaker as the engine.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages