I have some bed alike files but don't have chr
term in the fisrt column, that I want to add chr
and its corresponding chromosome number, I'm wondering how can I do that in bash!
head dat.tsv
9901 10000 0.186130156985236
10001 10100 244.668091357092
10101 10200 367.420929888855
10201 10300 179.801731647738
10301 10400 141.551984387272
10401 10500 92.5066880216621
10501 10600 92.3205578646769
10601 10700 127.96448292735
10701 10800 74.6381929510795
10801 10900 62.6327978255318
chr
term has been correctly added. $\endgroup$