Ignore:
Timestamp:
May 12, 2019, 6:31:06 AM (2 months ago)
Author:
Peter
Message:

closes #918. implement function Pileup::size

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/omic/Pileup.h

    r3801 r3802  
    210210     */
    211211    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;
    212220
    213221    /**
     
    380388
    381389  template<typename Iterator>
     390  size_t Pileup<Iterator>::size(void) const
     391  {
     392    return data_.size();
     393  }
     394
     395
     396  template<typename Iterator>
    382397  Pileup<Iterator>::Entry::Entry(const BamRead& b)
    383398    : bam_(new BamRead(b)), qpos_(0), cigar_(bam_->cigar()), skip_(0)
Note: See TracChangeset for help on using the changeset viewer.