Gravar-mail: Hardy-Weinberg equilibrium revisited for inferences on genotypes featuring allele and copy-number variations