I was trying to delete some words (strings) from sequence header from multifasta file. I want to eliminate len=
and path=[...]
so finally I would have only the seq identifier and the length
>comp2_c0_seq1 len=589 path=[1:0-588]
>comp2_c1_seq1 len=352 path=[1462:0-351]
What I want to have is the following in two column
>comp2_c0_seq1 589
>comp2_c1_seq1 352
Thank you very much
Hint: Use sed https://www.gnu.org/software/sed/manual/html_node/The-_0022s_0022-Command.html#The-_0022s_0022-Command