csi

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: 1 Imported by: 0

Documentation

Overview

Package csi contains support for processing the information in a CSI file (http://samtools.github.io/hts-specs/CSIv1.pdf).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BinsForRange

func BinsForRange(start, end uint32, minShift, depth int32) []uint16

BinsForRange returns the list of bins that may overlap with the zero-based region defined by [start, end). The minShift and depth parameters control the minimum interval width and number of binning levels, respectively.

func RegionContainsBin

func RegionContainsBin(region genomics.Region, referenceID int32, binID uint32, bins []uint16) bool

RegionContainsBin indicates if the given region contains the bin described by referenceID and binID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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