Skip to content
Snippets Groups Projects
Commit fe9a8cd5 authored by lbthrice's avatar lbthrice
Browse files

Update sort.rst

The UNIX sort command was not correct.
I fixed it so that the numerical sort was only applied to the second column.
parent 5226adce
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ For example, to sort by chromosome and then by feature size (in descending order
will sort BED files more quickly while using less memory. For example, UNIX sort will sort a BED file
by chromosome then by start position in the following manner:
::
sort -k 1,1 -k2,2 -n a.bed
sort -k 1,1 -k2,2n a.bed
chr1 1 10
chr1 80 180
chr1 750 10000
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment