You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was testing the code for a CHARMM36 simulation from here: https://doi.org/10.5281/zenodo.3474862
and it seems that sometimes the code detects too many bonds. Here is the detailed description of what I did:
I made a pdb file of single POPC with make_ndx and trjconv selecting the first residue
Thanks @ohsOllila ! I think the problem comes from the graph generation when it infers bonds (edges) from the PDB file. Basically, there's a double nested loops on all atom pairs, then it calculates a distance between each atom pair and decides whether there's a bond if this dist is below the constant named MAXBOND. This constant is at 1.8 (A). If I set it to 1.7 it works with the PDB you tried.
A typical C-C length is 154 pm, so 1.8 A was too long. Initially I set it to 1.8 because I thought in some cases some bonds might be stretched. But 1.7 is probably better. Do you think I should reduce it more?
Activity
patrickfuchs commentedon May 15, 2020
Thanks @ohsOllila ! I think the problem comes from the graph generation when it infers bonds (edges) from the PDB file. Basically, there's a double nested loops on all atom pairs, then it calculates a distance between each atom pair and decides whether there's a bond if this dist is below the constant named
MAXBOND. This constant is at 1.8 (A). If I set it to 1.7 it works with the PDB you tried.A typical C-C length is 154 pm, so 1.8 A was too long. Initially I set it to 1.8 because I thought in some cases some bonds might be stretched. But 1.7 is probably better. Do you think I should reduce it more?