Skip to content

Commit 519e0f6

Browse files
committed
Add support for ExcessHet
1 parent bd5230e commit 519e0f6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

SequenceAnalysis/src/org/labkey/sequenceanalysis/run/variant/VariantAnnotatorStep.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ public Provider()
4949
}}, null),
5050
ToolParameterDescriptor.create("impact", "IMPACT", "If selected, the Impact annotation will run, which parses the SnpEff ANN field into multiple discrete INFO fields.", "checkbox", new JSONObject(){{
5151
put("checked", false);
52+
}}, null),
53+
ToolParameterDescriptor.create("excessHet", "ExcessHet", "If selected, the ExcessHet annotation will run.", "checkbox", new JSONObject(){{
54+
put("checked", false);
5255
}}, null)
5356
), null, "");
5457
}
@@ -106,6 +109,12 @@ public Output processVariants(File inputVCF, File outputDirectory, ReferenceGeno
106109
options.add("Impact");
107110
}
108111

112+
if (getProvider().getParameterByName("excessHet").extractValue(getPipelineCtx().getJob(), getProvider(), getStepIdx(), Boolean.class, false))
113+
{
114+
options.add("-A");
115+
options.add("ExcessHet");
116+
}
117+
109118
if (intervals != null)
110119
{
111120
intervals.forEach(interval -> {

0 commit comments

Comments
 (0)