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.0

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.0
File Size Uploaded Provenance Actions
isoform_grammar-0.1.0.tar.gz 12.6 kB Without provenance Details for isoform_grammar-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 23.7 kB

Release files / isoform_grammar-0.1.0.tar.gz

Download URL isoform_grammar-0.1.0.tar.gz
Size 12.6 kB
Tags Source
SHA-256 checksum
How to use checksums
501713de1b5e77db718095e6bae2632f1764d5bce901dccdc9a1bc2b8c2e40c3
BLAKE2b-256 checksum
How to use checksums
085416ac806262116417ea40f50b7f8ea7fa7ec396af79582a036d34130c3031
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.0-py3-none-any.whl

Download URL isoform_grammar-0.1.0-py3-none-any.whl
Size 11.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7bc28b9552752a88900769c590c5ebfe669de63a4481a9b50e39f78acdaaff97
BLAKE2b-256 checksum
How to use checksums
00f36c7f728166d2aa74b2fa7d5e673c85d50b92bd04e9018ed61255b2268c0a
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.0

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.0 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