variant calling for diploids and triploids