Changeset 3802
- Timestamp:
- May 12, 2019, 6:31:06 AM (4 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/pileup.cc
r3801 r3802 158 158 Pileup<BamReadIterator>::const_reverse_iterator rend = pileup.rend(); 159 159 std::distance(pileup.rbegin(), rend); 160 pileup.size(); 160 161 } 161 162 -
trunk/yat/omic/Pileup.h
r3801 r3802 210 210 */ 211 211 void increment(void); 212 213 /** 214 \return number of reads in pileup. Reads with a deletion of the 215 current position is also counted. 216 217 \since new in yat 0.17 218 */ 219 size_t size(void) const; 212 220 213 221 /** … … 380 388 381 389 template<typename Iterator> 390 size_t Pileup<Iterator>::size(void) const 391 { 392 return data_.size(); 393 } 394 395 396 template<typename Iterator> 382 397 Pileup<Iterator>::Entry::Entry(const BamRead& b) 383 398 : bam_(new BamRead(b)), qpos_(0), cigar_(bam_->cigar()), skip_(0)
Note: See TracChangeset
for help on using the changeset viewer.