cgatools::cgdata::EvidenceReader Class Reference

List of all members.

Classes

struct  DnbRecord
struct  DnbsFile
struct  IntervalRecord
struct  IntervalsFile

Public Member Functions

 EvidenceReader (const reference::CrrFile &crr, const GenomeMetadata &exp)
void seek (const reference::Range &r)
void seekToChr (uint16_t chr)
 moves the cursor to the first interval of the given chromosome sets inInterval() into false if the cursor moves behind the end of the chromosome
void nextInChr ()
 moves the cursor to the next interval in the current chromosome sets inInterval() into false if the cursor moves behind the end of the chromosome
bool inInterval () const
const IntervalRecordgetInterval () const
const std::vector< DnbRecord > & getDnbs ()
uint32_t getScore () const
 Returns the score of the interval at the current position or zero if the last seek didn't find an overlapping interval.
uint32_t countSupportingDnbs (uint16_t alleleIndex, int32_t scoreThreshold)
 Returns the number of DNBs supporting the given allele of the top hypothesis, such that the ScoreAllele[alleleIndex]-ScoreAllele[alternate] > scoreThreshold.

Member Function Documentation

uint32_t cgatools::cgdata::EvidenceReader::countSupportingDnbs ( uint16_t  alleleIndex,
int32_t  scoreThreshold 
)

Returns the number of DNBs supporting the given allele of the top hypothesis, such that the ScoreAllele[alleleIndex]-ScoreAllele[alternate] > scoreThreshold.

uint32_t cgatools::cgdata::EvidenceReader::getScore (  )  const [inline]

Returns the score of the interval at the current position or zero if the last seek didn't find an overlapping interval.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated by  doxygen 1.6.2