API Reference cram v#0.1.0

Copy Markdown View Source

Modules

Read CRAM 3.0 and 3.1 container structure from Elixir.

One alignment in SAM field order.

One CRAM block header and its compressed payload (CRAMv3 §8).

A parsed CRAM container header and its block boundaries (CRAMv3 §7).

A CRAM index (.crai) row.

Internal. Buffered reader over a byte source. Not part of the supported API.

Internal. Turns a handle into alignment batches. Not part of the supported API.

Structured CRAM error.

The 26-byte CRAM file definition (CRAMv3 §6).

Internal. Inflates gzip with a byte cap. Not part of the supported API.

An open CRAM source.

SAM header text stored in a CRAM file, plus the fields this library reads.

One @SQ line. length is the LN integer. md5 is the M5 hex string when present, otherwise nil.

File-level description that does not include alignment records.

ITF-8 integer codec from CRAM v3 section 2.3.

LTF-8 integer codec from CRAM v3 section 2.3.

CRAM.Info plus the parsed SAM header.

Internal. Loads the noodles-cram NIF. Not part of the supported API.

Limits and mode for a CRAM reader.

Internal. Walks container and block bytes. Not part of the supported API.

Explicit reference lookup.

Checksum-addressed cache in a directory the caller created.

Reference sequences from a local FASTA file.

SAM reference checksum.

Optional GA4GH Refget sequence fetch.

Behaviour for resolving a reference sequence by name and expected MD5.

Fields from an uncompressed slice header block (CRAMv3 §8.5).

Bounded reader over a local file or an in-memory binary.

Mix Tasks

Print CRAM metadata without decoding alignment records.

Check the nine tutorial drafts.