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

handle maximum gene knockout #1

Open
Mzohrabi opened this issue Feb 17, 2020 · 1 comment
Open

handle maximum gene knockout #1

Mzohrabi opened this issue Feb 17, 2020 · 1 comment

Comments

@Mzohrabi
Copy link

Hi
I have a question about, how do you handle the number of gene deletion in mutation phase, if the number of deleted genes exceeding the maximum number that user defines

@Spherotob
Copy link
Owner

Hi Mzohrabi,
the number of deleted genes or reactions is always equal or less than the maximum number X. Less if a gene knockout occurs multiple times in a solution. Each solution, meaning a set of gene/reaction knockouts, is encoded in an binary format, so each of the X gene knockouts is encoded by a set of 0's and 1's. Only this binary is changed in the mutation phase. Thus, the number of knockouts stays the same.

I hope this (late) response is of help!
Best
Tobias

Spherotob added a commit that referenced this issue Aug 11, 2020
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

2 participants