-
Notifications
You must be signed in to change notification settings - Fork 1
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
Create OpenBabelReader to convert OpenBabel OBMol to MDAnalysis AtomGroup #5
Comments
@lunamorrow @cbouy you have here to an AtomGroup. What you probably want is to a Direct to AtomGroup is probably not what you want. |
Important in this as well is that RDKitReader is a subclass of |
Just to make sure we all are on the same page in case there's any misunderstanding on the goal of the different classes that are set up for converters:
Hope this helps! |
Ahhh ok, thanks @hmacdope and @exs-cbouy. I was planning to have the I suspect it would be best for me to start on the |
I haven't used openbabel much but I'm guessing it can store coordinates for each conformer on the same molecule object (like the RDKit does), in which case the Yes I would suggest doing the |
To clarify this further, @lunamorrow by trajectory here we just mean "any set of coordinate data" which much be present in ANY format, not just that with more than one frame or a traditional MD format like xtc. For example, using the |
Yes it appears so, I will double check their API to be safe.
Great I'll get going on that first then
Thanks for the clarification @hmacdope! I didn't know you could just feed in a numpy array too, that is really cool. |
The Parser (to convert atom attributes) component of the conversion from OBMol to Universe is done so I am now starting on the Reader to convert the positions and trajectory. |
All done, as per #16 |
Oops closed the wrong issue |
The first step of this OpenBabel converter will be to convert OpenBabel OBMols to MDAnalysis AtomGroups. This will enable the indirect parsing of over 100 file types into a format that MDAnalysis tools can analyse.
The
OpenBabelReader
will take an OBMol and correctly convert it to an AtomGroup. This Class will need to account for different attributes in OBMol objects formed from different file types, and will exploit the OpenBabel python wrappers for easy access of attributes. The resulting AtomGroup can be analysed as is, or assigned to a Topology or a Residue/Segment.During the creation of this converter class, I will be reaching out to active OpenBabel contributors to gain advice and input about how best to develop it.
For more information and suggested implementation please see GSoC Project.
The text was updated successfully, but these errors were encountered: