Skip to main content

isoform-grammar

PyPI version License: MIT

isoform-grammar classifies canonical-versus-isoform protein deletion topology via affine-gap BLOSUM62 global alignment (resolving splice-junction residue substitutions that defeat exact prefix/suffix checks) and profiles multimer interface conservation, destabilization, complete ablation, and emergence across ipTM, ipSAE_min, interface contact counts, and 3D PDB/mmCIF dimer coordinates.

Installation

pip install isoform-grammar

Command-Line Usage

1. Classify Deletion Windows and Topology for a Single Pair or Cohort CSV

isoform-grammar align --canon-seq MKTIIALSYIFCLVFADYKDDDDK --iso-seq MKTIIALSYIFCLVFA
isoform-grammar align --fasta sequences.fasta --pairs pairs.csv -o alignment_topology.csv

2. Profile Multimer Interface State Transitions (ipTM and ipSAE_min)

isoform-grammar profile --pairs pairs.csv --fasta sequences.fasta -o profiled_pairs.csv

3. Compare Canonical and Isoform 3D Dimer Structures Directly (.pdb or .cif)

isoform-grammar structure --canon canonical_dimer.cif --iso isoform_dimer.cif --cutoff 5.0

Python API

from isoform_grammar import (
    align_isoform_pair,
    classify_interface_transition,
    compare_dimer_structures,
    profile_pair_table,
)

topo = align_isoform_pair("MKTIIALSYIFCLVFADYKDDDDK", "MKTIIALSYIFCLVFA")
print(topo["topology_alignment"], topo["deletion_window"], topo["deletion_length"])

state = classify_interface_transition(canon_iptm=0.86, iso_iptm=0.28, canon_ipsae=0.81, iso_ipsae=0.14)
print(state["biological_outcome"], state["tier_transition"])

Citation

Karagöl, T., Karagöl, A. Structural grammar of truncation across the human homodimer landscape. bioRxiv (2026). https://doi.org/10.64898/2026.05.06.723091

License

Released under the MIT License.

Metadata

Release files for isoform-grammar 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for isoform-grammar 0.1.1
File Size Uploaded Provenance Actions
isoform_grammar-0.1.1.tar.gz 12.6 kB Without provenance Details for isoform_grammar-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for isoform-grammar 0.1.1
File Interpreter ABI Platform Actions
isoform_grammar-0.1.1-py3-none-any.whl Python 3 none any Details for isoform_grammar-0.1.1-py3-none-any.whl

Total release size: 23.7 kB

Release files / isoform_grammar-0.1.1.tar.gz

Download URL isoform_grammar-0.1.1.tar.gz
Size 12.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c9c82a99d9c06cb2f29ce46d1001c0e21e690fa6b82d5d03b6ae430f838c3fb5
BLAKE2b-256 checksum
How to use checksums
60bc5d5e15fca231cc26d97786a88834d067768efef9a34e1f240ab34bfb67a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / isoform_grammar-0.1.1-py3-none-any.whl

Download URL isoform_grammar-0.1.1-py3-none-any.whl
Size 11.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5f939fc302dfb028431a5f66930640849f0224df1b652778ba48bc8470d78913
BLAKE2b-256 checksum
How to use checksums
476d5ee45c0044ee12a6515a41e68c676033831d1e79b28c659cd58f3ba552d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for isoform-grammar 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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