public static double phred(double error){
  return -10 * Math.log10(error);
}

public static double phred ( double error ) { return - 10 * Math . log10 ( error ) ; }
get a phred - scaled quality value corresponding to the supplied error rate .
