ReferenceSequence

Constructors

this
this(RandomAccessManager manager, int ref_id, ReferenceSequenceInfo info)
Undocumented in source.

Members

Functions

endVirtualOffset
bio.core.bgzf.virtualoffset.VirtualOffset endVirtualOffset()

Virtual offset before which reads, aligned to this reference, stop. If there are no reads aligned to this reference, returns virtual offset of the EOF block if it's presented, or the end of file.

firstPosition
int firstPosition()

First position on the reference overlapped by reads (0-based)
Returns -1 if set of reads is empty.

id
int id()

Reference ID

lastPosition
int lastPosition()

Last position on the reference overlapped by reads (0-based)
Returns -1 if set of reads is empty.

length
int length()

Length in base pairs

name
string name()

Name

opSlice
auto opSlice(uint start, uint end)

Get alignments overlapping [start, end) region.
Coordinates are 0-based.

opSlice
auto opSlice()

Get all alignments for this reference

startVirtualOffset
bio.core.bgzf.virtualoffset.VirtualOffset startVirtualOffset()

Virtual offset at which reads, aligned to this reference, start in BAM file. If there are no reads aligned to this reference, returns virtual offset of the EOF block if it's presented, or the end of file.

Meta