Skip to content

Commit 1639340

Browse files
committed
Add intermediate file for cleanup
1 parent 1db7663 commit 1639340

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,9 @@ public void liftOverVcf(JobContext ctx, ReferenceGenome targetGenome, ReferenceG
342342

343343
SelectVariantsWrapper wrapper = new SelectVariantsWrapper(job.getLogger());
344344
wrapper.execute(sourceGenome.getWorkingFastaFile(), currentVCF, outputFile, extraArgs);
345+
346+
ctx.getFileManager().addIntermediateFile(outputFile);
347+
ctx.getFileManager().addIntermediateFile(new File(outputFile.getPath() + ".tbi"));
345348
}
346349
currentVCF = outputFile;
347350

0 commit comments

Comments
 (0)