PEN-COMPARE
Hierarchical Certification Framework for Non-Destructive Genome Editors
Part of PEN-STACK — the first unified computational infrastructure for programmable genome integration design.
Status: Alpha (v0.1.0a1) — under active development.
What is PEN-COMPARE?
PEN-COMPARE is the capstone integrative paper of PEN-STACK. It answers:
Given the four PEN-STACK datasets, how do we operationally certify an editor as a "Molecular Pen" rather than a "Molecular Scissor"?
The deliverable is a framework (5-gate hierarchical TrueWriterScore certification), an analysis (cross-source triangulation across all 4 PEN-STACK packages), a public tool (Streamlit webserver + local LLM RAG Q&A), and a paper (Bioinformatics Application Note).
Quick start
pip install pen-compare
pen-compare compare ISCro4 IS621
5-Gate Framework
| Gate | Type | Axis | Threshold |
|---|---|---|---|
| G1 — DSB Avoidance | Necessary | S_DSB | ≥ 0.95 |
| G2 — Programmability | Qualifying | S_Prog | ≥ 0.95 |
| G3 — Native Cargo | Qualifying | S_Cargo + intrinsic | ≥ 0.90 |
| G4 — Deliverability | Qualifying | length_aa | ≤ 900 aa |
| G5 — Evidence | Qualifying | multi-source | ≥ 2 sources |
| Tier | Requirement |
|---|---|
| TRUE_WRITER | G1 + all 4 qualifying + cell-based evidence |
| PROBABLE_WRITER | G1 + 3–4 qualifying (no cell-based OR 3/4 with cell-based) |
| EMERGING_WRITER | G1 + 1–2 qualifying |
| NOT_WRITER | G1 fails OR 0 qualifying |
Upstream packages (pinned versions)
| Package | Version | Role |
|---|---|---|
| genome-atlas | ≥ 0.7.2 | Knowledge graph, PFAM evidence, triangulation |
| mech-class | ≥ 0.5.4 | DSB classification, Tier-A gate decisions |
| pen-score | ≥ 0.1.3 | 8-axis PenScores, get_editor_metadata() API |
| pen-assemble | ≥ 0.5.2 | 1,029-design catalog with cargo/cell-based fields |
Documentation
https://ahmedanees-m.github.io/pen-compare
Citation
@software{pen_compare_2026,
author = {Mahaboob Ali, Anees Ahmed},
title = {PEN-COMPARE: Hierarchical Certification Framework for Non-Destructive Genome Editors},
year = {2026},
url = {https://github.com/ahmedanees-m/pen-compare},
}
License
MIT — see LICENSE.
Release files for pen-compare 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pen_compare-0.1.0.tar.gz | 78.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pen_compare-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 103.2 kB
Release files / pen_compare-0.1.0.tar.gz
| Download URL | pen_compare-0.1.0.tar.gz |
|---|---|
| Size | 78.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7f1e4f535c64ae094bcdd2775aa5b3b1af4097a0381f3d567464944851cf3f86
|
|
BLAKE2b-256 checksum How to use checksums |
700f12c7e99e1b8b33dd4bdad40b0cb60407d1350b3cff432929cfcf24a1aa58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / pen_compare-0.1.0-py3-none-any.whl
| Download URL | pen_compare-0.1.0-py3-none-any.whl |
|---|---|
| Size | 25.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c7c4eb1c23570f71c660999c48b50a383c873d21287518a6eb8541da6d0fd600
|
|
BLAKE2b-256 checksum How to use checksums |
a42e7a87dced0bbc3eb886be15432280f44f7c93046c3ed16bc81b7957107042
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|