in reply to
European Molecular Biology Laboratory (EMBL)?
Kindly do give a code that may be uses a regular expression to check tag names and puts the file as an array and may use a hash to check of same tags and copy the notes from one file to another.
you have an algorithm, try it yourself, if you face any difficulty post it here for improvement.
-- In accordance with the prarabdha of each, the One whose function it is to ordain makes each to act. What will not happen will never happen, whatever effort one may put forth. And what will happen will not fail to happen, however much one may seek to prevent it. This is certain. The part of wisdom therefore is to stay quiet.