converter

package
v0.0.0-...-d966d87 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToBAM

func ConvertToBAM(bamPath string, provider bamprovider.Provider) error

ConvertToBAM copies "provider" to a BAM file. Existing contents of "bamPath", if any, are destroyed.

func ConvertToPAM

func ConvertToPAM(opts pam.WriteOpts, pamPath, bamPath, baiPath string, bytesPerShard int64) error

ConvertToPAM copies BAM to PAM.

bytesPerShard is specified in term of the input BAM file. For example, if you have a 100GB BAM file and set bytesPerShard to 20GB, this function will create roughly five (=100/20) PAM shards.

Types

This section is empty.

Jump to

Keyboard shortcuts

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