The class is used to iterate through the bases of a variation allele from an evidenceInterval file operator[] returns either a base from the allele or a reference base if the index points outside of the allele range. More...
#include <AlleleAlignment.hpp>
Public Member Functions | |
| AlleleSequenceAligner (const reference::CrrFile &reference) | |
| void | setInterval (uint16_t chr, size_t begin, size_t length, const std::string *allele) |
| set current allele | |
| char | operator[] (int i) const |
| returns the i-th base in the current allele | |
| int | endSequencePosition () const |
| the position after the last available base | |
| int | startSequencePosition () const |
|
const reference::CompactDnaSequence & | getChrSequence () const |
Protected Attributes | |
| const reference::CrrFile & | reference_ |
|
const reference::CompactDnaSequence * | chrSequence_ |
| const std::string * | allele_ |
| size_t | alleleLength_ |
| uint16_t | chr_ |
| int64_t | begin_ |
| size_t | length_ |
The class is used to iterate through the bases of a variation allele from an evidenceInterval file operator[] returns either a base from the allele or a reference base if the index points outside of the allele range.
1.6.2