Clinical-Genomics / genmod

Annotate models of genetic inheritance patterns in variant files (vcf files)
http://Clinical-Genomics.github.io/genmod/
MIT License
78 stars 19 forks source link

Error occurs if one or more variants in vep annotated VCF lacks VEP annotation when running with --vep #105

Closed bartcharbon closed 1 month ago

bartcharbon commented 3 years ago

We run Genmod models wit the --vep option.

If the input file in annotated with VEP but one or more lines are missing the CSQ INFO field, Genmod throws an error and aborts: WARNING : genmod.commands.annotate_models: 'CSQ' Aborted!

I understnad that Genmod cannot fully function without the annotation, but it would be nice if this were a warning, so that the other lines in the file can be processed by Genmod

moonso commented 3 years ago

hmm I have to think about this. Since genmod is centered around that variants belong to certain regions I think it is good that it exits if the user says that they are annotated by VEP and then some variants are not. Have you tried to use the genmod annotate regions command and then annotate models without VEP?

dnil commented 1 month ago

This has gotten a bit stale. Closing for now, as we see you have also closed your issues, but do ping if it is still an issue for you!