Reference Code backup Executable files
Sort a bed file by chromosome name and start position
bedSort in.bed out.bed
This tool is part of UCSC Genome Browser's utilities.
Note: in.bed and out.bed may be the same. If you use the sort
command to sort a bed file (like sort -k1,1 -k2,2n inp.bed > out.bed
), the in and out cannot be the same.