yat
0.14.5pre
|
#include <yat/omic/Pileup.h>
Classes | |
class | Entry |
Public Types | |
typedef std::list< Entry > ::const_iterator | const_iterator |
Public Member Functions | |
Pileup (void) | |
Pileup (Iterator first, Iterator last) | |
const_iterator | begin (void) const |
const_iterator | end (void) const |
bool | good (void) const |
void | increment (void) |
step to next position. More... | |
int32_t | tid (void) const |
int32_t | pos (void) const |
bool | skip_ref (void) const |
Related Functions | |
(Note that these are not member functions.) | |
template<typename Iterator > | |
Pileup< Iterator > | make_pileup (Iterator first, Iterator last) |
Pileup takes a range of BamReads and pile them up on the current position. User can investigate the pile of reads at current (locus) position via begin() and end(), which provide access to reads at current position. The position can be incremented and in that way the user can investigate each position of the genome.
Type Requirments:
Iterator
is a Readable IteratorIterator
is a Single Pass Iteratorvalue_type
is convertible to BamRead typedef std::list<Entry>::const_iterator theplu::yat::omic::Pileup< Iterator >::const_iterator |
|
inline |
Create an empty Pileup
theplu::yat::omic::Pileup< Iterator >::Pileup | ( | Iterator | first, |
Iterator | last | ||
) |
Create a Pileup that will use reads in range [first, last). The range must be sorted as defined by BamLessPos.
Iterator is a Readable Iterator.
Pileup< Iterator >::const_iterator theplu::yat::omic::Pileup< Iterator >::begin | ( | void | ) | const |
Pileup< Iterator >::const_iterator theplu::yat::omic::Pileup< Iterator >::end | ( | void | ) | const |
|
inline |
void theplu::yat::omic::Pileup< Iterator >::increment | ( | void | ) |
|
inline |
bool theplu::yat::omic::Pileup< Iterator >::skip_ref | ( | void | ) | const |
|
inline |
|
related |