public static VcfHeader header ( final File file ) throws IOException { checkNotNull ( file ) ; // could also use Files.asCharSource(file, Charsets.UTF_8).openBufferedStream() try ( BufferedReader reader = new BufferedReader ( new FileReader ( file ) ) ) { return header ( reader ) ; } }
Read the VCF header from the specified file .