Hi, I'm parsing some sequences and I need to transform them from a single line to fasta format... The format I have now is something like this:
Name_of_the_specie AGTAGAGATTGAGATGAGGAGATTCCCATAGAGTTCGAATAGCTGTAATAGAG
Name_of_the_specie2 AGGAGGTTTGAGAGTTTTGAGAGGTGGGGAGAGTTTTTTAAAGGGGGAAAGAAGGAGAATGAGAGGGTTGAG
Name_of_the_ specie_3 ACATGCGATGAGGGCCCTTTATAATTTAATTGCGCTAAATAGATCTCCCTTTAGGGATATTGAGGAAGAGGAGGGATTAGGAGATTAGAGAGATAT
and so on... (>300)
I want to make a single file containing all those sequences in fasta format, if possible using perl/awk/sed.
Thanks!
thank you, I was trying to do it in awk and I was doing it wrong... now I know for the next time !