[gmx-developers] Printing the resname in g_sas

Berk Hess hess at cbr.su.se
Tue Jul 14 09:12:45 CEST 2009


Hi,

Search for resname in for instance src/gmxlib/pdbio.c

Berk

Ilya Chorny wrote:
> I did, but its still not clear. 
>
> On Mon, Jul 13, 2009 at 11:57 PM, David van der Spoel
> <spoel at xray.bmc.uu.se <mailto:spoel at xray.bmc.uu.se>> wrote:
>
>     Ilya Chorny wrote:
>
>         I would like g_sas to print the resname in addition to the
>         residue number for the -or output.
>         How do I print the residue name?
>
>         g_sas has a t_atoms structure called atoms( i.e.t_atoms
>         *atoms). &atoms[i].resname should print the residue name
>         associated with atom i, correct. I can't seem to get it to
>         work. I'm fairly new to editing gromacs code so I apologize
>         for my naivety.
>
>     check include/types/atoms.h
>     it is quite complicated unfortunately.
>
>
>
>         Thanks,
>
>         Ilya
>
>
>
>         -- 
>         Ilya Chorny Ph.D.
>
>
>         ------------------------------------------------------------------------
>
>         _______________________________________________
>         gmx-developers mailing list
>         gmx-developers at gromacs.org <mailto:gmx-developers at gromacs.org>
>         http://lists.gromacs.org/mailman/listinfo/gmx-developers
>         Please don't post (un)subscribe requests to the list. Use the
>         www interface or send it to gmx-developers-request at gromacs.org
>         <mailto:gmx-developers-request at gromacs.org>.
>
>
>
>     -- 
>     David van der Spoel, Ph.D., Professor of Biology
>     Molec. Biophys. group, Dept. of Cell & Molec. Biol., Uppsala
>     University.
>     Box 596, 75124 Uppsala, Sweden. Phone:  +46184714205. Fax:
>     +4618511755.
>     spoel at xray.bmc.uu.se <mailto:spoel at xray.bmc.uu.se>  
>      spoel at gromacs.org <mailto:spoel at gromacs.org>  
>     http://folding.bmc.uu.se
>     _______________________________________________
>     gmx-developers mailing list
>     gmx-developers at gromacs.org <mailto:gmx-developers at gromacs.org>
>     http://lists.gromacs.org/mailman/listinfo/gmx-developers
>     Please don't post (un)subscribe requests to the list. Use the www
>     interface or send it to gmx-developers-request at gromacs.org
>     <mailto:gmx-developers-request at gromacs.org>.
>
>
>
>
> -- 
> Ilya Chorny Ph.D.
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gmx-developers mailing list
> gmx-developers at gromacs.org
> http://lists.gromacs.org/mailman/listinfo/gmx-developers
> Please don't post (un)subscribe requests to the list. Use the 
> www interface or send it to gmx-developers-request at gromacs.org.




More information about the gromacs.org_gmx-developers mailing list