yat  0.14.5pre
Public Member Functions | Friends | List of all members
theplu::yat::omic::Pileup< Iterator >::Entry Class Reference

#include <yat/omic/Pileup.h>

Public Member Functions

 Entry (void)
 default constructor
 
 Entry (const BamRead &b)
 
const BamReadbam (void) const
 
uint8_t cigar_op (void) const
 
uint32_t cigar_oplen (void) const
 
unsigned short qual (void) const
 
uint8_t sequence (void) const
 
void increment (void)
 
bool is_del (void) const
 
size_t qpos (void) const
 

Friends

class Pileup
 

Detailed Description

template<typename Iterator>
class theplu::yat::omic::Pileup< Iterator >::Entry

Essentially a BamRead but with additional information regarding base we currently pointing to

Constructor & Destructor Documentation

template<typename Iterator >
theplu::yat::omic::Pileup< Iterator >::Entry::Entry ( const BamRead b)

Create an Entry with read b. Entry is initialized to point to first aligned base (b.pos()).

Member Function Documentation

template<typename Iterator>
const BamRead& theplu::yat::omic::Pileup< Iterator >::Entry::bam ( void  ) const
inline
Returns
const reference to BamRead
template<typename Iterator>
uint8_t theplu::yat::omic::Pileup< Iterator >::Entry::cigar_op ( void  ) const
inline
Returns
cigar operation at current position
template<typename Iterator>
uint32_t theplu::yat::omic::Pileup< Iterator >::Entry::cigar_oplen ( void  ) const
inline
Returns
length of current cigar element
template<typename Iterator >
void theplu::yat::omic::Pileup< Iterator >::Entry::increment ( void  )

Increment CIGAR. If current CIGAR element is consuming query (not deletion), increment to next base on query.

template<typename Iterator>
bool theplu::yat::omic::Pileup< Iterator >::Entry::is_del ( void  ) const
inline
Returns
true if this position was deleted in this query
template<typename Iterator>
size_t theplu::yat::omic::Pileup< Iterator >::Entry::qpos ( void  ) const
inline
Returns
index of base at this position
template<typename Iterator>
unsigned short theplu::yat::omic::Pileup< Iterator >::Entry::qual ( void  ) const
inline
Returns
base quality of current position
template<typename Iterator >
uint8_t theplu::yat::omic::Pileup< Iterator >::Entry::sequence ( void  ) const
Returns
base of current position

The documentation for this class was generated from the following file:

Generated on Tue Sep 26 2017 02:33:30 for yat by  doxygen 1.8.5