bam

package
v0.0.0-...-768b56e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package bam provides support for parsing BAM files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetReferenceID

func GetReferenceID(bam io.Reader, reference string) (int32, error)

GetReferenceID attempts to determine the ID for the named genomic reference by reading BAM header data from bam.

func Read

func Read(bai io.Reader, region genomics.Region) ([]*bgzf.Chunk, error)

Read reads index data from bai and returns a set of BGZF chunks covering the header and all mapped reads that fall inside the specified region. The first chunk is always the BAM header.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL