epam / fonda

Fonda is a framework which offers scalable and automatic analysis of multiple NGS sequencing data types
Apache License 2.0
8 stars 3 forks source link

SnpEff annotation step: `vcf_snpeff_annotation.py` script fails with EOFError #141

Open kamyshova opened 4 years ago

kamyshova commented 4 years ago

Background

In SnpEff annotation workflow step, a src/python/vcf_snpeff_annotation.py script is used to annotate the consequence of the variants. If the input VCF file doesn’t have a ‘PASS’ variants the vcf_snpeff_annotation.py script fails with EOFError (input VCF file is empty). Although this error doesn't affect the overall execution of the workflow, the error output file will contain this error.

Approach

It might be worthwhile to anticipate this behavior and add validation to the script.