Package net.sf.samtools

Examples of net.sf.samtools.SAMRecord.clearAttributes()


      // Using a static variable because contigs may overlap multiple regions and cause dupes
      chunk.setReadName(chunk.getReadName() + "_" + chunkIdx++);
      chunk.setAlignmentStart(actualPos + calcIndelOffset(startIdx, contig.getCigar()));
      chunk.setCigar(cigar);
      chunk.setReadString(bases);
      chunk.clearAttributes();
//      chunk.setAttribute("ZZ", contig.getCigarString());
     
      chunk.setAttribute("ZZ", contig.getReferenceName() + ":" + contig.getAlignmentStart() +
          ":" + contig.getCigarString());
     
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.