X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fext%2Fhtsjdk%2FVCFReader.java;h=176b21dec490ab5d3239d09f00f46131a96fb2a4;hb=57738a1f3c19b1c3a00bd3ac5108f8cd0af32f99;hp=e91164a1d4e448de0564c0c8ae9d853387937b5d;hpb=e7338a61f3ce96dadf44ac80b2b32cc5ba4b94c8;p=jalview.git diff --git a/src/jalview/ext/htsjdk/VCFReader.java b/src/jalview/ext/htsjdk/VCFReader.java index e91164a..176b21d 100644 --- a/src/jalview/ext/htsjdk/VCFReader.java +++ b/src/jalview/ext/htsjdk/VCFReader.java @@ -47,10 +47,12 @@ public class VCFReader implements Closeable, Iterable private VCFFileReader reader; /** - * Constructor given a raw or compressed VCF file or a (csi or tabix) index file + * Constructor given a raw or compressed VCF file or a (csi or tabix) index + * file *

- * If the file path ends in ".tbi" or ".csi", or appending one of these - * extensions gives a valid file path, open as indexed, else as unindexed. + * If the file path ends in ".tbi" or ".csi", or appending one of + * these extensions gives a valid file path, open as indexed, else as + * unindexed. * * @param f * @throws IOException @@ -153,7 +155,7 @@ public class VCFReader implements Closeable, Iterable final String chrom, final int start, final int end) { final CloseableIterator it = reader.iterator(); - + return new CloseableIterator() { boolean atEnd = false;