}validate{x=>if(x.split(":").length==2&&Set("HET","HOM_REF","HOM_VAR","MIXED","NO_CALL","UNAVAILABLE").contains(x.split(":")(1)))successelsefailure("--mustHaveGenotype should be in this format: sample:genotype")
}text"Must have genotoype <genotype> for this sample. Genotype can be HET, HOM_REF, HOM_VAR, MIXED, NO_CALL and UNAVAILABLE"