EBIvariation / vcf-validator

Validation suite for Variant Call Format (VCF) files, implemented using C++11
Apache License 2.0
130 stars 39 forks source link

Add functionality to check that predefined tags in data lines match the VCF spec #74

Closed Anishka0107 closed 7 years ago

Anishka0107 commented 7 years ago

Added check to ensure predefined FORMAT tags in data lines which haven't been defined in the meta header specification, match the Type and Number specified in the VCF spec. Would go through each subfield in each sample field and throw error in a manner similar to INFO predefined tags for inconsistencies. Also fixed breaking tests. A few tests which were originally passing, threw errors because the predefined FORMAT tags didn't match the spec, so changed those values to ensure these files pass the test. Added new strict validation checks for FORMAT tags. Added new strict validation checks for SV related tags.