Fixing 4-fold family error in CUB.py

This commit is contained in:
Auden Cote-L'Heureux 2023-08-21 12:47:14 -04:00 committed by GitHub
parent 42ff780332
commit a24a546ade
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -367,7 +367,7 @@ class GCeval():
# # This function return the GC content of the third position of four-fold # # This function return the GC content of the third position of four-fold
# # degenerate codons # # degenerate codons
FrFold = round(GC(''.join([k[-1]*v[-1] for k, v in cdnTbl.items() if 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 return FrFold
class SeqInfo(object): class SeqInfo(object):