Entering edit mode
5.8 years ago
erick_rc93
▴
30
I have two multifasta files that have almost the same headers, for example
file1.fasta
>header_1
dnasequenceoffastafile1
>header_2
dnasequenceoffastafile1
>header_3
dnasequenceoffastafile1
file2.fasta
>header_1_f2
dnasequencefastafile2
>header_2_f2
dnasequencefastafile2
>header_4_f2
dnasequencefastafile2
and I would like the next output
merged.fasta
>header_1_header_1_f2
dnasequenceoffastafile1dnasequencefastafile2
>header_2_header_2_f2
dnasequenceoffastafile1dnasequencefastafile2
Two solutions at Combining two fasta sequences into one , do any of them work for you?
And why would you do that ?