I have a text file that looks like this (there are several spaces between the numbers and the letter sequences):
1 AGTGTC
2 ACCATG
3 GAGTGA
4