Report only highest AF and AC in multiallelic records in VariantsToTable or else R can't parse table
This commit is contained in:
parent
abe9480c6d
commit
fac082de64
|
|
@ -170,7 +170,7 @@ public class VariantsToTable extends RodWalker<Integer, Integer> {
|
||||||
throw new UserException(String.format("Missing field %s in vc %s at %s", field, vc.getSource(), vc));
|
throw new UserException(String.format("Missing field %s in vc %s at %s", field, vc.getSource(), vc));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (field.equals("AF")) {
|
if (field.equals("AF") || field.equals("AC")) {
|
||||||
String afo = val;
|
String afo = val;
|
||||||
|
|
||||||
double af=0;
|
double af=0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue