If I have 2 files with sequence data how can I combine them to one. What I want to do is
if File A has
->X
ACTGCA
->Y
ACGTAA
->Z
AGCATA
and File B has
->X
TCAGA
->Y
GACTA
->Z
GCTAA
I want to combine file A and B into File C that will have following output
->X
ACTGCATCAGA
->Y
ACGTAAGACTA
->Z
AGCATAGCTAA
Can you assume the two files haves the same set of sequences (here X, Y, and Z) and they are in the same order? Also what file format is this (eg FASTA, FASTQ)?
Yes the files have the same sequence sets in same order and the format I was trying to use fasta files.