Function
toSourcePosition
Transforms view to source position, if the view position is a gap, the original position of the next non-gap entry is returned.
Include Headers
seqan/align.h
Parameters
A Gaps object, e.g. a row in the alignment. Types: Gaps | |
Position in the view sequence (this includes gaps) to get the original position for. |
Remarks
If gap is a clipped alignment row, gaps in the clipped part will influence the result. The position pos is counted from the unclipped begin position.
Return Values
The position in the source sequence.
See Also
SeqAn - Sequence Analysis Library - www.seqan.de