Apparently, I don't quite understand how a bed file should be sorted. I can't quite figure out what's wrong.
Any idea? How does the ordering rule work for bed files?
A related question: when I used bedtools and use the "-sorted" flag, how should that bed file be sorted?
Thanks in advance.
Code:
bedops --ec --everything myData.bed > /dev/null May use bedops --help for more help. Error: in oncosnp.bed Bed file not properly sorted by first column. See row: 771 cat myData.bed | awk 'NR>=769' | head 9 138338321 138339032 9 139327439 140167730 10 69083 3368595 10 367632 393272 10 448018 448786 10 703003 763714 10 998193 999290 10 1084691 1123868 10 1368946 1369689 10 1500525 1503838
Any idea? How does the ordering rule work for bed files?
A related question: when I used bedtools and use the "-sorted" flag, how should that bed file be sorted?
Thanks in advance.
Comment