Entering edit mode
2.7 years ago
putty
▴
40
How to split the chr and bp position into separate cols ? I have chr:bp as:
ID A1 A2 A1_freq P value
7:146019500 T C 0.42 0.334
13:65060537 C G 0.001 0.312
5:179589868 A G 0.005 0.102
Would like to split ID into separate columns for chr and a separate column for bp ? How to do in linux? Desired output:
CHR BP ID A1 A2 A1_freq P value
7 146019500 7:146019500 T C 0.42 0.334
13 65060537 13:65060537 C G 0.001 0.312
5 179589868 5:179589868 A G 0.005 0.102
TIA
0
Entering edit mode
ADD REPLY
• link
2.7 years ago by
cpad0112
21k