I have this txt file by pasting different columns now how I can convert that to bed please because I need a bed then sorting that

I used

```
[izadi@lbox161 merged_asmribo]$ cut -f 1,2,3,4,5,6 main.txt > main.bed
cut: fields and positions are numbered from 1
Try 'cut --help' for more information.

 FLP1    252    1523
  RAF1    3271    3816
  REP1    1887    3008
  REP2    5308    6198
  YAL069W    335    649
  YAL068W-A    538    792
  YAL067W-A    2480    2707
  YAL066W    10092    10400
  YAL064W-B    12047    12427
  YAL064W    21526    21852
```
This requires rather a simple text manipulation trick. The key is that you need to know exactly what you want as a BED file. Read more about BED format [here](https://genome.ucsc.edu/FAQ/FAQformat.html#format1).