DeepRank / pdb2sql

Fast and versatile biomolecular structure PDB file parser using SQL queries
https://pdb2sql.readthedocs.io
Apache License 2.0
24 stars 12 forks source link

pdb2sql selects one alternative location for atoms #83

Open FarzanehParizi opened 2 years ago

FarzanehParizi commented 2 years ago

Better pdb2sql has an option to select one alternative location for atoms of a residue

Description of problem While checking the similarity of two PDBs (decoy & ref) when there are alternative locations of atoms for a PDB, it fails to calculate RMSD, as one has more atoms for a residue.

Suggested solution pdb2sql can have a feature that the user selects which of the alternative locations to select (e.g. altloc= "A") while generating a pdb2sql object (not using only occ value on PDB column)

Alternative solution While checking the similarity of two pdb2sql objects, selects one alternative location

Additional context If letting the user defines based on occ value on PDB column, it happens in some PDBs that the occ value is around 50 and that would not be that much helpful

FarzanehParizi commented 2 years ago

You can use the following PDB files for this issue for PDB ID: 5KSA (change the extension from txt to pdb)

BL00060001_decoy.txt BL00060001_ref.txt

FarzanehParizi commented 2 years ago

The previous case had an alternative location in the Receptor region. The following case has an alternative location in the Ligand region. PDB ID: 6DFS

6DFS_6BLX_BL00140001_decoy.txt 6DFS_6BLX_BL00140001_ref.txt

github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.