Merged bug fix from Stable into Unstable
This commit is contained in:
commit
93ffca1e3a
|
|
@ -253,7 +253,7 @@ public class UnifiedGenotyperEngine {
|
||||||
VariantContext vcInput = UnifiedGenotyperEngine.getVCFromAllelesRod(tracker, ref, rawContext.getLocation(), false, logger, UAC.alleles);
|
VariantContext vcInput = UnifiedGenotyperEngine.getVCFromAllelesRod(tracker, ref, rawContext.getLocation(), false, logger, UAC.alleles);
|
||||||
if ( vcInput == null )
|
if ( vcInput == null )
|
||||||
return null;
|
return null;
|
||||||
vc = new VariantContextBuilder(vcInput).source("UG_call").noID().referenceBaseForIndel(ref.getBase()).make();
|
vc = new VariantContextBuilder(vcInput).source("UG_call").noID().referenceBaseForIndel(ref.getBase()).attributes(new HashMap<String, Object>()).make();
|
||||||
} else {
|
} else {
|
||||||
// deal with bad/non-standard reference bases
|
// deal with bad/non-standard reference bases
|
||||||
if ( !Allele.acceptableAlleleBases(new byte[]{ref.getBase()}) )
|
if ( !Allele.acceptableAlleleBases(new byte[]{ref.getBase()}) )
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue