[gmx-users] Possible Bug????

Berk Hess gmx3 at hotmail.com
Fri Jul 25 09:39:45 CEST 2008


Hi,

The eigenvector file is only stored in .trr format for coding convenience.
It was never intended to be used with trjconv etc.
But if you want to use it that way you indeed have to use editconf
to make a structure file with only the atoms you used in the analysis,
as you did.

I don't know why you want to write the eigenvectors to pdb.
They will not give you meaningful structures.

g_anaeig has several options to visualize eigenvectors.

Berk.

> Date: Thu, 24 Jul 2008 15:49:56 -0400
> From: mldaniel at pharmacy.purdue.edu
> To: gmx-users at gromacs.org
> Subject: [gmx-users] Possible Bug????
> 
> Users,
> I am having a problem when trying to convert a .trr to a .pdb using 
> trjconv.  I think there could there be a bug in the program and the 
> index group is getting confused.  Here is exactly what i am doing:
> Command:
>       trjconv -f eigenvec.trr -s prot_md.gro -o test.pdb
> Output:
> Will write pdb: Protein data bank file
> Select group for output
> Opening library file /usr/local/gromacs/share/gromacs/top/aminoacids.dat
> Group     0 (      System) has 68361 elements
> Group     1 (     Protein) has  7588 elements
> Group     2 (   Protein-H) has  3780 elements
> Group     3 (     C-alpha) has   467 elements
> Group     4 (    Backbone) has  1401 elements
> Group     5 (   MainChain) has  1867 elements
> Group     6 (MainChain+Cb) has  2307 elements
> Group     7 ( MainChain+H) has  2305 elements
> Group     8 (   SideChain) has  5283 elements
> Group     9 ( SideChain-H) has  1913 elements
> Group    10 ( Prot-Masses) has  7588 elements
> Group    11 ( Non-Protein) has 60773 elements
> Group    12 (         FLP) has    30 elements
> Group    13 (         SOL) has 60741 elements
> Group    14 (          Cl) has     2 elements
> Group    15 (       Other) has 60773 elements
> Select a group: 4
> Selected 4: 'Backbone'
> trn version: GMX_trn_file (single precision)
> Reading frame       0 time    0.000
> Back Off! I just backed up test.pdb to ./#test.pdb.1#
> 
> -------------------------------------------------------
> Program trjconv, VERSION 3.3.2
> Source code file: gmx_trjconv.c, line: 994
> 
> Fatal error:
> Index[267] 1403 is larger than the number of atoms in the trajectory 
> file (1401)
> -------------------------------------------------------
> 
> I have been able to get around this problem (really only a work around 
> this bug).  Here is what i have done:
>      editconf -f prot_md.gro -o eigenvec_base.gro -n index.ndx
> output only the Backbone atoms, and then run trjconv with the output 
> from editconf as the template file (-s file).  This then will translate 
> the .trr file to a .pdb.
> 
> Has anyone else seen this, or have any ideas???
> Thanks!
> -- 
> 
> Matthew L. Danielson
> 
> Graduate Student of Medicinal Chemistry & Molecular Pharmacology
> College of Pharmacy, Nursing, and Health Sciences
> Purdue University
> MCMP RHPH 516
> 575 Stadium Mall Drive
> West Lafayette, IN 47907-2091
> 
> (765)494-6564 office
> _______________________________________________
> gmx-users mailing list    gmx-users at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-users
> Please search the archive at http://www.gromacs.org/search before posting!
> 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

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-users/attachments/20080725/bd10c8bf/attachment.html>


More information about the gromacs.org_gmx-users mailing list