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

# Functions

Flatten merges overlapping intervals into larger intervals.
FromBed returns a mapping from contigs to slices of intervals that correspond to the BED file entries.
FromBed returns a mapping from contigs to slices of intervals that correspond to the BED file entries.
FromBedOrdered returns a mapping from contigs to slices of intervals that correspond to the BED file entries, with entries in the same order as they are encountered in the BED file.
FromBedOrdered returns a mapping from contigs to slices of intervals that correspond to the BED file entries, with entries in the same order as they are encountered in the BED file.
FromElsitesFile loads intervals from an elPrep-defined .elsites file.
FromVcf returns a mapping from contigs to slices of intervals that correspond to the Vcf file entries.
FromVcf returns a mapping from contigs to slices 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.