actually modify the vcf when a sample has been down-sampled
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4150 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
c6441b585a
commit
7a5f297083
|
|
@ -202,7 +202,7 @@ public class UnifiedGenotyperEngine {
|
||||||
if ( rawContext.hasPileupBeenDownsampled() ) {
|
if ( rawContext.hasPileupBeenDownsampled() ) {
|
||||||
Map<String, Object> attrs = new HashMap<String, Object>(call.vc.getAttributes());
|
Map<String, Object> attrs = new HashMap<String, Object>(call.vc.getAttributes());
|
||||||
attrs.put(VCFConstants.DOWNSAMPLED_KEY, true);
|
attrs.put(VCFConstants.DOWNSAMPLED_KEY, true);
|
||||||
VariantContextUtils.modifyAttributes(call.vc, attrs);
|
call.vc = VariantContextUtils.modifyAttributes(call.vc, attrs);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return call;
|
return call;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue