Skip to content

DIG-2080: find analysis date in vcf files#388

Merged
daisieh merged 11 commits intodevelopfrom
daisieh/vcf_date
Feb 3, 2026
Merged

DIG-2080: find analysis date in vcf files#388
daisieh merged 11 commits intodevelopfrom
daisieh/vcf_date

Conversation

@daisieh
Copy link
Member

@daisieh daisieh commented Jan 23, 2026

Add ability to look for a date in a vcf file. This is included as part of the /verify endpoint as well; if a vcf file does not have a date, it will return False for /verify.

When a variantfile's headers are indexed, the analysis_date will be saved in the variantfile table. This date is then saved as part of the metadata in the AnalysisDrsObject.

For previously-ingested files, an admin can run docker exec -it candigv2_htsget_1 python htsget_server/analysis_date.py on their instance to update any existing AnalysisDrsObjects. This script actually uses a different optimized query to find all dates in already-ingested headers.

Testing is in CanDIG/CanDIGv2#1240

@daisieh daisieh requested a review from OrdiNeu January 23, 2026 19:59
Copy link
Contributor

@OrdiNeu OrdiNeu left a comment

Choose a reason for hiding this comment

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

LGTM ✔️

@daisieh daisieh merged commit d1750f4 into develop Feb 3, 2026
1 check passed
@daisieh daisieh deleted the daisieh/vcf_date branch February 3, 2026 17:24
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