Skip to content

Commit a1d5a2c

Browse files
committed
Fix error in GenotypeGVCF intervals for scatter job
1 parent 947337a commit a1d5a2c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

SequenceAnalysis/src/org/labkey/sequenceanalysis/analysis/GenotypeGVCFHandler.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ private void processOneInput(JobContext ctx, PipelineJob job, ReferenceGenome ge
692692
if (intervals.size() > 5)
693693
{
694694
ctx.getLogger().debug("Too many intervals, writing to file");
695-
File intervalFile = new File(outputVcf.getParentFile(), "intervals.list");
695+
File intervalFile = new File(outputVcf.getParentFile(), "genotypeIntervals.list");
696696
ctx.getFileManager().addIntermediateFile(intervalFile);
697697
try (PrintWriter writer = PrintWriters.getPrintWriter(intervalFile))
698698
{
@@ -704,6 +704,9 @@ private void processOneInput(JobContext ctx, PipelineJob job, ReferenceGenome ge
704704
{
705705
throw new PipelineJobException(e);
706706
}
707+
708+
toolParams.add("-L");
709+
toolParams.add(intervalFile.getPath());
707710
}
708711
else
709712
{

0 commit comments

Comments
 (0)