EBIvariation / vcf-validator

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

Warn if there were unused parameters #165

Closed jmmut closed 5 years ago

jmmut commented 5 years ago

In the (I hope) unlikely case that someone is using the parameters incorrectly and some parameters were not used, it would be nice to show a warning with the unused parameters:

$ ./vcf_validator -i a.vcf -r summary, text
[warn] unused parameters: "text"
srbcheema1 commented 5 years ago

could we also add one more check in check_options warning user if he provides multiple levels in single go, for example: $ ./vcf_validator -l error,stop,warning -i input.vcf

jmmut commented 5 years ago

well, in the case of several levels, it shows [error] Please choose one of the accepted validation levels and aborts, so I think it's fine.