Feature request: Joint calibration across cell lines and prediction from protein copy numbers

オープン
#1,050 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
data

調査の方向性

Start by reading PyBNF's existing condition, experiment, parameter-routing, measurement, and pre-equilibration workflows, then identify their relevant implementation and tests. The request proposes a broad workflow spanning abundance import, joint fitting, prediction, grouped validation, and reporting, but names no specific files or entry points. Done means meeting the stated acceptance criteria, including a synthetic example and checks that withheld responses do not affect fitting.

索引モデルが issue の本文から書いたものです。

説明

Feature request: Joint calibration across cell lines and prediction from protein copy numbers

Motivation

I propose an integrated PyBNF workflow for fitting one signaling network to multiple cell lines, with shared kinetic parameters and measured, cell-line-specific protein abundances, then predicting responses in additional cell lines without refitting the kinetics.

The motivating biological hypothesis is straightforward: the cell lines contain the same signaling network, and their different responses arise from differences in protein abundance. Binding, catalytic, phosphorylation, dephosphorylation, and other kinetic parameters are shared unless the modeler explicitly specifies otherwise.

The scientific question is:

How much of the variation in signaling across cell lines can a common network explain using measured protein abundance differences alone?

PyBNF already provides relevant building blocks, including conditions, experiments, parameter estimation, measurement models, and pre-equilibration. This request is to connect and extend those capabilities into a reproducible workflow, reducing the need for duplicated models, manually maintained condition definitions, and external scripts.

Example use case

A researcher has:

  • One BNGL or SBML signaling model.
  • Protein copy-number measurements for several cell lines.
  • Signaling time courses and/or dose-response measurements under defined stimuli or inhibitors.
  • A mapping from measured proteins to the model’s abundance inputs.

The researcher fits a single kinetic parameter set jointly against the training cell lines. PyBNF applies each cell line’s measured abundances and each experiment’s protocol before simulation.

The researcher can then supply the abundance profile of another cell line and predict its signaling responses using the fitted kinetics. Response measurements from that cell line can subsequently evaluate the prediction.

Protein abundances define the cellular context; dynamic or perturbation-response measurements provide the information needed to estimate kinetics. The feature would not imply that copy numbers alone determine reaction rates.

Requested behavior

1. Import cell-line abundance profiles

Support a table of protein copy numbers, an explicit mapping to model abundance parameters, and cell or compartment volumes where required.

Missing measurements, units, and any fallback values should be handled explicitly. The initial implementation could require models with clearly declared abundance inputs, rather than attempting to infer arbitrary protein-to-species mappings automatically.

2. Fit shared kinetics jointly

Evaluate each candidate kinetic parameter set across all training experiments, using the appropriate cell-line abundance profile and experimental protocol.

Combine likelihood contributions using the configured observation and noise models. Keep biological parameters distinct from assay-specific scaling, offsets, and noise parameters, with explicit sharing rules for those measurement parameters.

3. Predict additional cell lines without kinetic refitting

Save the calibrated shared model and the information required to reproduce predictions.

Accept a new abundance profile plus a simulation protocol and generate predicted observables. Where supported, propagate existing posterior samples or valid bootstrap fits into prediction intervals, clearly identifying the source of uncertainty.

4. Validate by withholding complete cell lines or experiments

Automate grouped cross-validation, including leave-one-cell-line-out validation.

For a withheld cell line, its measured abundance profile is an allowed prediction input; its signaling responses must not influence parameter fitting, model selection, or fitted observation scales. Any independent assay calibration needed to compare predictions with measurements should be declared.

5. Report performance at biologically useful levels

Produce measured-versus-predicted plots and error summaries by cell line, observable, and treatment, distinguishing training results from withheld predictions.

Highlight systematic failures of the shared-kinetics model. Such failures motivate further investigation; they do not by themselves establish that a particular rate constant differs between cell lines.

Important modeling details

Protein totals and initialization

Protein totals are not automatically initial free-species amounts. A measured total may include unbound, phosphorylated, and complex-bound protein.

The model should define how abundance inputs determine its initial state, potentially through an explicit allocation followed by basal pre-equilibration. For models with synthesis and degradation, the relationship between measured abundance and basal model state must also be specified.

The feature should preserve these declared assumptions rather than silently assign or clamp species.

Copy numbers, concentrations, and volumes

Copy numbers require consistent treatment of volume. A concentration-based model needs the appropriate conversion from molecules per cell to concentration.

In a count-based formulation, bimolecular coefficients may depend on volume even when the underlying concentration-based kinetic constant is shared. Volume should therefore be an explicit context input when needed.

Suggested implementation strategy

  • Build on the existing condition, experiment, parameter-routing, measurement, and pre-equilibration machinery. An abundance table could expand into ordinary internal condition assignments, preserving the behavior of existing fitting methods.
  • Represent cell-line identity separately from treatment identity. Construct each experiment from its abundance profile and protocol, with clear precedence rules and detection of conflicting assignments.
  • Maintain one shared kinetic parameter vector. Apply fixed abundance inputs to each experiment before initialization and simulation.
  • Reuse generated networks or prepared simulator structures where supported, while isolating mutable state between experiments. Parallelize independent simulations through the existing scheduler.
  • Implement grouped validation as orchestration around ordinary fitting and prediction runs. Save split definitions, seeds, fitted parameters, resolved abundance assignments, and per-fold results so that runs are reproducible and resumable.
  • Preserve existing noise-model and likelihood semantics. Alternative dataset-weighting choices should be explicit.

Initial scope and subsequent extension

The first release could keep measured abundances fixed and focus on the complete import → joint fit → prediction → validation workflow. It would not require a new optimizer or sampler.

A later, established statistical extension would account for uncertainty in protein measurements: treat true abundances as latent quantities constrained by a measurement likelihood and reported uncertainties. This would allow abundance uncertainty to propagate into predictions while retaining shared kinetics.

Automatically introducing cell-line-specific kinetic parameters should remain a separate modeling decision.

Suggested acceptance criteria

  • A synthetic example with shared kinetics and different protein totals reproduces an equivalent manually configured joint fit and predicts an excluded cell line.
  • Automated checks verify that withheld response measurements do not enter training or observation-scale estimation.
  • Initialization and unit conversions are demonstrated and checked, including protein totals distributed across multiple molecular species.
  • A worked biological example documents input tables, fitting, prediction, validation, and interpretation of failures.
  • Existing single-cell-line workflows continue to work unchanged.

Established precedent

A relevant precedent is Fröhlich et al., Efficient Parameter Estimation Enables the Prediction of Drug Response Using a Mechanistic Pan-Cancer Pathway Model (2018), which combines shared kinetics with cell-line-specific expression and mutation context and evaluates predictions on withheld cell lines.

The proposed PyBNF workflow would support the related use case of directly measured protein abundances.

主要言語
Python
スター
26
フォーク
25
平均マージ
4時間 25分
マージ済み PR(30日)
9

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

lanl/PyBNF のほかの issue

lanl/PyBNF の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。