Skip to content

Commit 1f5f4ce

Browse files
committed
Bugfix to merge lofreq VCFs
1 parent e44e027 commit 1f5f4ce

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,13 @@ public void processFilesRemote(List<SequenceOutputFile> inputFiles, JobContext c
256256
continue;
257257
}
258258

259+
if (vc.getStart() > site.getRight())
260+
{
261+
ctx.getLogger().error("Site located after start: " + site.getRight());
262+
ctx.getLogger().error(vc.toStringWithoutGenotypes());
263+
ctx.getLogger().error(so.getFile().getPath());
264+
}
265+
259266
//NOTE: the start position of this SiteAndAlleles might differ from the VC
260267
siteToAllele.get(key).addSite(vc);
261268
}

0 commit comments

Comments
 (0)