Open grosscol opened 1 year ago
Reading vcfs into mongo backing data will throw errors if newer version of VEP is used with consequences that are not enumerated in snv_consequence2code: https://github.com/statgen/bravo_api/blob/7a52032ae05cf03dfd67a9eba240963d0a5db4bc/bravo_api/models/readers.py#L49-L86
snv_consequence2code
The error will crop up here: https://github.com/statgen/bravo_api/blob/7a52032ae05cf03dfd67a9eba240963d0a5db4bc/bravo_api/models/readers.py#L103
A graceful method of handling consequences is implemented and demonstrated functioning with unit tests.
Issue or current state
Reading vcfs into mongo backing data will throw errors if newer version of VEP is used with consequences that are not enumerated in
snv_consequence2code
: https://github.com/statgen/bravo_api/blob/7a52032ae05cf03dfd67a9eba240963d0a5db4bc/bravo_api/models/readers.py#L49-L86The error will crop up here: https://github.com/statgen/bravo_api/blob/7a52032ae05cf03dfd67a9eba240963d0a5db4bc/bravo_api/models/readers.py#L103
Resolved when
A graceful method of handling consequences is implemented and demonstrated functioning with unit tests.