sum.nBasesCalledConfidently += value.confidentlyCalled ? 1 : 0;
if ( value.genotypes == null ||
(UAC.genotypeModel != GenotypeCalculationModel.Model.POOLED && value.genotypes.size() == 0) ) {
return sum;
}
<BUG>if ( value.variation == null || (!writer.supportsMultiSample() && UG_args.samples.size() <= 1) ) {
</BUG>
writer.addGenotypeCall(value.genotypes.get(0));
}
else {

sum.nBasesCalledConfidently += value.confidentlyCalled ? 1 : 0;
if ( value.genotypes == null ||
(UAC.genotypeModel != GenotypeCalculationModel.Model.POOLED && value.genotypes.size() == 0) ) {
return sum;
}
if ( value.variation == null || (!writer.supportsMultiSample() && UG_engine.samples.size() <= 1) ) {
writer.addGenotypeCall(value.genotypes.get(0));
}
else {
