From 537540936dd0a3fc07e5f0143d74fa7cf93735bb Mon Sep 17 00:00:00 2001
From: George Marchment <georgemarchment@yahoo.fr>
Date: Mon, 4 Mar 2024 11:17:04 +0100
Subject: [PATCH] Add workflowhub stat

---
 analysis_results.ipynb | 29 +++++++++++++++++++++++++++--
 1 file changed, 27 insertions(+), 2 deletions(-)

diff --git a/analysis_results.ipynb b/analysis_results.ipynb
index e3a29ed..5cc7985 100644
--- a/analysis_results.ipynb
+++ b/analysis_results.ipynb
@@ -60,10 +60,35 @@
     "print(f\"The crawler found {len(dict)} Nextflow workflows with at least Nextflow file at the root.\")"
    ]
   },
+  {
+   "cell_type": "markdown",
+   "metadata": {},
+   "source": [
+    "At the time of writing there are 52 Nextflow workflows integrated on WorkflowHub."
+   ]
+  },
   {
    "cell_type": "code",
    "execution_count": 4,
    "metadata": {},
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "Hence, at least 93.1% of Nextflow workflows found on Github are not integrated into WorkflowHub\n"
+     ]
+    }
+   ],
+   "source": [
+    "nb_wfhub = 52\n",
+    "print(f\"Hence, at least {(len(dict)-nb_wfhub)/len(dict)*100:.1f}% of Nextflow workflows found on Github are not integrated into WorkflowHub\")"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": 5,
+   "metadata": {},
    "outputs": [],
    "source": [
     "tab = []\n",
@@ -75,7 +100,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 5,
+   "execution_count": 6,
    "metadata": {},
    "outputs": [
     {
@@ -124,7 +149,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 6,
+   "execution_count": 7,
    "metadata": {},
    "outputs": [
     {
-- 
GitLab