-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Feature description
functions.ingest_vcf has a stub for storing each CAF in the anyvlm DB:
AnyVLM/src/anyvlm/functions/ingest_vcf.py
Lines 87 to 96 in 48fed0a
| for batch in _yield_expression_af_batches(vcf): | |
| expressions, afs = zip(*batch, strict=True) | |
| variant_ids = av.put_allele_expressions(expressions, assembly) | |
| for variant_id, af in zip(variant_ids, afs, strict=True): # noqa: B007 | |
| if variant_id is None: | |
| continue | |
| # make call to object store method for putting CAF here | |
| # presumably build the CAF object here + call the insert method with it | |
| # may need to alter zip() if the insert method expects a full variation | |
| # instead of just the ID |
This needs to be replaced with CAF construction from those args + upload into DB
Use case
Using anyvlm
Acceptance Criteria
Given that an uploaded VCF has been decomposed into alleles + AF annotations, these data need to be reconstituted as CAFs and added to AnyVLM storage
Proposed solution
No response
Potential Impact
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request