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

Consolidate cells and guides #63

Open
tlnagy opened this issue Apr 21, 2023 · 0 comments
Open

Consolidate cells and guides #63

tlnagy opened this issue Apr 21, 2023 · 0 comments

Comments

@tlnagy
Copy link
Owner

tlnagy commented Apr 21, 2023

Currently, when writing custom simulations, you're having to keep track of both cells and and their phenotypes separately and similarly keep track of guides and their frequencies separately. For easy of use and clarity it might help to consolidate them by introducing the following new structs:

  • GuidePool: Represents an instantiated pool of guides constructed from a Library, which includes the Barcode structs and their relative frequencies in the pool. Should be parameterized on CRISPR type
    • rand: should randomly instantiate a cell from the guide pool with a specific phenotype aka what build_cell currently does.
  • Cell: Encapsulates both the guide ID (or a pointer to the actual guide) and the instantiated phenotype for this specific cell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant