Package net.sf.cram.encoding.factory

Examples of net.sf.cram.encoding.factory.RecordCodecFactory


  }

  public static CramRecordCodec buildCodec(CramHeader cramHeader, CramRecordBlock crBlock,
      SequenceBaseProvider provider) throws CramCompressionException {
    RecordCodecFactory rcf = new RecordCodecFactory();
    DefaultMutableTreeNode rootNode = rcf.buildCodecTree(cramHeader, crBlock, provider);
    uk.ac.ebi.ena.sra.cram.encoding.MeasuringCodec mCodec = (MeasuringCodec) rootNode.getUserObject();
    uk.ac.ebi.ena.sra.cram.encoding.CramRecordCodec crCodec = (uk.ac.ebi.ena.sra.cram.encoding.CramRecordCodec) mCodec
        .getDelegate();
    CramRecordCodec codec = new CramRecordCodec();
    codec.baseCodec = crCodec.baseCodec;
View Full Code Here

TOP

Related Classes of net.sf.cram.encoding.factory.RecordCodecFactory

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.