question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Minor issue regarding residue names.

See original GitHub issue

This is a relatively minor issue, but the name of the residue seems to affect the free energy calculation in unpredictable ways. In example1, all solvent molecules are labeled as 0C9 in the .yaml file and in SYSTEM.prmtop. The simulation runs normally but yields the strange result of 67.851 ± 0.128 kcal/mol.

example1.zip

In example2, all solvent molecules are labeled as XXX in the .yaml file and in SYSTEM.prmtop. A simulation run with these files yields the correct result of -5.140 ± 0.094 kcal/mol. The reference value for this solvation free energy is -5.2 ± 0.1 kcal/mol.

example2.zip

I think it would be interesting to either interrupt a simulation in the beginning if the residue name starts with a number or make Yank accept these unusual names. You can find more details in the attached files.

Thanks!

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
andrrizzicommented, Mar 6, 2018

This looks like an MDTraj problem. With

import mdtraj

topology = mdtraj.load_topology('SYSTEM.prmtop')
print('N atoms: ', topology.n_atoms)
print('N residues', topology.n_residues)
print('N ligand atoms: ', len(topology.select('resname LIG')))
print('N solvent atoms: ', len(topology.select('resname 0C9')))

I got

N atoms:  2822
N residues 157
N ligand atoms:  14
N solvent atoms:  0

I’ll open an issue there.

1reaction
andrrizzicommented, Feb 20, 2018

I think I implemented a work-around in #819 that was released with YANK 0.19 to avoid Leap crashing when a number was in the residue name. If you’re using a version >= 0.19 that might be the culprit.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why are structures that have residues ARN, ASH, GLH, LYN ...
Why are structures that have residues ARN, ASH, GLH, LYN, HIE, HIP incorrectly changed to ARG, ASP, GLU, LYS, HIS when converted to...
Read more >
Common errors when using GROMACS
A residue database entry may be missing simply because the database does not contain the residue at all, or because the name is...
Read more >
Introduction to Protein Data Bank Format
Duplicate Atom Names ... Depending on the display program, the residue may be shown with incorrect connectivity, or it may become evident only...
Read more >
Residue Chemistry - Food Safety and Inspection Service - USDA
Residue Chemistry. Annual information on the process of sampling meat, poultry, and egg products for chemical contaminants, as well as repeat violators.
Read more >
Primary Sequences and the PDB Format - PDB-101
Record Name, Describes ; MODRES, Modifications to standard residues ; HET, Nonstandard residues (as well as ligands, ions and water) ; HETNAM, Full...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found