[gmx-users] xtc files

David van der Spoel spoel at xray.bmc.uu.se
Tue Mar 14 08:48:17 CET 2006


YOLANDA SMALL wrote:
> Hi All,
> 
> How do I convert xtc files exported for a subset of atoms in my system to pdb
> files?
> 
> When I run trjconv, I get the following error message:
> 
> Fatal error: Index[0] 3611 is larger than the number of atoms in the trajectory
> file (3152)
> 
> In my mdp file I specify the option 'xtc_grps' to export a subset of solvent and
> protein atoms to an xtc file. This subset of atoms is defined in my index file
> and contains 3152 atoms. Then I discard the .trr files to save space.  It looks
> like the atom index gets renumbered from 1 in the new .xtc file so that the new
> atom indeces no longer correspond to the atoms in the original coordinate file.
>  How do I recover the coordinates with matching atom names from the .xtc file?
> 
you need to make an inverse index files.
First you had a selection
1   --> 1
3   --> 2
5   --> 3
7   --> 4
11  --> 5
13  --> 6

Now you have to generate the inverse of your xtc-grp


> Thanks,
> Yolanda
> 
> _______________________________________________
> gmx-users mailing list    gmx-users at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-users
> Please don't post (un)subscribe requests to the list. Use the 
> www interface or send it to gmx-users-request at gromacs.org.
> Can't post? Read http://www.gromacs.org/mailing_lists/users.php


-- 
David.
________________________________________________________________________
David van der Spoel, PhD, Assoc. Prof., Molecular Biophysics group,
Dept. of Cell and Molecular Biology, Uppsala University.
Husargatan 3, Box 596,  	75124 Uppsala, Sweden
phone:	46 18 471 4205		fax: 46 18 511 755
spoel at xray.bmc.uu.se	spoel at gromacs.org   http://folding.bmc.uu.se
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



More information about the gromacs.org_gmx-users mailing list