API Reference BAM v#0.1.0

Copy Markdown View Source

Modules

BAM

Reader and writer for BAM alignment files.

One alignment record.

Blocked GNU Zip (BGZF) members.

One BGZF member that has already been checked.

CIGAR operations.

Failure returned by the public BAM API.

SAM flag bits.

Open BAM input.

BAM header and reference dictionary.

In-memory BAI or CSI index.

BAI index codec.

Bin numbers for BAI and CSI.

Builds a BAI or CSI binning index while a BAM file is written.

CSI index codec.

Caps applied while decoding untrusted BAM, BGZF, and index bytes.

Base qualities.

BAM alignment-record codec.

SAM text bridge.

Packed BAM sequence codec.

Byte sink for the BAM writer.

File sink. The caller chooses the path. This module overwrites an existing file at that path.

In-memory sink. Chunks are kept in reverse order and concatenated on to_binary/1.

Random-access byte source.

File source.

In-memory byte source.

Optional alignment fields, called auxiliary tags.

Runs the fenced Elixir examples in tutorials/ that are marked # check.

Mix Tasks

Builds a synthetic BAM file and measures BAM.stream/2 and BAM.read/3.

Prints the header summary of a BAM file.

Evaluates every # check fence in the numbered tutorial drafts.