This release is a pre-release and may not be stable for production use.
tpixel
Pixel-block alignment viewer for hundreds of sequences. Renders Roark-style PIXEL plots: grey=match, red=substitution, black=gap.
Install
pip install tpixel
Usage
# Protein alignment (AA mode)
tpixel --fasta examples/env_protein_aligned.fasta -o examples/test_hiv_pixel.png
# Nucleotide alignment (NT mode — auto-detected)
tpixel --fasta examples/env_codon_aligned.fasta -o examples/test_hiv_nt_pixel.png
HIV mode is auto-detected when the alignment contains HxB2 and a *_ref sequence. Force with --hiv or --no-hiv. Nucleotide vs amino-acid mode is auto-detected from sequence content. Force with --nt or --aa.
Examples
Both alignments contain the same 33 sequences (HxB2, animal1_ref, and 31 sample sequences from 7 animals):
| Sequence | Type |
|---|---|
| HxB2 | Coordinate reference |
| animal1_ref | Parental lineage reference |
| animal1_s1 .. s7 | animal1 samples (7) |
| animal2_s1 .. s5 | animal2 samples (5) |
| animal3_s1 .. s8 | animal3 samples (8) |
| animal4_s1 | animal4 sample (1) |
| animal5_s1 .. s5 | animal5 samples (5) |
| animal6_s1 .. s2 | animal6 samples (2) |
| animal7_s1 .. s3 | animal7 samples (3) |
Protein alignment (AA)
env_protein_aligned.fasta — 887 columns of HIV-1 Env protein. Each AA = 1 pixel.
Nucleotide alignment (NT)
env_codon_aligned.fasta — 2661 columns of codon-aligned HIV-1 Env DNA. Each NT = 1 pixel. PNGS markers are detected by translating internally and mapped back to NT columns.
Metadata
Release files for tpixel 0.1.5.dev0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tpixel-0.1.5.dev0.tar.gz | 165.8 kB | With provenance | Details for tpixel-0.1.5.dev0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tpixel-0.1.5.dev0-py3-none-any.whl | Python 3 | none | any | Details for tpixel-0.1.5.dev0-py3-none-any.whl |
Total release size: 185.1 kB
Release files / tpixel-0.1.5.dev0.tar.gz
| Download URL | tpixel-0.1.5.dev0.tar.gz |
|---|---|
| Size | 165.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc4aea08c01014b8a666e106fc9ed297e38eb11c5f1702263eb62d25a2caccc6
|
|
BLAKE2b-256 checksum How to use checksums |
a3ca2e73ed25da5a58c5861aa4834dce590da2c6c988855e48c23baf204787bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 27, 2026.
Transparency logRelease files / tpixel-0.1.5.dev0-py3-none-any.whl
| Download URL | tpixel-0.1.5.dev0-py3-none-any.whl |
|---|---|
| Size | 19.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
95a1671465d8b51b584e51c475116b5d1b88331730c0324a1700c9f64a078922
|
|
BLAKE2b-256 checksum How to use checksums |
bc1f01d3c8a5bff35cd2f79db8e9c8cf2d7ce736a61e3ce511232709ee970928
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 27, 2026.
Transparency logSecurity for tpixel 0.1.5.dev0
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for tpixel-0.1.5.dev0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 27, 2026.
Transparency logA 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.