Hi,
I am trying to remove the last 5 characters from my FASTA header in my sequencing data. I have ≈400,000 sequences and have tried to use sed command in terminal to do this for me.
Input text:
>1-4-8.45
TAGGGAGA
Expected Output:
>1-4
TAGGGAGA
How can I use sed command to remove the last 5 characters from my FASTA headers?