pgx
PGX — Lightweight Postgres for AI agents. Written in Rust. Thousands of isolated databases in one runtime. 🐘
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Drop a genome-scale model, get it curated — client-side. ID mapping to BiGG + discrepancy detection + QC + supervised export.
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Drop a genome-scale metabolic model into your browser and get it curated.
Live: · everything runs client-side;
your model is never uploaded.
Upload an SBML or COBRA-JSON model and the autocurator proposes changes across
eight stages. You approve or reject each one, and export a supervised curated
model as SBML, COBRA JSON and a COBRA Toolbox .mat struct, with a report of
what was decided.檢視完整 README ↗Drop a genome-scale metabolic model into your browser and get it curated.
Live: https://omidard.github.io/gem-autocurator/ · everything runs client-side; your model is never uploaded.
Upload an SBML or COBRA-JSON model and the autocurator proposes changes across
eight stages. You approve or reject each one, and export a supervised curated
model as SBML, COBRA JSON and a COBRA Toolbox .mat struct, with a report of
what was decided.
glc__D_c and glc__D_e are two
metabolites and stay that way. Two reactions are only ever proposed for
merging when their stoichiometry matches..mat, and a
Markdown report of every finding and every decision.tools/build_backbone.py (the canonical builder) ingests the full MetaNetX
(MNXref) cross-reference universe, which already clusters compounds and
reactions from BiGG · KEGG · ModelSEED · ChEBI · MetaCyc · Rhea · HMDB by
structure, and keeps the clusters relevant to metabolic models. Each cluster
gets one canonical identifier: its BiGG identifier, or a stable BiGG-like one
shared by every database identifier in the cluster, frozen in
tools/backbone_freeze.json so it does not change between builds. So glc__D,
C00031, cpd00027 and CHEBI:4167 all resolve to glc__D.
| structure clusters | with a BiGG id | given a BiGG-like id | source ids mapped | |
|---|---|---|---|---|
| metabolites | 47,930 | 9,908 | 38,022 | 300,033 |
| reactions | 68,294 | 20,731 | 47,563 | 223,572 |
Backbone source: MetaNetX/MNXref 4.4, built 2026-09-06. The 4 gzipped data files are 5,333,978 bytes (5.33 MB); the whole of docs/data/ is 16,551,519 bytes (16.6 MB). The validation bundle was built 2026-09-07 from GrowthDB @ be8e54c9f and Media DB @ 86c0c9e26, and carries 5,163 literature-cited records across 1,296 species, 4,540 of them with a measured growth rate.
Two caveats worth stating, because the headline numbers alone would overstate the guarantee:
Ht, Htm, Htg, Htex are proton transport across different membranes)
and collapsing them would corrupt any compartmentalised model. So the number
of canonical identifiers handed out is slightly larger than the number of
clusters, and two distinct primary BiGG identifiers in one structural cluster
stay distinct by design.tests/test_id_injectivity.py asserts that no two clusters are ever handed
the same minted identifier, the invariant the whole promise rests on, and one
nothing checked until it was written. It found 1,401 minted reaction
identifiers shared by 3,031 MetaNetX clusters; the backbone rebuild fixed
that, and the assertion is now a live gate rather than a known failure.| script | reads | writes |
|---|---|---|
tools/build_backbone.py | MetaNetX 4.4 TSVs from https://www.metanetx.org/ftp/4.4/ into /data/mnx_tmp | docs/data/{metabolite_map,reaction_map,bigg_met_props}.json.gz, backbone_coverage.json, tools/backbone_freeze.json |
tools/build_thermo_pka.py | the ModelSEED Biochemistry database | docs/data/{pka_table,thermo_rxn}.json |
tools/build_validation.py | GrowthDB + the Media DB | docs/data/{growthdb,media_ex,spectrum}.json |
tools/repo_facts.py | the shipped artifacts | the generated blocks in this file and THIRD_PARTY.md |
Raw upstream inputs are build-time only and stay outside the repository; each
script's header carries its download commands. tools/deprecated/build_id_maps.py
is the superseded predecessor of the backbone builder, kept as the record of an
identifier scheme that was rejected; it refuses to run.
python3 tests/run_tests.py # boot smoke + repository hygiene (~20 s)
python3 tests/run_tests.py --suite all # + model-integrity round-trips through COBRApy
See tests/README.md. The fast suite gates every push through
.github/workflows/ci.yml; it proves the page boots and the hygiene rules hold,
and deliberately proves nothing about whether a curation engine is correct.
tests/known_failures.tsv lists the assertions that are red on purpose, each
against the finding that explains why.
Pure client-side, served by GitHub Pages from docs/. SBML/JSON parsing,
identifier canonicalisation, QC, charge titration, identifier synthesis,
SBML/JSON/MAT export and the Plotly dashboard are vanilla ES modules;
GLPK-WASM does every flux-based computation. Design shared with
Flux Studio.
Original code is MIT. The published bundle is GPL-3.0, because it imports and
executes glpk.js 4.0.1 (GPL-3.0). The bundled reference data is derived from
MetaNetX, ModelSEED and BiGG and cannot be relicensed by this project, and two
of those upstream terms restrict non-academic use. See LICENSE and
THIRD_PARTY.md before redistributing or building a product on this.
Citation metadata is in CITATION.cff.