Currently only supports VEP annotated VCFs and will raise the following error on a non VEP annotated VCF being passed:
AssertionError:
Error in splitting VCF with bcftools +split-vep. VCF: 38_test_input_myeloid.vcf
Exitcode:255
The tag INFO/CSQ not found in the header
Failed to read from standard input: unknown file type
Can add a check to vcf.bcftools_preprocess() to call vcf.parse_header() and check if ##INFO=<ID=CSQ is present (and also if it has already been split with bcftools +split-vep).
This would also allow skipping this and should allow handling non-VEP annotated / unannotated VCFs but would require testing
Currently only supports VEP annotated VCFs and will raise the following error on a non VEP annotated VCF being passed:
Can add a check to
vcf.bcftools_preprocess()
to callvcf.parse_header()
and check if##INFO=<ID=CSQ
is present (and also if it has already been split withbcftools +split-vep
).This would also allow skipping this and should allow handling non-VEP annotated / unannotated VCFs but would require testing