package
4.1.6
Repository: https://github.com/exascience/elprep.git
Documentation: pkg.go.dev

# Functions

Flatten merges overlapping intervals into larger intervals.
FromBed returns a slice of intervals that correspond to the BED file entries.
FromBedFile returns a slice of intervals that correspond to the BED file entries.
FromElsitesFile loads intervals from an elPrep-defined .elsites file.
FromVcf returns a slice of intervals that correspond to the Vcf file entries.
FromVcfFile returns a slice of intervals that correspond to the Vcf file entries.
Intersect returns a slice of all intervals that overlap with the given start/end range.
Overlap determines whether the given start/end range overlaps with any of the given intervals.
ParallelFlatten merges overlapping intervals into larger intervals, using a parallel algorithm.
ParallelSortByStart sorts a slice of Interval by Start position using a parallel stable sort.
SortByStart sorts a slice of Interval by Start position.
ToElsitesFile stores intervals in an elPrep-defined .elsites file.

# Constants

ElsitesHeader is the header line that every .elsites file starts with.

# Structs

Interval is a generic struct with a start and an end position.