Bugfix for set key in mergeInfoWithMaxAC.
-- Previous version was always setting set=source of info with highest AC. Should actually have been set to the set annotation value itself.
This commit is contained in:
parent
91f0ed8059
commit
66aee613e2
|
|
@ -644,7 +644,9 @@ public class VariantContextUtils {
|
|||
|
||||
if ( setKey != null ) {
|
||||
attributes.put(setKey, setValue);
|
||||
if( mergeInfoWithMaxAC && vcWithMaxAC != null ) { attributesWithMaxAC.put(setKey, vcWithMaxAC.getSource()); }
|
||||
if( mergeInfoWithMaxAC && vcWithMaxAC != null ) {
|
||||
attributesWithMaxAC.put(setKey, setValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue