From f2530221513fdb1a8dcd397358d3a377a783477b Mon Sep 17 00:00:00 2001 From: Auden Cote-L'Heureux <52716489+AudenCote@users.noreply.github.com> Date: Mon, 21 Aug 2023 12:47:45 -0400 Subject: [PATCH] Fixing 4-fold family error in CUB.py --- PTL1/Genomes/Scripts/CUB.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PTL1/Genomes/Scripts/CUB.py b/PTL1/Genomes/Scripts/CUB.py index 382e218..62763b7 100644 --- a/PTL1/Genomes/Scripts/CUB.py +++ b/PTL1/Genomes/Scripts/CUB.py @@ -367,7 +367,7 @@ class GCeval(): # # This function return the GC content of the third position of four-fold # # degenerate codons FrFold = round(GC(''.join([k[-1]*v[-1] for k, v in cdnTbl.items() if - 'one' not in v[1]])), 4) + v[1] == 'four'])), 4) return FrFold class SeqInfo(object):