Skip to content

Commit 02e696e

Browse files
committed
Bugfix to GatherVcfsCloud
1 parent 474d362 commit 02e696e

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import org.apache.logging.log4j.Logger;
44
import org.labkey.api.pipeline.PipelineJobException;
5+
import org.labkey.api.sequenceanalysis.SequenceAnalysisService;
56
import org.labkey.api.sequenceanalysis.run.AbstractGatk4Wrapper;
67
import org.labkey.api.writer.PrintWriters;
78

@@ -40,5 +41,14 @@ public void gatherVcfs(File output, List<File> inputVcfs) throws PipelineJobExce
4041
execute(args);
4142

4243
argFile.delete();
44+
45+
try
46+
{
47+
SequenceAnalysisService.get().ensureVcfIndex(output, getLogger());
48+
}
49+
catch (IOException e)
50+
{
51+
throw new PipelineJobException(e);
52+
}
4353
}
4454
}

SequenceAnalysis/src/org/labkey/sequenceanalysis/util/SequenceUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ public static File combineVcfs(List<File> files, ReferenceGenome genome, File ou
480480
File idx = new File(outputGzip.getPath() + ".tbi");
481481
if (!idx.exists())
482482
{
483-
throw new PipelineJobException("Unable to find output: " + idx.getPath());
483+
throw new PipelineJobException("Unable to find index: " + idx.getPath());
484484
}
485485

486486
if (showTotals)

0 commit comments

Comments
 (0)