Examples of SAMFileHeader


Examples of net.sf.samtools.SAMFileHeader

      // for (int i = readRecords.size() - 10; i < readRecords.size();
      // i++)
      // System.out.println(readRecords.get(i));

      time1 = System.nanoTime();
      SAMFileHeader header = Utils.cramHeader2SamHeader(cramHeader);
      List<SAMRecord> samRecords = convert(readRecords, header, null, seqName);
      for (SAMRecord r : samRecords)
        Utils.calculateMdAndNmTags(r, refBytes, true, true);
      time2 = System.nanoTime();
      System.out.printf("SAMRecords restored in in %.2f ms.\n", (time2 - time1) / 1000000f);
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.