|
libStatGen Software 1
|
Public Member Functions | |
| GreedyTupleAligner (Weight &wt) | |
| int | MatchTuple (const QueryType query, const int queryLength, const ReferenceType reference, const ReferenceIndex searchStartIndex, const int searchSize, int &matchedLength, int &mismatch) |
| Match 'query' to the 'reference' from 'searchStartIndex' up to 'searchSize', store matched length to 'matchedLength' and number of mismatch to 'mismatch'. | |
| void | Align (QueryType query, int queryLength, ReferenceType reference, ReferenceIndex searchStartIndex, int searchSize, CigarRoller &cigarRoller, ReferenceIndex &matchPosition) |
| Core local alignment algorithm. | |
Definition at line 60 of file GreedyTupleAligner.h.
|
inline |
Definition at line 63 of file GreedyTupleAligner.h.
|
inline |
Core local alignment algorithm.
| query | input query |
| queryLength | length of query |
| reference | reference genome |
| searchStartIndex | matching starts here |
| searchSize | how far we will search |
| cigarRoller | store alignment results here |
| matchPosition | store match position |
Definition at line 159 of file GreedyTupleAligner.h.
References CigarRoller::Add(), CigarRoller::clear(), Cigar::del, Cigar::insert, Cigar::match, MatchTuple(), Cigar::mismatch, and Cigar::softClip.
|
inline |
Match 'query' to the 'reference' from 'searchStartIndex' up to 'searchSize', store matched length to 'matchedLength' and number of mismatch to 'mismatch'.
| query | input query |
| queryLength | length of query |
| reference | reference sequence |
| searchStartIndex | the positino where search starts |
| searchSize | the total length in reference sequence that will be examine |
| matchedLength | store how many bases are matched |
| mismatch | store how many bases are mismatched |
Definition at line 79 of file GreedyTupleAligner.h.
Referenced by Align().