Hello,
I've 2 directories containing more than 8000 protein fasta sequence files each. Both directories contain some sequence files (ids only, not the sequence present in it) in common.
Example:
dir2 - Q9Y0E7_LEIDO.fasta
Q9Y0A8_CRYPV.fasta
dir1 - Q9Y0E7_LEIDO.fasta
Q9Y0A8_CRYPV.fasta
Now I want to append the sequence present in a file in dir2 to the file that has the same name in the dir1.
My effort was going nowhere. Here I am expecting a solution for this.
one important point - while appending to the first sequence, the header of second one should be avoided.
Always post what have you tried so that people can quickly help you out in fixing your command/code instead of doing it from scratch for you.