Skip to content

Combining intracellular models with a single model#415

Open
vincent-noel wants to merge 15 commits intoMathCancer:developmentfrom
vincent-noel:feat/intracellulars
Open

Combining intracellular models with a single model#415
vincent-noel wants to merge 15 commits intoMathCancer:developmentfrom
vincent-noel:feat/intracellulars

Conversation

@vincent-noel
Copy link
Copy Markdown
Collaborator

Hi all !

This is a PR on something I've been thinking about for some time: the possibility of having multiple types of intracellular models, and to have them interact. To achieve this, we need to modify a bit the implementation of Intracellular, mainly to change the variable in Phenotype, from an Intracellular pointer to a vector of Intracellular pointers.

This leads to a few more changes, such as having the pre/post intracellular update function belonging to the Intracellular object, and to add the Intracellular to a few method parameters (to be sure to have the "good" one).

Here I'm providing a quick example I build in the last days, which has an SBML ODE model for the TNF receptor binding and endocytosis and a Boolean model for the cell fate. To build it, use make spheroid_tnf.

For the ODE model, I'm using what I think is the latest implementation of roadrunner, based on #362 and #406. I had to modify a few things, such as introducing the Intracellular* parameter in many places, and I also changed the way the species values are modified before the update. So before thinking about merging this, we should focus on #362 and #406, and I can make a separate PR to have my changes too.

I am also working on example using the latest version of dFBA which is being developed at BSC by @marcorusc and @migp11, but I'll wait for them to submit their PR.

Let me know what you think !

@vincent-noel vincent-noel changed the base branch from master to development March 31, 2026 20:00
@vincent-noel vincent-noel force-pushed the feat/intracellulars branch from 742e7ae to 90d4278 Compare April 1, 2026 01:19
@drbergman
Copy link
Copy Markdown
Collaborator

I think this is really cool! We should have a conversation around next updates to Intracellular together since, as you pointed out, this interacts in non-trivial ways with other open PRs. This feels like a use-case for a GitHub project...

@migp11
Copy link
Copy Markdown

migp11 commented Apr 1, 2026

This sounds great! Together with @marcorusc and @othmya, we are finishing the physicell-dfba paper, which includes several different use cases that can be
@vincent-noel have you reimplemented the TNF receptor model in SBML from this publication?

@vincent-noel
Copy link
Copy Markdown
Collaborator Author

@migp11 Indeed, this is your TNF receptor model. That was the simplest example I could think of, and it worked.

About the AGS model, that's a nice idea. I have some reading to do, and then let's talk about this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants