Hi Elaine,<br> Thank you so much for answering all my doubts. I am now able to calculate SASA for all frames by modifying the code posted on the site.<br><br>Thanks alot. <br><br>Aditya<br><br><div class="gmail_quote">On Wed, Nov 3, 2010 at 9:02 PM, Elaine Meng <span dir="ltr"><<a href="mailto:meng@cgl.ucsf.edu">meng@cgl.ucsf.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Aditya,<br>
There is no way to get the average without calculating it for each step first. Or, you could calculate average coordinates (with some other program, Chimera does not have this function now) and then calculate the SASA for those coordinates, but it would be different than the average of SASA over all the steps.<br>
<br>
The way to do anything automatically for a whole trajectory is to use the "per-frame scripting" in the MD Movie tool, as described in #3 of my earlier reply. That would not make it any faster, however, but it would automatically use the python script to save a file with SASA information at each step. See that earlier message for how to get and use the script.<br>
<<a href="http://plato.cgl.ucsf.edu/pipermail/chimera-users/2010-October/005693.html" target="_blank">http://plato.cgl.ucsf.edu/pipermail/chimera-users/2010-October/005693.html</a>><br>
<div class="im"><br>
Elaine<br>
-----<br>
Elaine C. Meng, Ph.D.<br>
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab<br>
Department of Pharmaceutical Chemistry<br>
University of California, San Francisco<br>
<br>
<br>
<br>
</div><div><div></div><div class="h5">On Nov 2, 2010, at 8:43 PM, Aditya Padhi wrote:<br>
<br>
> Hi Elaine,<br>
> As per your guidance, I am now able to calculate SASA for the trajectories of AMBER MD simulation of my protein. But I have 1200 frames and I need to calculate SASA for each and every frame. As u told, I can calculate by fixing each frame. But it seems to be very time taking and not favorable. Is there any way so that I can calculate SASA as an average among all the frames or most favorable would be to get SASA for all 1200 frames automatically rather going for individual ones.<br>
> If you have any such script/relevant idea , kindly help me in this regard.<br>
><br>
> Thanking you.<br>
> Aditya.<br>
<br>
</div></div></blockquote></div><br><br>