@@ -15,7 +15,6 @@ from Bio.Align import MultipleSeqAlignment
fromcollectionsimportOrderedDict
fromftplibimportFTP
fromfunctoolsimportpartial
fromsqlalchemyimportcreate_engine
fromosimportpath,makedirs
frommultiprocessingimportPool,cpu_count,Manager
fromtimeimportsleep
...
...
@@ -216,8 +215,8 @@ class Chain:
else:
t=float(nt["theta_prime"])
p=int(nt["nt_resnum"])-resnum_start
mask[p]=int(nt["nt_code"]in"ACGU")# U is a U, u is a modified U and should be replaced by consensus ?
seq[p]=nt["nt_code"].upper()# to align the chain with its family. The final nt should be taken from the PSSM.
mask[p]=int(nt["nt_code"]in"ACGU")# U is a U, u is a modified U and should be replaced by consensus ?
seq[p]=nt["nt_code"].upper().replace('?','-').replace('P','U').replace('T','U')# to align the chain with its family. The final nt should be taken from the PSSM.