from MDAnalysis.coordinates.base import Reader
from MDAnalysis.topology.base import TopologyReader
import MDAnalysis as mda
class FireflyReader(Reader):
# your code that reader timesteps (coordinates)
class FireflyTopology(TopologyReader):
# your code that reads topology information
u = mda.Universe(topologyfile, trajectoryfile, topology_format=FireflyTopology, format=FireflyReader)
Before all, excuse me for stupid questions because it is my first try in participating in open-source projects. I have made clone and commit changes into "develop" branch of it: https://code.google.com/r/comconadin-gamess-mda/source/list?name=develop
Were it correct manipulations?
I've created GMSReader class that reads output files of GAMESS and add it to coordinates/__init__. Then I've created TestCase class in corresponding testing file and add GAMESS datafiles into the directory.
Should I create Topology reader for GAMESS output? I do not understand the aim of it, because GAMESS output have no information except atom names, atom elements, and coordinates. For my purposes I simply convert GAMESS log into XYZ with babel and then work with it.
What is my next step?
суббота, 14 марта 2015 г., 2:38:04 UTC+3 пользователь Oliver Beckstein написал:Hi Alexey,
Just to add to what Richard already said: We're definitely interested in adding new formats. After all, MDAnalysis is an open source software project and we are striving to be inclusive and provide a code base that is of use to a broad community. The name "MD" in the name is really more historical – of course you can use MDAnalysis for any particle-based simulations, including Monte Carlo and the movement of nuclei in QM. (But "ParticleBasedSimulationAnalysis" is really too long to type ;-) ).
I would wait with your contribution until we have released 0.9.0 in a few days. After that, we are going to move MDAnalysis from Google Code to GitHub and then it will also be easier to fork and send pull requests. We'll then provide updated instructions on how to contribute code. So: please have a little bit of patience and then email again – especially, if you don't hear anything from us in a while: we won't mind at all being reminded that we wanted to incorporate your contribution ;-).
Thanks,
Oliver
On 13 Mar, 2015, at 03:01, Alexey Nesternko wrote:
> We have made MDAnalysis module for reading Firefly/GAMESS trajectories for our needs. Is it possible to include them into distributive? Of course Firefly/GAMESS is not "MD" but during ab initio topology construction it is very important to have trajectories calculated with QM and repeat them in MD. I mean trajectories of energy minimization, sadpoint search, potential energy surface scan or relaxed surface scan. What do you think about it?
--
Oliver Beckstein * orbe...@gmx.net
skype: orbeckst * orbe...@gmail.com
--
You received this message because you are subscribed to the Google Groups "MDnalysis-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mdnalysis-dev...@googlegroups.com.
To post to this group, send email to mdnalys...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mdnalysis-devel/708287d8-aeab-4d64-b3c7-08a1a5c25b3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.