Skip to content

Commit

Permalink
DAOTHER-9252: Performance optimization for large molecular assembly
Browse files Browse the repository at this point in the history
  • Loading branch information
yokochi47 committed Apr 10, 2024
1 parent 4e9f961 commit 4a2b2b0
Show file tree
Hide file tree
Showing 4 changed files with 11,332 additions and 11,326 deletions.
4 changes: 4 additions & 0 deletions wwpdb/utils/nmr/NmrDpUtility.py
Original file line number Diff line number Diff line change
Expand Up @@ -47561,6 +47561,10 @@ def __testTautomerOfHistidinePerModel(self):
if 'auth_chain_id' in ps:
auth_chain_id = ps['auth_chain_id']

if len(cif_polymer_sequence) >= LEN_MAJOR_ASYM_ID:
if auth_chain_id not in LARGE_ASYM_ID:
continue

for seq_id, comp_id in zip(ps['seq_id'], ps['comp_id']):

if not isLikeHis(comp_id, self.__ccU):
Expand Down
3 changes: 3 additions & 0 deletions wwpdb/utils/nmr/mr/ParserListenerUtil.py
Original file line number Diff line number Diff line change
Expand Up @@ -5351,6 +5351,9 @@ def isLikePheOrTyr(compId, ccU):
if compId in ('PHE', 'TYR'):
return True

if compId in monDict3:
return False

if ccU.updateChemCompDict(compId):
_refAtomIdList = [cca[ccU.ccaAtomId] for cca in ccU.lastAtomList]
if 'CD1' not in _refAtomIdList or 'CD2' not in _refAtomIdList:
Expand Down
Loading

0 comments on commit 4a2b2b0

Please sign in to comment.