From ffcffcfcb51b8aef13e097507e6f86348beb1f89 Mon Sep 17 00:00:00 2001
From: NMarthe <nina.marthe@ird.fr>
Date: Thu, 4 Jan 2024 15:00:37 +0100
Subject: [PATCH] corrected the detection of variation in the start codon

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

diff --git a/inference.py b/inference.py
index 84d4d16..aa9e56a 100644
--- a/inference.py
+++ b/inference.py
@@ -274,7 +274,7 @@ for cds_id in cds_var.keys():
             
             print("variation",index+1, ":")
             
-            if posVar[0]<=3:
+            if posVar[0]<3:
                 print("variation of the start codon, mRNA most likely wont be translated")
                 #findOtherStart(cds,segments_on_target_genome) # for now we don't look for another start codon
                 break
-- 
GitLab