From 74ef0b5079fd7e9a4814bf13c991839ca7001f9f Mon Sep 17 00:00:00 2001
From: Niko <nikolaos.papadopoulos@univie.ac.at>
Date: Fri, 29 Nov 2024 17:37:05 +0100
Subject: [PATCH] emapper source now noted as text in the EMBL file "source:"
 is how the third column of the GFF is translated; therefore we changed how we
 refer to the Emapper origin of the functional annotation

---
 08-submission/gff-02-functional_annot.ipynb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/08-submission/gff-02-functional_annot.ipynb b/08-submission/gff-02-functional_annot.ipynb
index 394b059..590383e 100644
--- a/08-submission/gff-02-functional_annot.ipynb
+++ b/08-submission/gff-02-functional_annot.ipynb
@@ -206,7 +206,7 @@
     "                    if description:\n",
     "                        line = f'{line};function={description}'\n",
     "                    if name != f'Uncharacterised protein {gene}' or description:\n",
-    "                        line = f'{line};note=source:EggNOG-mapper'\n",
+    "                        line = f'{line};note=function predicted by EggNOG-mapper'\n",
     "\n",
     "                if feature_type == 'mRNA':\n",
     "                    mRNA = attributes['ID']\n",
@@ -215,14 +215,14 @@
     "                    if description:\n",
     "                        line = f'{line};function={description}'\n",
     "                    if name != f'Uncharacterised protein {gene}' or description:\n",
-    "                        line = f'{line};note=source:EggNOG-mapper'\n",
+    "                        line = f'{line};note=function predicted by EggNOG-mapper'\n",
     "\n",
     "                if feature_type == 'CDS' or feature_type == 'exon':\n",
-    "                    line = f'{line};gene={name};product={name};'\n",
+    "                    line = f'{line};gene={name};product={name}'\n",
     "                    if description:\n",
     "                        line = f'{line};function={description}'\n",
     "                    if name != f'Uncharacterised protein {gene}' or description:\n",
-    "                        line = f'{line};note=source:EggNOG-mapper'\n",
+    "                        line = f'{line};note=function predicted by EggNOG-mapper'\n",
     "            named.write(line + '\\n')"
    ]
   }
-- 
GitLab