-
Notifications
You must be signed in to change notification settings - Fork 28
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
Really slow performance with some macrocycles #118
Comments
Thanks for the report! this is very interesting |
I'm still trying to figure out the impact of chirality, it seems that in some cases it may be even slower without chirality. |
Ran some better benchmarks, for that molecule at least, it seems the chirality has no impact. |
However, the more flexible it is the more time it takes. |
CC1CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC1 takes 2m on my machine I think I'll throw a profiler at that |
Minimal example that doesn't require rdkit BOOST_AUTO_TEST_CASE(SlowMacrocycle)
{
auto mol = "CC1CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC1"_smiles;
BOOST_TEST(mol->getBonds()[0]->getBondOrder() == 1);
sketcherMinimizer minimizer;
minimizer.initialize(mol.get());
minimizer.runGenerateCoordinates();
const auto& atoms = minimizer.getAtoms();
sketcherMinimizerAtom* center = atoms.at(0);
BOOST_REQUIRE_EQUAL(center->getAtomicNumber(), 6);
} |
The slowdown occurs in file:
|
Ok, the general slowness on macrocycles is a known issue. We're also tracking performance issues here: #39 and in Schrödinger's internal bug tracker. We have efforts underway to sidestep this, so we'll probably incorporate these as test cases. That project is somewhat long-term, though. Your team is welcome to submit a patch if you have suggestions, of course! |
We found an issue when using coordgen with rdkit.
When activating coordgen, it is extremely slow to work with such chiral macrocycles.
Removing the chirality from the atoms makes it fast again.
(roughly 100 times slower for the given molecule).
This is a crossposted issue with rdkit rdkit/rdkit#5813
The text was updated successfully, but these errors were encountered: