public PhaseAndQuality(Genotype gt) { this.isPhased = gt.isPhased(); if (this.isPhased) { this.PQ = gt.getAttributeAsDouble(ReadBackedPhasingWalker.PQ_KEY, -1); if (this.PQ == -1) this.PQ = null; } }