Entering edit mode
7.7 years ago
tarakaramji
▴
10
I have two fasta files with different header and sequences and would like to append them one after the other in the same sequential order
Input: first file
>RNA1
AATGACGATGACGATGACAGAT
>RNA2
ATAGATGGGCAGTAGAGA
File2:
>mRNA1
ATGGAGATGAGAT
>mRNA2
AGATGGGGATGA
Ouput file should be
>RNA1:mRNA1
AATGACGATGACGATGACAGATATGGAGATGAGAT
>RNA2:mRNA2
ATAGATGGGCAGTAGAGAAGATGGGGATGA
And what have you tried?
I have tried the EMBOSS tool pasteseq which appends only the first sequence but does not retrieve the identifiers