Skip to content

Commit 1b75750

Browse files
committed
udpate comments and clean up
1 parent c50d1b8 commit 1b75750

1 file changed

Lines changed: 6 additions & 11 deletions

File tree

pdb2sql/StructureSimilarity.py

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ def compute_lrmsd_fast(self, lzone=None, method='svd', check=True, name=['C', 'C
9494
9595
L-RMSD is computed by aligning the longest chain of the decoy to
9696
the one of the reference and computing the RMSD of the shortest
97-
chain between decoy and reference. Both fitting and rms calculation
98-
use only backbone atoms. See reference:
97+
chain between decoy and reference. By default, both fitting and
98+
rms calculation use only backbone atoms. See reference:
9999
100100
DockQ: A Quality Measure for Protein-Protein Docking Models
101101
https://doi.org/10.1371/journal.pone.0161879
@@ -132,10 +132,6 @@ def compute_lrmsd_fast(self, lzone=None, method='svd', check=True, name=['C', 'C
132132
# 1. get_data_zone_backbone returns in_zone and not_in_zone
133133
# here the in_zone defines the zone for fitting,
134134
# and not_in_zone defines the zone for rms calculation.
135-
# 2. the decoy and ref pdb must have consistent residue
136-
# numbering, otherwise e.g. shifted numbering can also give
137-
# results which is totally wrong, because the code here does
138-
# not do sequence alignment.
139135

140136
self.check_residues()
141137

@@ -527,8 +523,8 @@ def compute_lrmsd_pdb2sql(self, exportpath=None, method='svd', **kwargs):
527523
'svd' or 'quaternion'.
528524
529525
Kwargs: selection keywords used in the pdb2sql.get() method :
530-
'rowID', 'serial', 'name', 'altLoc',
531-
'resName', 'chainID', 'resSeq', 'iCode',
526+
'rowID', 'serial', 'name', 'altLoc',
527+
'resName', 'resSeq', 'iCode',
532528
'x', 'y', 'z', 'occ', 'temp', 'element', 'model'
533529
534530
@@ -668,8 +664,8 @@ def get_identical_atoms(db1, db2, chain, **kwargs):
668664
chain (str): chain name
669665
670666
Kwargs: selection keywords used in the pdb2sql.get() method :
671-
'rowID', 'serial', 'name', 'altLoc',
672-
'resName', 'chainID', 'resSeq', 'iCode',
667+
'rowID', 'serial', 'name', 'altLoc',
668+
'resName', 'chainID', 'resSeq', 'iCode',
673669
'x', 'y', 'z', 'occ', 'temp', 'element', 'model'
674670
675671
Returns:
@@ -994,7 +990,6 @@ def get_xyz_zone_backbone(pdb_file, resData, return_not_in_zone=False, name=['C'
994990
# get the xyz of the
995991
xyz_in_zone = []
996992
xyz_not_in_zone = []
997-
print(resData)
998993

999994
for line in data:
1000995
if line.startswith('ATOM'):

0 commit comments

Comments
 (0)