✕
CN EN

Genomic intervals & annotation / BED sort and validate

Your data stays in your browser: files are read and processed on your device, never uploaded to any server, and cleared when you close the page. Free, no sign-in.

How to read it

BED sort and validate

Intervals are sorted by chromosome and then by start; ties keep their original order. Several interval tools (closest feature, merge) expect sorted input.

“Lexicographic” matches the command-line sort -k1,1 (chr10 before chr2); “natural” orders the numeric part by value; you can also follow the order of a chromosome-length file (.fai) to match the reference genome.

The validation report lists malformed lines (too few columns, non-integer coordinates, end before start), zero-length intervals, exact duplicates, intervals overlapping the previous one and, with a length file, intervals beyond the chromosome end or on chromosomes missing from the file.

The bar chart shows intervals per chromosome; download the sorted result as CSV or copy the BED text.

Method

Stable sort by chromosome and start; checked line by line against BEDTools sort (Quinlan & Hall 2010, Bioinformatics 26:841) and sort -k1,1V -k2,2n (records with equal starts are compared as groups, since the reference order of ties is not fixed).

Data size

Runs in your browser; up to roughly 50 MB is recommended.

Need a full analysis?

Send us your data and research question and you will receive a written plan within 1 working day: analysis steps, parameter rationale, deliverables and timeline. Quoted per project.