Skip to content

Add back filter support and add support for --list-partitions with intervals, --list-fields and --attributes from genomicsdb_query#71

Merged
nalinigans merged 8 commits intodevelopfrom
ng_ucla
Jan 6, 2025
Merged

Add back filter support and add support for --list-partitions with intervals, --list-fields and --attributes from genomicsdb_query#71
nalinigans merged 8 commits intodevelopfrom
ng_ucla

Conversation

@nalinigans
Copy link
Member

@nalinigans nalinigans commented Dec 29, 2024

Fixes and new support:

  1. Missed adding filter in the refactoring for multiprocessing
  2. Support --list-partitions with -i/I specified
  3. Sanity check vidmap json, modify error processing
  4. Support listing and passing fields/atrributes as argument to genomicsdb_query

@nalinigans nalinigans changed the base branch from master to develop December 29, 2024 20:33
@nalinigans nalinigans changed the title Add back filter support and add support for --list-partitions with intervals Add back filter support and add support for --list-partitions with intervals, --list-fields and --attributes from genomicsdb_query Jan 3, 2025
@nalinigans nalinigans requested a review from mlathara January 5, 2025 17:28
Copy link
Member

@mlathara mlathara left a comment

Choose a reason for hiding this comment

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

minor comment, lgtm

if isinstance(contig, str): # Old style vidmap json
contig_name = contig
contigs_map[contig] = {
contig_elem = {
Copy link
Member

Choose a reason for hiding this comment

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

We may not need this, but doesn't contig_elem also have a name in the vcf2genomicsdb_init case?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, it does in the vcf2genomicsdb_init case, but are really ignoring as the contigs map is a dict for faster lookup.

@nalinigans nalinigans merged commit 496865e into develop Jan 6, 2025
8 checks passed
@nalinigans nalinigans deleted the ng_ucla branch January 6, 2025 20:04
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