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

Đang mở
#1,050 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
data

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
26
Fork
25
Merge trung bình
4 giờ 25 phút
Pull request đã merge (30 ngày)
9

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của lanl/PyBNF

Tất cả issue của lanl/PyBNF

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.