BamReader.opIndex

Returns reference sequence named ref_name.

Examples

import std.stdio, bio.bam.reader;
...
auto bam = new BamReader("file.bam");
writeln(bam["chr2"].length);

Meta