Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

graph matching for type-mapping #3

Open
erjank opened this issue Dec 7, 2022 · 0 comments
Open

graph matching for type-mapping #3

erjank opened this issue Dec 7, 2022 · 0 comments

Comments

@erjank
Copy link

erjank commented Dec 7, 2022

My current understanding is that openmm gives us interaction information in terms of atom index, which is used consistently for the bonds, angles, dihedrals, and nonbonded interactions. But if we want to use that in HOOMD, we need to know what atom types each of those indexes correspond to. Assuming that the indexing is consistent between openmm and parmed, we can check that the graphs are the same and use the atom_types from parmed structures to map from openmm index. This is a big assumption for complex molecules, so we need to implement something like a networkx tree comparison to show the graphs are isomorphic, but this is tricky with cyclic graphs. But we should do it to be right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant