Closed damianosmel closed 5 months ago
This is correct in VCF 4.2: The relevant text in Section 3 says:
##INFO=<ID=SVLEN,Number=.,Type=Integer,Description="Difference in length between REF and ALT alleles">
One value for each ALT allele. Longer ALT alleles (e.g. insertions) have positive values, shorter ALT alleles (e.g. deletions) have negative values.
Note that the definition of SVLEN is part of the Specification and as such cannot be altered by the tools outputting the VCF which is why the validator is rather strict here.
Note that the definition of SVLEN is changing in VCF 4.4 where <DEL>
SVLEN have to be positive.
Dear developing team,
First, thanks for developing this suite to validate VCF files.
My question comes from running the
vcf_validator_linux
(v0.9.5) on a VCF with deletions. The validator fails and it states in the log output:However in the VCFv4.2 specifications, when the SVLEN is discussed it is stated:
However, it's not stated if this is a mandatory feature.
The relevant lines are:
The shown variant is the first one having such 'problem' with the SVLEN and it is on the line 130 of VCF.
Looking forward to your ideas on how to solve this error for the
vcf_validator_linux
.Many thanks! Damianos