Thank you, I have used your suggestion. It made a bed file but I see some strange things in some of the lines:
S_12g00500.1.1 0 273
S_12g0000.1 c2.1 0-210
I think the second line should look like this:
S_12g0000.1c2.1 0 210
The original line in txt file looks like this:
S_12g0000.1-c2.1:0-210

tr