Ensembl / ensembl-vep

The Ensembl Variant Effect Predictor predicts the functional effects of genomic variants
https://www.ensembl.org/vep
Apache License 2.0
437 stars 149 forks source link

Fix SV warnings for short variants in `region` format #1618

Closed nuno-agostinho closed 4 months ago

nuno-agostinho commented 4 months ago

Fixes #1617: when inputting short variants in region format, VEP prints a warning message:

WARNING: line 1 skipped (12:9079672-9079672:C): C type is not supported

Also, unknown SV types in region format are incorrectly returned with no warning.

Changelog

This PR does the following:

Testing

Ensure that running VEP with the following variants works without warnings[^1]:

12:9079672-9079672:C
12:9079672-9079672:DUP
12:9079672-9079672:INS:ME
12:9079672-9079672:INS:ME:LINE1

Ensure that running VEP with the following variants does not print output (only warnings):

12:9079672-9079672:RANDOM
12:9079672-9079672:DELTEST

[^1]: The last two examples require https://github.com/Ensembl/ensembl-variation/pull/1071

olaaustine commented 4 months ago

Merged into main and release/112