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

Introduce GeneAnnotationIndex as an abstraction of RefGeneIndex #102

Merged
merged 3 commits into from
Jun 23, 2024

Conversation

k-kom
Copy link
Contributor

@k-kom k-kom commented Jun 19, 2024

Problem

Current implementation of varity.ref-gene/ref-genes only accepts RefGeneIndex as the index argument.
This behavior gives a client an unnecessary memory pressure when the client runs many varity processes, because varity doesn't give any means to off-load RefGeneIndex from the memory.

Solution

  • introduced GeneAnnotationIndex protocol as title says
  • and varity.ref-gene/ref-genes depends on it instead of RefGeneIndex

@k-kom k-kom self-assigned this Jun 19, 2024
@k-kom k-kom requested a review from federkasten June 19, 2024 10:06
Copy link
Member

@federkasten federkasten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🙆‍♂️ Thanks so much!

@federkasten federkasten merged commit a0971a0 into chrovis:master Jun 23, 2024
15 checks passed
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.

2 participants