[gmx-developers] Printing the resname in g_sas

Ilya Chorny ichorny at gmail.com
Tue Jul 14 09:05:08 CEST 2009


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>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
>> 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.
>>
>
>
> --
> 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    spoel at gromacs.org   http://folding.bmc.uu.se
> _______________________________________________
> 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.
>



-- 
Ilya Chorny Ph.D.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20090714/b3dd46e3/attachment.html>


More information about the gromacs.org_gmx-developers mailing list