public char getFirstBase(Allele allele) { byte[] bases = allele.getBases(); if (bases.length > 0) { return (char) bases[0]; } else { return '.'; } }