Skip to content

Commit e069559

Browse files
committed
Support SVType annotation
1 parent e084086 commit e069559

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
@@ -55,6 +55,9 @@ public Provider()
5555
ToolParameterDescriptor.create("excessHet", "ExcessHet", "If selected, the ExcessHet annotation will run.", "checkbox", new JSONObject(){{
5656
put("checked", false);
5757
}}, null),
58+
ToolParameterDescriptor.create("svtype", "SVType", "If selected, the SVType annotation will run.", "checkbox", new JSONObject(){{
59+
put("checked", false);
60+
}}, null),
5861
new PedigreeToolParameterDescriptor()
5962
), PageFlowUtil.set(PedigreeToolParameterDescriptor.getClientDependencyPath()), "");
6063
}
@@ -119,6 +122,12 @@ public Output processVariants(File inputVCF, File outputDirectory, ReferenceGeno
119122
options.add("ExcessHet");
120123
}
121124

125+
if (getProvider().getParameterByName("svtype").extractValue(getPipelineCtx().getJob(), getProvider(), getStepIdx(), Boolean.class, false))
126+
{
127+
options.add("-A");
128+
options.add("SVType");
129+
}
130+
122131
if (intervals != null)
123132
{
124133
intervals.forEach(interval -> {

0 commit comments

Comments
 (0)