Function
jumpToPos
Seek in BAM BGZF stream using an index.
jumpToPos(bgzfStream, hasAlignments, bamIOContext, refId, pos, bamIndex)
Include Headers
seqan/bam_io.h
Parameters
bgzfStream
The BGZF Stream to seek in.
refId
Reference ID to seek to.
Types: __int32
hasAlignments
Set to true iff there are alignments at this position.
Types: bool
bamIOContext
Context to use for loading alignments.
pos
Zero-based position in the reference.
Types: __int32
bamIndex
The index to use.
Types: BamIndex
Remarks
This function may fail if the refId/pos is invalid.
This function jumps to a "close position left of pos".
Return Values
bool indicating success.
Member of
SeqAn - Sequence Analysis Library - www.seqan.de
 

Page built @2012/10/02 11:10:30