bl_bed_check_order(3)

LIBRARY
#include <biolibc/bed.h> -lbiolibc -lxtend

SYNOPSIS

void bl_bed_check_order(bl_bed_t *bed_feature, char last_chrom[], uint64_t last_start)

ARGUMENTS
bed_feature     Pointer to BED structure containing current entry
last_chrom      Chromosome of the previous BED entry
last_start      Start position of the previous BED entry

DESCRIPTION
Make sure the BED input is sorted by chrom and start position.

RETURN VALUES
Nothing: Terminates process if input is out of order

SEE ALSO
bl_bed_read(3)