Open xiamaz opened 11 months ago
Currently the CaseUserAnnotatedVariantsAjaxView
provides most information needed for small variants, but it still needs alt-transcript information from mehari.
A similar endpoint providing all needed info, currently does not exist for SVs. Best place should be cases/views_api.py
for implementation. Pulling from mehari, might be considered, but should be discussed first and might need some changes to the mehari API to make it resonably performant.
We need to export Variant Information including Interpretation from Varfish into a database for bookkeeping and at some point for creation of reports.
This process is also currently used to create Clinvar uploads, at some point, this might be moved into Varfish, but for now a combined endpoint for all information could make this work reliably without a lot of additional work.
Requirements
The following information needs to be provided by the endpoint:
case comments
case phenotypes
case pedigree
Variant Position (assembly, chr, pos, ref, alt / begin end for structural variants)
Variant Comments
Variant Flags
Variant ACMG Classification (final shown value, override, computed, individually selected criteria)
Variant Call information for each person in pedigree
Annotation Information: Gene Name, Transcript (Refseq), HGVS_C, HGVS_P, preferably for MANE and alternative transcripts
Current status
Currently this info can be obtained from a number of separate endpoints:
These endpoints are partially internal and might be subject to change.
Proposed change
A new versioned API endpoint should be defined which allows for returning for a single varfish case all of the following information: