Examples of adjustBlock()


Examples of net.sf.cram.stats.CramStats.adjustBlock()

    CramStats stats = new CramStats(cramHeader, null);
    for (CramRecord record : records)
      stats.addRecord(record);

    CramRecordBlock crBlock = new CramRecordBlock();
    stats.adjustBlock(crBlock);
    crBlock.setSequenceName("20");
    crBlock.setRecordCount(records.size());

    ByteArrayOutputStream bhBAOS = new ByteArrayOutputStream();
    CramRecordBlockWriter w = new CramRecordBlockWriter(bhBAOS);
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.