Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating multiple perturbations #23

Open
kthobe opened this issue Feb 24, 2021 · 4 comments
Open

Creating multiple perturbations #23

kthobe opened this issue Feb 24, 2021 · 4 comments

Comments

@kthobe
Copy link

kthobe commented Feb 24, 2021

Hi Aurelien,
I want to use your tool to test a lot of perturbations (mostly more than one at a time) on my model. One perturbation worked fine for me, but double doesn't, it just gives me the unperturbed attractors. So when I say "A%1" that works, but "A%1,B%1" even A and B are not restricted.
I noticed that your example in the colomoto notebook "bioLQM_tutorial.ipynb" does the same thing, when you set "CycD%1" it only gives you the cyclic attractor with CycD=1, but if you do the combination "CycD%1,Rb%1" you get your original unperturbed attractors.

What does work is redefining the model twice:
pert = biolqm.perturbation(model, "A%1")
pert2 = biolqm.perturbation(pert, "B%1")

But that would be much more complicated, when trying to automate testing for > 100 perturbations with varying numbers of alterations.

Cheers, Kirsten

@aurelien-naldi
Copy link
Contributor

Hi Kirsten,
it's a typo in the example notebook: it should work if you separate the multiple perturbations with a space instead of a comma

I will fix the notebook and make it work with both.

@kthobe
Copy link
Author

kthobe commented Feb 24, 2021 via email

@pauleve
Copy link
Contributor

pauleve commented Mar 29, 2021

@aurelien-naldi any hope to fix the notebook for the next release on the 1st?

@aurelien-naldi
Copy link
Contributor

Thanks for the ping! I fixed the notebook, but the change in the code will wait until the next release (which will enable documentation support in bioLQM).

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

No branches or pull requests

3 participants