Package htsjdk.variant.vcf

Examples of htsjdk.variant.vcf.VCFHeader


       
        IOUtil.assertFileIsReadable(INPUT);
        IOUtil.assertFileIsWritable(OUTPUT);

      final VCFFileReader reader = new VCFFileReader(INPUT, REQUIRE_INDEX);
      final VCFHeader header = new VCFHeader(reader.getFileHeader());
      final SAMSequenceDictionary sequenceDictionary = header.getSequenceDictionary();
      if (CREATE_INDEX && sequenceDictionary == null) {
        throw new PicardException("A sequence dictionary must be available in the input file when creating indexed output.");
      }

        final VariantContextWriterBuilder builder = new VariantContextWriterBuilder()
View Full Code Here

TOP

Related Classes of htsjdk.variant.vcf.VCFHeader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.