Skip to content

Commit ea56b77

Browse files
committed
Bugfix to lofreq VCF merge
1 parent 0dc5a73 commit ea56b77

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,11 @@ public void processFilesRemote(List<SequenceOutputFile> inputFiles, JobContext c
256256
//NOTE: deletions spanning this site can also be included, with a start position ahead of this.
257257
try (CloseableIterator<VariantContext> it = reader.query(site.getLeft(), site.getRight(), site.getRight()))
258258
{
259+
if (!it.hasNext())
260+
{
261+
continue;
262+
}
263+
259264
VariantContext vc = it.next();
260265
if (vc.getAttribute("AF") == null)
261266
{

0 commit comments

Comments
 (0)