Documentation ¶
Overview ¶
Package cram is a WIP CRAM reader implementation.
Currently the package implements container, block and slice retrieval, and SAM header values can be retrieved from blocks.
See https://samtools.github.io/hts-specs/CRAMv3.pdf for the CRAM specification.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoEnd = errors.New("cram: cannot determine offset from end")
ErrNoEnd is returned when a stream cannot seek to a CRAM EOF block.
Functions ¶
Types ¶
type Block ¶
type Block struct {
// contains filtered or unexported fields
}
Block is a CRAM block structure.
See CRAM spec section 8.
type Container ¶
type Container struct {
// contains filtered or unexported fields
}
Container is a CRAM container.
See CRAM spec section 7.
Notes ¶
Bugs ¶
The rANS method is not implemented. Data blocks compressed with rANS will be returned compressed and an "unimplemented" error will be returned.
Click to show internal directories.
Click to hide internal directories.