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

Collection-slice prototype #95

Closed
johnkerl opened this issue May 19, 2022 · 1 comment
Closed

Collection-slice prototype #95

johnkerl opened this issue May 19, 2022 · 1 comment
Assignees

Comments

@johnkerl
Copy link
Member

johnkerl commented May 19, 2022

This is a Python-only implementation of SOMA-collection queries like this:

  • Dimension-slicing queries:
    • obs_id = b"AGATCTCTATCACG-1"
    • var_id = b"RP11-178G16.4"
    • obs_id = b"HIP002.1512" and var_id = b"RP11-178G16.4"
  • Attribute-filter queries:
    • cell_type == "B cell" and feature_name == "MT-CO3"

Such queries will have an optimized implementation in C++ in this repo (cc @gspowley and @ihnorton).

Meanwhile:

  • A Python-only implementation gives a lower bound for performance measurement.
  • It also serves as a guide for the C++ implementation, so that results may be compared side-by-side.
  • Methods implemented here for implementing the prototype, and for doing the kinds of data-exploration to find the examples values of obs_id, var_id, cell_type, and feature_name as shown above, are themselves dogfooding for the SOMA/SOCO API: methods useful for exploring/querying data during prototype development are some of those likely to be useful for users exploring/querying data as well.
@johnkerl
Copy link
Member Author

This is now folded into the greater narrative at #113.

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

1 participant