iossifovlab / gpf

GPF: Genotypes and Phenotypes in Families
MIT License
2 stars 0 forks source link

Vep tests #688

Closed IvoTod closed 1 month ago

IvoTod commented 1 month ago

Background

The VEP annotators were manually tested, due to relying on an external tool. We should unit tests for the VEP annotators.

Aim

Add unit tests for the VEP annotators.

Implementation

Both VEP annotators use a base class which covers almost all of their functionality. Their difference is mainly in the ways that they call VEP and use command line arguments. The VEP running has been split into a separate method, so that it can be mocked and unit tests have been added for all of the base class methods. A few issues were also found and fixed