[gmx-users] convert xtc to ASCII file

Mark Abraham mark.j.abraham at gmail.com
Wed Mar 23 19:50:12 CET 2016


Hi,

Or probably gmx traj -s -f -n -ox will write an index group from a
trajectory to an .xvg text file. But generally one should consider other
ways to handle raw coordinates.

Mark

On Wed, Mar 23, 2016 at 7:19 PM Justin Lemkul <jalemkul at vt.edu> wrote:

>
>
> On 3/23/16 2:15 PM, Athina Meletiou wrote:
> > Hello all,
> >
> > I've been wondering if there is a way to convert a Gromacs xtc
> trajectory to a plain text file. I've tried Openbabel as it appears to be
> possible but unfortunately it crashes without a warning. Is there maybe a
> Gromacs tool that can do the conversion?
> >
> > Also, as I'm interested in writing only the carbon atoms and not the
> hydrogens, I've looked at trjconv to see if I could at least do the
> selection of atoms using that, as it's specified in trjconv's manual that
> it can select a subset of atoms. However I've been looking at how to do
> that but I can't find it in the help menu of the program, so  I was
> wondering if it's not as straightforward as just selecting a subset of
> atoms through trjconv and maybe it can olny be done after writing a
> suitable index file?
> >
>
> Yes, this is exactly the function of an index file.  trjconv can output
> the .xtc
> contents in, e.g. a multi-frame PDB file by choosing that as the output
> type.
>
> -Justin
>
> > Any hints would be greatly appreciated :)
> >
> > Thank you all very much in advance.
> >
> > Best regards,
> > Athina
> >
> >
> >
> >
> > This message and any attachment are intended solely for the addressee
> > and may contain confidential information. If you have received this
> > message in error, please send it back to me, and immediately delete it.
> >
> > Please do not use, copy or disclose the information contained in this
> > message or in any attachment.  Any views or opinions expressed by the
> > author of this email do not necessarily reflect the views of the
> > University of Nottingham.
> >
> > This message has been checked for viruses but the contents of an
> > attachment may still contain software viruses which could damage your
> > computer system, you are advised to perform your own checks. Email
> > communications with the University of Nottingham may be monitored as
> > permitted by UK legislation.
> >
>
> --
> ==================================================
>
> Justin A. Lemkul, Ph.D.
> Ruth L. Kirschstein NRSA Postdoctoral Fellow
>
> Department of Pharmaceutical Sciences
> School of Pharmacy
> Health Sciences Facility II, Room 629
> University of Maryland, Baltimore
> 20 Penn St.
> Baltimore, MD 21201
>
> jalemkul at outerbanks.umaryland.edu | (410) 706-7441
> http://mackerell.umaryland.edu/~jalemkul
>
> ==================================================
> --
> Gromacs Users mailing list
>
> * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before
> posting!
>
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or
> send a mail to gmx-users-request at gromacs.org.
>


More information about the gromacs.org_gmx-users mailing list