Fix to allow haplotype caller to call indels after UG engine entry points were unified. Adding Haplotype Caller integration test
This commit is contained in:
parent
7a386b45a5
commit
7fa1ab1bae
|
|
@ -371,8 +371,11 @@ public class UnifiedGenotyperEngine {
|
||||||
builder.log10PError(phredScaledConfidence/-10.0);
|
builder.log10PError(phredScaledConfidence/-10.0);
|
||||||
if ( ! passesCallThreshold(phredScaledConfidence) )
|
if ( ! passesCallThreshold(phredScaledConfidence) )
|
||||||
builder.filters(filter);
|
builder.filters(filter);
|
||||||
if ( !limitedContext )
|
if ( limitedContext ) {
|
||||||
|
builder.referenceBaseForIndel(vc.getReferenceBaseForIndel());
|
||||||
|
} else {
|
||||||
builder.referenceBaseForIndel(refContext.getBase());
|
builder.referenceBaseForIndel(refContext.getBase());
|
||||||
|
}
|
||||||
|
|
||||||
// create the genotypes
|
// create the genotypes
|
||||||
GenotypesContext genotypes = assignGenotypes(vc, altAllelesToUse);
|
GenotypesContext genotypes = assignGenotypes(vc, altAllelesToUse);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue