Replies: 3 comments 12 replies
-
Hi Josh! This is awesome. Yeah, I'm kind of torn. I like the idea of having I guess one of my reasons is that there is the possibility of treading into territory of libraries, like rdkit, which already do a fair amount of analysis, so I'd rather focus stk development on things that only it can do. Also, having stk extensions like this managed outside the library allows their authors more control over the direction and content of their work. That being said, I am happy to provide a link in the ReadMe and stk docs, and indeed usage examples in the docs, to any projects that use stk and are useful to users of stk, which I believe this would be. (Or accept PRs which add this stuff to the docs / readme) Also happy to provide input for the API / implementation, and if stk doesn't allow you to build this API then happy to discuss how that can be achived, because I think is exactly the sort of thing that stk should allow you to build (and build simply / straightforwardly). |
Beta Was this translation helpful? Give feedback.
-
Hey @joshkamm, This wrapper looks very interesting for analysis! We develop our analysis code into stko, as Lukas mentioned, but I also perform torsional analysis with my own written code and something like this could be super useful. In fact, we are interested in an extension of the stk molecule that is useful for optimisation processes, for which torsions are of interest! Do you have an accessible repo for this code, otherwise, feel free to chuck a PR to the stko link Lukas sent and we can figure out how it fits into stko (at this stage stk would probably define a new stko.Molecule/BuildingBlock/ConstructedMolecule that inherits or contain the stk equivalent). On this, I think the top two classes of your API would remain Molecule and ConstructedMolecule, but, unlike stk classes, these would now contain Atom/AtomInfo, Bond/BondInfo, Torsion/TorsionInfo (these can be calculated on the fly upon initialisation using rdkits path extraction code) and a position matrix? |
Beta Was this translation helpful? Give feedback.
-
I would argue that this is answered by the new features in stko : JelfsMaterialsGroup/stko#96 |
Beta Was this translation helpful? Give feedback.
-
I'm working on an API that wraps torsion functionality onto stk analogous to what is currently implemented for atoms and bonds.
It's under construction but looks roughly like this:
I'm working on these classes as wrappers but @lukasturcani, if any of this seems like it would fall within the scope of the stk project I could try contributing that to the stk repo itself rather than as an external wrapper. Otherwise I thought I'd post here in case anyone else finds it helpful.
Beta Was this translation helpful? Give feedback.
All reactions