[gmx-users] get dihedrals in 0 to 360 degrees instead of -180 to +180 degrees

GAYATHRI S gayathri.s at iitb.ac.in
Thu Sep 10 13:07:09 CEST 2015


Thank you very much.
That was helpful.

Regards,
Gayathri S.



> Hi,
>
> I'm assuming you are measuring more than one dihedral (since you are using
> the -all option). So assuming  columns 2 to 5 correspond to the measured
> dihedrals:
>
> awk '{print $1,($2+180),($3+180),($4+180),($5+180)}' angaver.xvg > new_
> angaver.xvg
>
> This should do the trick.
>
> Regards,
>
>
> On 10 September 2015 at 08:47, GAYATHRI S <gayathri.s at iitb.ac.in> wrote:
>
>> Hello everyone,
>>
>> I simulated an NADH molecule. I want to check how each of the dihedral
>> angles changes during the simulation. To achieve the same, I used the
>> following command:
>>
>> $g_angle -f full.xtc -n dangle.ndx -ov -all -type dihedral
>>
>> I got the desired output.
>> However, the output shows angles ranging from -180 degrees to +180
>> degrees.
>> Is it possible to get the same output in 0 to 360 degrees format? If
>> yes,
>> what command should be used and in what syntax should it be used?
>>
>> Please suggest how to proceed.
>>
>> Thank you.
>>
>> Regards,
>> Gayathri.
>>
>> --
>> 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.
>>
>> The University of Dundee is a registered Scottish Charity, No: SC015096
>>
>
>
>
> --
> Catarina A. Carvalheda
>
> PhD Student
> Computational Biology Division
> School of Life Sciences
> University of Dundee
> DD1 5EH, Dundee, Scotland, UK
> --
> 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