From 96c4d528b1b76a42c3c0a93b7aeab040fae4713e Mon Sep 17 00:00:00 2001
From: NMarthe <nina.marthe@ird.fr>
Date: Mon, 4 Dec 2023 10:41:24 +0100
Subject: [PATCH] added a comment

---
 Functions.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Functions.py b/Functions.py
index be2508f..18386a2 100644
--- a/Functions.py
+++ b/Functions.py
@@ -203,7 +203,7 @@ def get_segments_sequence_and_paths(gfa):
             paths[line[3]]=list_path
     return [paths,seg_seq]
 
-def get_first_seg(list_seg):
+def get_first_seg(list_seg): # get the first segment of the list that is in the target genome
     first_seg_found=''
     for segment in list_seg:
         if segment[1:] in segments_on_target_genome:
-- 
GitLab