MDAnalysis / UserGuide

User Guide for MDAnalysis
https://userguide.mdanalysis.org
22 stars 33 forks source link

Quickstart guide #1

Closed lilyminium closed 4 years ago

lilyminium commented 5 years ago

Story: As a molecular dynamics user, I want to set up MDAnalysis quickly and easily, so that I can move onto further analysis.

Story: As a molecular dynamics user, I want to convert my AMBER trajectory into a GROMACS format, so that I can use the GROMACS analysis tools on it.

Acceptance criteria:

Current state

A survey of recent mdnalysis-discussion group questions found few questions about absolute basic MDAnalysis, although there is general confusion in how to write out trajectory coordinates. This suggests that the current MDAnalysis tutorial is doing a decent job. Many of the analysis-related questions were really asking whether a particular analysis had been implemented, or how to use it, likely because the tutorial only shows RMSD and the current docs can be confusing.

Proposal

A Jupyter notebook tutorial so that users can follow online or download and modify the resource. This will pull liberally from the existing MDAnalysis tutorial, as an express version without exercises.

Sections:

  1. Link to page on installation.
  2. Load in a Universe.
  3. Writing out coordinates.
  4. Basic introduction to AtomGroups, ResidueGroups, SegmentGroups.
  5. Selecting atoms.
  6. Trajectories and positions.
  7. Universe persistence.
  8. Introduction to Analysis and modules.
richardjgowers commented 5 years ago

Re coordinate writing: I suspect that some people might just be using MDA to go from one traj format to another (ie using it like openbabel). This might be so they can take their X format results and use it in Y format's analysis tools. I think we once floated ideas of having a little command line utility for doing this sort of conversion. Maybe this is a story in itself? I.e. I don't want to actually use MDAnalysis, just turn my TRR into a DCD.

lilyminium commented 5 years ago

Thanks @richardjgowers, I added that to the issue and rearranged the order of the guide to suit. mdtraj has a similar tool called mdconvert but the available formats look quite a bit more limited. Passing in selection strings and strides could make that utility really useful -- even within GROMACS trajectories, putting together an index file to process them can be annoying.

orbeckst commented 5 years ago

If we want scripts/mini-tools then we would likely put them into a separate package & repo. A simple converter would be a good start to prototype the whole thing.

(Writing this code is not really part of GSoD but we can certainly discuss it here...)

orbeckst commented 5 years ago

Btw, there's a FAQ https://github.com/MDAnalysis/mdanalysis/wiki/FAQ#how-can-i-convert-a-dcd-file-to-a-trr-file

orbeckst commented 4 years ago

Stupid question: shouldn't this issue be closed, given that you created a Quickstart Guide? Or is something missing?

lilyminium commented 4 years ago

I left it open so I'd remember to go through and link to pages that didn't exist when I made the guide, e.g. the formats overview, topology system, and so on.