Add JSONB distributions column and batch retrieval for genomicdist#110
Open
sanghoonio wants to merge 3 commits intomasterfrom
Open
Add JSONB distributions column and batch retrieval for genomicdist#110sanghoonio wants to merge 3 commits intomasterfrom
sanghoonio wants to merge 3 commits intomasterfrom
Conversation
…pport Add a `distributions` JSONB column to `bed_stats` for storing full distribution arrays from gtars genomicdist output. Filter bedset statistics aggregation to only numeric columns so AVG/STDDEV skip the new JSONB field. Add `get_batch()` method for efficient multi-ID bed record retrieval. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Member
Author
|
Adding a nullable JSONB column is safe with a manual Also, didn't have the docker container set up to test fully. |
- Remove S3 upload calls from bed add/update paths; retain S3 delete for legacy object cleanup - Add aggregation module with collection-level stat computation - Replace BedSetPlots with BedSetStats backed by bedset_stats JSONB column - Remove _calculate_statistics and get_plots from bedsets - Add distributions JSONB column to Bed table with batch retrieval - Add get_batch and aggregate_collection to bedfile agent - Thread distributions param through get_stats Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
01f928b to
fccfca3
Compare
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a
distributionsJSONB column tobed_statsfor storing full distribution arrays from gtars genomicdist output. Filter bedset statistics aggregation to only numeric columns so AVG/STDDEV skip the new JSONB field. Addget_batch()method for efficient multi-ID bed record retrieval.Changes:
TODO:
__version__.pyfile