Skip to content
New issue

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

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

Already on GitHub? # to your account

[WIP] Biopolymer rdkit smarts (continuing from #1301) #1306

Merged
merged 11 commits into from
Jun 8, 2022

Conversation

j-wags
Copy link
Member

@j-wags j-wags commented May 30, 2022

Continues work from #1301 to do PDB loading and polymer info assignment using rdkit (and hopefully openeye) instead of networkx.

richardjgowers and others added 2 commits May 30, 2022 09:39
* first pass at doing structure matching with rdkit instead of networkx

* current best attempt at fuzzy rdkit query

Co-authored-by: Jeff Wagner <jwagnerjpl@gmail.com>
@codecov
Copy link

codecov bot commented May 30, 2022

Codecov Report

❗ No coverage uploaded for pull request base (topology-biopolymer-refactor@57a442b). Click here to learn what that means.
The diff coverage is n/a.

@j-wags
Copy link
Member Author

j-wags commented May 30, 2022

Alright! For a 500ish residue protein,this drops graph matching time from 49 sec to 2 sec. Now I'll refactor this out to RDKitToolkitWrapper and work on making something similar for OpenEye.

j-wags and others added 6 commits May 30, 2022 16:26
…s and bonds. get dipeptide+disulfide assignment going again. Remove unneeded code.
…opolymer_rdkit_smarts

# Conflicts:
#	openff/toolkit/topology/molecule.py
#	openff/toolkit/utils/rdkit_wrapper.py
@j-wags
Copy link
Member Author

j-wags commented Jun 8, 2022

This will break PDB loading for OE-only builds, but this important improvement is languishing too long in a PR, and if I don't merge this now it'll have to wait until next week. So I'm going to merge this and I'll do OE support in a different PR.

@j-wags j-wags merged commit 975f96c into topology-biopolymer-refactor Jun 8, 2022
@j-wags j-wags deleted the biopolymer_rdkit_smarts branch June 8, 2022 14:12
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants