Dear Researchers and MDAnalysis Development Group,
I’m an undergraduate student interesting in the study of Molecular Dynamics (MD). I would like to use MDAnalysis library as an alternative to GROMACS and MOLDEN, but I have a problem installing and importing this library in my enviroment, I´m using Google Colaboratory (Colab), because is a free service on cloud, as far as I understand, Colab is capable to compile C/C++ by default, so I was trying pip install method. Then here starts my problems:
Problems installing and importing MDAnalysis on Google Colaboratory
Is important to mention that Colab now only works on Python 3. Recently I published a question on Stack Overflow detailing what I did (https://stackoverflow.com/questions/66573883/install-and-import-mdanalysis-on-google-colaboratory-for-python-problems). But I resume here:
I tried to install MDAnalysis library using: !pip install MDAnalysis, !pip3 install MDAnalysis and from GitHub with !pip install git+https://github.com/MDAnalysis/mdanalysis.git, but everything fails. I got install the library without Pythorch, writing the following code: !pip2 install MDAnalysis or !pip2.7 install MDAnalysis, that was a really great notice.
One line in Output says: Successfully installed GridDataFormats-0.5.0 MDAnalysis-1.0.1 biopython-1.76 gsd-1.7.0 mmtf-python-1.1.2 tqdm-4.59.0
Despite I have “installed” MDAnalysis I figured out that I can´t import the library, I don´t know why. I simply get that library is not found.
Output: ModuleNotFoundError: No module named 'MDAnalysis'
Resuming my problem in one question: Is it possible to use MDAnalysis in Google Colaboratory?
Questions about applications of MDAnalysis
I’m starting in MD, so, I want to know what kind of projects is it posible to do using MDAnalysis? And some cases, if is it posible, receive recommendations about how. I would like to make three questions:
1. 1. How to simulate water vibrational states? Is basic but I'm not sure about where start, more than by defining the universe.
2. I have a school Project related to heat transfer, I would like to face it with MD, but i would like, if is posible, simulate a complicated system (from my point of view) with MDAnalysis. My simulation implicate a group of 10nm magnetite particles, a kind of surfractant particles and kerosene molecules, all of them confined. The phenomen that I want to analyse is heat tranfer by conduction and convection under influence of a magnetic field. But using MD I’m going to focus on convection, so I would like to get information about trajectories and impact of magnetite particles over kerosene molecules dynamics. MDAnalysis is capable to define the magnetic field? Or is necesary to use other library? And, one can describe easily confinement space when declare the universe? Or I will have to define an infinite well? There is some advices about this specificly system?
3. What kind of self-assembled systems can be studied with MDAnalysis? Is this a common practice between MDAnalysis users?
I know that molecular dynamics isn´t trivial and I respect all the research that you carried out, but I wanted to take advantage of this space to find answers that I will never find in other forum, clarify my expectations about MDAnalysis and how to use it smartly. Thaks for your time and have a great day.
Coordial Greetings.
3. What kind of self-assembled systems can be studied with MDAnalysis? Is this a common practice between MDAnalysis users?
--
You received this message because you are subscribed to the Google Groups "MDnalysis discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mdnalysis-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mdnalysis-discussion/b2c95eae-750e-438a-bc12-c306cf44f1b0n%40googlegroups.com.
I might be misunderstanding what you mean here (apologies if that is the case). By your questions it seems like you are looking to run MD simulations with MDAnalysis?MDAnalysis isn't an MD engine, it is instead a library for handling and analysing coordinates generated by molecular simulation engines.
That being said, looking at the stackoverflow, I have a suspicion that it might be down to the same issue with 1.0.1 that is preventing installation on Windows machines. Can you try installing version 1.0.0 instead of 1.0.1?
/usr/local/lib/python3.7/dist-packages/MDAnalysisTests/__init__.py:126: MatplotlibDeprecationWarning:
The 'warn' parameter of use() is deprecated since Matplotlib 3.1 and will be removed in 3.3.
If any parameter follows 'warn', they should be pass as keyword, not positionally.
matplotlib.use('agg', warn=False)
If that doesn't work, probably the easiest way to debug the whole thing would be to try a manual installation by cloning the MDAnalysis repository (i.e. doing something like what is described here: https://userguide.mdanalysis.org/stable/contributing_code.html). Doing a `python setup.py develop` call (instead of the pip install -e . defined in the userguide) should output enough information for us to work out what is going wrong.
--
You received this message because you are subscribed to a topic in the Google Groups "MDnalysis discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mdnalysis-discussion/eRwcMbZIYxs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mdnalysis-discus...@googlegroups.com.
I added a google colab notebook page for you to browse to see how i'm installing conda. The first cell uses condacolab and it's worthwhile to read the docs if you haven't. If the server crashes that's normal :). If you run the next cell it will install the mdanalysis. You can run it by you see I call python scripts in the next cell.
I use mdanalysis to generate the data to output to files on the server. When those data files are created in the next cell I use plotly to then render the data. I do this because if you launch a notebook inside of a google server to render plotly then the communication between the notebook inside to the notebooke outside is a complete mess. I update the files using github and rsync it between the platforms. It's stupid but I found out most science folk in my department like google drive as a platform to make comments...^this one took me awhile to get going (~2-3 hours) so I'll show some unpublished work if you would like.
3. What kind of self-assembled systems can be studied with MDAnalysis? Is this a common practice between MDAnalysis users?
I use MDAnalysis to study polymers, more specifically polysaccharides, and surprisingly self-assembly. Haven't published it yet but I've got like a lot of work coming soon to the open access world. I've been enjoying GROMACS and with MDAnalysis it's awesome. Lots of automation can be done - still working on my mdanalysis plotly integration. There's a couple of others in my department that also use this software to study their stuff.
On Sat, Mar 13, 2021 at 12:45 PM Irfan Alibay <ial...@mdanalysis.org> wrote:
Hi,Welcome to MDAnalysis!> I’m starting in MD, so, I want to know what kind of projects is it posible to do using MDAnalysis?and> I would like to use MDAnalysis library as an alternative to GROMACS and MOLDENI might be misunderstanding what you mean here (apologies if that is the case). By your questions it seems like you are looking to run MD simulations with MDAnalysis?MDAnalysis isn't an MD engine, it is instead a library for handling and analysing coordinates generated by molecular simulation engines.I'm sure other users can jump in here with suggestions on alternative software to run the types of simulations you are interested in.> Problems installing and importing MDAnalysis on Google ColaboratoryIt's not really clear what is going on here. Google Colab is a bit of strange ecosystem (at least to me), so I don't think any of the devs have actively looked at using MDA there.That being said, looking at the stackoverflow, I have a suspicion that it might be down to the same issue with 1.0.1 that is preventing installation on Windows machines. Can you try installing version 1.0.0 instead of 1.0.1?If that doesn't work, probably the easiest way to debug the whole thing would be to try a manual installation by cloning the MDAnalysis repository (i.e. doing something like what is described here: https://userguide.mdanalysis.org/stable/contributing_code.html). Doing a `python setup.py develop` call (instead of the pip install -e . defined in the userguide) should output enough information for us to work out what is going wrong.Best regards,Irfan
--
You received this message because you are subscribed to the Google Groups "MDnalysis discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mdnalysis-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mdnalysis-discussion/b2c95eae-750e-438a-bc12-c306cf44f1b0n%40googlegroups.com.
----Suliman SharifM.Sc Medicinal Chemistry | University of California, RiversideB.Sc. Biochemistry | University of Texas at Austin
You received this message because you are subscribed to the Google Groups "MDnalysis discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mdnalysis-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mdnalysis-discussion/CAEiFj06nczz4JNoS5TTczpVmuqys2J%3DcxEKUmkRn-zMUbWOFrw%40mail.gmail.com.
One of the best places you might want to start is the website CHARMM-GUI and read the documents on there. One of my co-workers wrote that piece of software when he was an undergradhttp://www.charmm-gui.org/ - tbh I think he really likes web apps. It will prepare and build the systems for you and prepare the files for any simulation. If you read the README's it actually also gives you the commands to run on your personal or cluster environment. When I first started MD - took me about a 3-4 days to get the files I needed for a simple polymer.
--
You received this message because you are subscribed to the Google Groups "MDnalysis discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mdnalysis-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mdnalysis-discussion/CAEiFj05D5_1F3HKXTViOB0Xv8FNGCC73kTZSJd-D7JyJY7wXpg%40mail.gmail.com.