chrpos

package
v0.0.0-...-66a4754 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TabixLocus

type TabixLocus struct {
	// contains filtered or unexported fields
}

func ChunkChrRange

func ChunkChrRange(chunksize int, assembly string, chromosome string, startPos, endPos int) ([]TabixLocus, error)

ChunkChrRange allows you to split genomic data into chunks of size chunksize. Valid values for assemply are grch37 and grch38. chromosome is optional; if set, will only process that chromosome. startPos and endPos are optional and require chromosome to be set. If nonzero, chunks will only be created within their limits.

func MakeTabixLocus

func MakeTabixLocus(chrom string, start, end int) TabixLocus

func TabixLociFromPath

func TabixLociFromPath(filepath string) ([]TabixLocus, error)

func (TabixLocus) Chrom

func (tl TabixLocus) Chrom() string

func (TabixLocus) End

func (tl TabixLocus) End() uint32

func (TabixLocus) Start

func (tl TabixLocus) Start() uint32

Jump to

Keyboard shortcuts

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