Entering edit mode
20 months ago
Alex S
▴
20
I have a txt file with more than a thousand DNA sequences as follows:
seq-name1 DNA-sequence1
seq-name2 DNA-sequence2
seq-name3 DNA-sequence3
Does anyone know a code to transform this file into a fasta file?
>seq-name1
DNA-sequence1
>seq-name2
DNA-sequence2
>seq-name3
DNA-sequence3