Skip to content

Commit 52ecb8a

Browse files
committed
Add sorting to PBSV merge, since translocations can produce an out-of-order VCF
1 parent 217b078 commit 52ecb8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SequenceAnalysis/src/org/labkey/sequenceanalysis/run/analysis/PbsvJointCallingHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ public void processFilesRemote(List<SequenceOutputFile> inputFiles, JobContext c
178178
ctx.getFileManager().addIntermediateFile(f);
179179
ctx.getFileManager().addIntermediateFile(SequenceAnalysisService.get().ensureVcfIndex(f, ctx.getLogger(), false));
180180
}
181-
vcfOutGz = SequenceUtil.combineVcfs(outputs, genome, new File(ctx.getOutputDir(), outputBaseName + ".vcf.gz"), ctx.getLogger(), true, null, false);
181+
vcfOutGz = SequenceUtil.combineVcfs(outputs, genome, new File(ctx.getOutputDir(), outputBaseName + ".vcf.gz"), ctx.getLogger(), true, null, false, true);
182182

183183
// NOTE: the resulting file can be out of order due to translocations
184184
SequenceUtil.sortROD(vcfOutGz, ctx.getLogger(), 2);

0 commit comments

Comments
 (0)