I need to modify a .fasta file that looks like this:
>Contig_1;2
AGATC...
>Contig_2;345
AaGGC...
>Contig_3;22
GGAGA...
And transform it into something like:
>Contig_1
AGATC...
>Contig_2
AaGGC...
>Contig_3
GGAGA...
I tried doing the following, but it did not work as intended.
sed -i 's/;*\n/\n/g' file.fasta
Could someone give me some advice? Thanks!