We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7b31b6 commit ffdfc6fCopy full SHA for ffdfc6f
SequenceAnalysis/src/org/labkey/sequenceanalysis/ScatterGatherUtils.java
@@ -54,6 +54,17 @@ public static void possiblyCacheSupportFiles(SequenceOutputHandler.JobContext ct
54
try
55
{
56
FileUtils.copyFile(inputFile, localCopy);
57
+ if (inputFile.getPath().toLowerCase().endsWith("vcf.gz"))
58
+ {
59
+ File inputFileIdx = new File(inputFile.getPath() + ".tbi");
60
+ File localCopyIdx = new File(ScatterGatherUtils.getLocalCopyDir(ctx, true), inputFile.getName() + ".tbi");
61
+ if (!inputFileIdx.exists())
62
63
+ throw new PipelineJobException("Unable to find file: " + inputFileIdx.getPath());
64
+ }
65
+
66
+ FileUtils.copyFile(inputFileIdx, localCopyIdx);
67
68
FileUtils.touch(doneFile);
69
}
70
catch (IOException e)
0 commit comments