l=df.iloc[-1,1]-df.iloc[0,1]+1# length of chain from nt_resnum point of view
l=df.iloc[-1,1]-df.iloc[0,1]+1# update length of chain from nt_resnum point of view
exceptIndexError:
warn(f"Could not find real nucleotides of chain {self.pdb_chain_id} in annotation {self.pdb_id}.json. Ignoring chain {self.chain_label}.",error=True)
warn(f"Could not find real nucleotides of chain {self.pdb_chain_id} between {self.pdb_start} and "
f"{self.pdb_end} ({'not' if not self.inferred else ''} inferred). Ignoring chain {self.chain_label}.",error=True)
no_nts_set.add(self.pdb_id)
self.delete_me=True
self.error_messages=f"Could not find nucleotides of chain {self.pdb_chain_id} in annotation {self.pdb_id}.json. We expect a problem with {self.pdb_id} mmCIF download. Delete it and retry."
...
...
@@ -360,7 +375,7 @@ class Chain:
# portion solved in 3D 1 |--------------|79 85|------------| 156
# Rfam mapping 3 |------------------------------------------ ... -------| 3353 (yes larger, 'cause it could be inferred)
# nt resnum 3 |--------------------------------| 156