Here is an example.
PTN000666984 in PTHR24259 of v.9.0 has an IKR NOT annotation to "serine-type endopeptidase activity (GO:0004252)", because its ancestor node PTN001207690 has the annotation to the term.
PTNR24259 is merged to PTHR24256 in v.10. One of its ancestor node (PTN001207579) in the new tree has the annotation to the same term "serine-type endopeptidase activity (GO:0004252)", but the IKR NOT to PTN000666984 is not migrated. Therefore, PTN000666984 has an IBA to the term "serine-type endopeptidase activity (GO:0004252)". This will lead to the incorrect IBAs to all its leaf sequences.
To fix this, all annotations to its ancestors should be checked. If any of them has the positive annotation to the term that would have resulted in a positive annotation to the migrated node, the NOT should be preserved, and the new ancestor node PTN should be used in the "with" column. Otherwise, the NOT should be dropped and logged in the "second gaf file" (the one with all the IBD annotation excluded by the touch up script).
Here is an example. PTN000666984 in PTHR24259 of v.9.0 has an IKR NOT annotation to "serine-type endopeptidase activity (GO:0004252)", because its ancestor node PTN001207690 has the annotation to the term.
PTNR24259 is merged to PTHR24256 in v.10. One of its ancestor node (PTN001207579) in the new tree has the annotation to the same term "serine-type endopeptidase activity (GO:0004252)", but the IKR NOT to PTN000666984 is not migrated. Therefore, PTN000666984 has an IBA to the term "serine-type endopeptidase activity (GO:0004252)". This will lead to the incorrect IBAs to all its leaf sequences.
To fix this, all annotations to its ancestors should be checked. If any of them has the positive annotation to the term that would have resulted in a positive annotation to the migrated node, the NOT should be preserved, and the new ancestor node PTN should be used in the "with" column. Otherwise, the NOT should be dropped and logged in the "second gaf file" (the one with all the IBD annotation excluded by the touch up script).