Entering edit mode
4.5 years ago
sankadinesh
▴
20
Dear All, I have two files file1.fasta file2.fasta. Both contain same sequences but different headers. I want to swap the headers of file 2 to file 1.
file1.fasta
>name1
atcgtatcta
>name2
ttttacgtcgcgc
file2.fasta
>otu1_name1
atcgtatcta
>otu2_name2
ttttacgtcgcgc
Thanks in advance. Regards, Dinesh S L
You can as well keep the 2nd file it self. Only headers are different between two files and if you copy headers from file 2, first file would be copy of second one. Am I missing something here?