So I have a file that contains
where # is any digit 0-9 (the text is many repetitions of the pattern above, not just that, but all in one line), and I want it to show
Basically I need to add a new line before every > and between a number and a letter.
OR
If it's easier, I have something like this
and I want to condense all the letter only lines to one line, like the output shown above.
If someone could help me how to do this with a simple command, it would really help.
Thank you!
Code:
>NM_#########AUGCAUCGUAGCUAGUCGAUACUGGACUG>NM_########AUGAGUAUGUAUGAUGUAUGUAUGA
Code:
>NM_#########
AUGUAGUGCUAGCUGAUCGAUGCUAGUCGUAGC
>NM_########
AGUGAGUCGUCGUGACUGACUGUGGCAUCGUA
OR
If it's easier, I have something like this
Code:
>NM_#########
AUGCUGAC
GACGUAGC
ACGUGUAG
>NM_########
AGUGCUGA
ACGUAGCU
ACGUGCUA
If someone could help me how to do this with a simple command, it would really help.
Thank you!