Oops. I gave this method the wrong name first time around.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@283 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
9bbce32064
commit
b854c24575
|
|
@ -11,7 +11,7 @@ public class QualityUtils {
|
||||||
return (byte) Math.round(-10.0*Math.log10(1.0 - prob + 0.0001));
|
return (byte) Math.round(-10.0*Math.log10(1.0 - prob + 0.0001));
|
||||||
}
|
}
|
||||||
|
|
||||||
static public byte qualAndProbToCompressedQuality(int baseIndex, double prob) {
|
static public byte baseAndProbToCompressedQuality(int baseIndex, double prob) {
|
||||||
byte compressedQual = (byte) baseIndex;
|
byte compressedQual = (byte) baseIndex;
|
||||||
byte cprob = (byte) (100.0*prob);
|
byte cprob = (byte) (100.0*prob);
|
||||||
byte qualmask = (byte) 252;
|
byte qualmask = (byte) 252;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue