Skip to content

Commit

Permalink
Allow VCF index creation for stream output.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwhite committed Jan 21, 2019
1 parent e16ca2a commit 2cc5c6d
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -476,9 +476,6 @@ else if (STREAM_TYPES.contains(this.outType))
writer = createBCFWriter(outPath, outStreamFromFile);
break;
case VCF_STREAM:
if (options.contains(Options.INDEX_ON_THE_FLY))
throw new IllegalArgumentException("VCF index creation not supported for stream output.");

writer = createVCFWriter(null, outStreamFromFile);
break;
case BCF_STREAM:
Expand Down

0 comments on commit 2cc5c6d

Please sign in to comment.