Examples of BAMIndexer


Examples of net.sf.samtools.BAMIndexer

            "Input bam file must be sorted by coordinates");
      }

      File indexFile = new File(params.inputFile.getAbsolutePath()
          + ".bai");
      BAMIndexer indexer = new BAMIndexer(indexFile,
          reader.getFileHeader());
      for (SAMRecord record : reader) {
        indexer.processAlignment(record);
      }
      indexer.finish();
      reader.close();
    }

  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.