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

Add dot-product API #18

Merged
merged 1 commit into from
Oct 7, 2024
Merged

Add dot-product API #18

merged 1 commit into from
Oct 7, 2024

Conversation

dcdehaas
Copy link
Collaborator

@dcdehaas dcdehaas commented Oct 7, 2024

See the API documentation for details. This is a fast, simple way to perform computations on a GRG. Integrated with numpy. On a medium-sized GRG (600MB) this allows you to do allele frequency in 0.42 seconds instead of 48 seconds.

In the future, we may want to add these features:

  • Restrict to genome range
  • Restrict to sample subset
  • Compute multiple values via windows

See the API documentation for details. This is a fast, simple way
to perform computations on a GRG. Integrated with numpy. On a
medium-sized GRG (600MB) this allows you to do allele frequency in
0.42 seconds instead of 48 seconds.

In the future, we may want to add these features:
* Restrict to genome range
* Restrict to sample subset
* Compute multiple values via windows
@dcdehaas dcdehaas merged commit 055838b into main Oct 7, 2024
3 checks passed
@dcdehaas dcdehaas deleted the dot-prod-api branch October 7, 2024 19:43
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.

1 participant