[chimera-dev] Save PDB and Map before fitting

Pablo Solar Rodríguez pablo.solar at delogica.com
Tue Apr 25 02:24:56 PDT 2017


 

Hello Tom, 

Thank you for your quick response. I've checked the code in my plugin
and the PDB saving works fine as I expected, even if I move the
molecule. 

My question is about saving the map. I tried to move it
(rotate&translate unchecking the 'A' in the ModelPanel) and then save it
with this code, but when I open the saved map, it is similar to the
original one and does not keep the new coordinates. This could be a
problem in my plugin, because I need to save them case of moving to get
correct results in the fitting process. 

So, how can I handle this situation? Is there any other way for saving
the new map coordinates in the same way the PDB saving does? Hope I have
explained myself correctly. 

Thank you in advance and kind regards, 

Pablo. 

El 20-04-2017 22:04, Tom Goddard escribió: 

> Here is Python code to save a PDB and a density map, also available on the Chimera Python scripts web page: 
> 
> http://plato.cgl.ucsf.edu/trac/chimera/wiki/Scripts [1] 
> 
> Tom 
> 
>> On Apr 20, 2017, at 2:09 AM, Pablo Solar Rodríguez <pablo.solar at delogica.com> wrote: 
>> 
>> Hi all, 
>> 
>> Hope everything is going fine! 
>> 
>> In my plugin, it is necessary to save the PDB and the map (ccp4) to disk before the exhaustive fitting process is executed. Is there any simple and efficient way of doing this? I've checked the scripts and haven't found anything about this and I wouldn't like to have to replicate the code from the Chimera source (OpenSave and the relative to maps).
>> 
>> This question is quite related to the previous one I made about copying a molecule.
>> 
>> Thank you all in advance and kind regards from Spain. 
>> _______________________________________________
>> Chimera-dev mailing list
>> Chimera-dev at cgl.ucsf.edu
>> http://www.rbvi.ucsf.edu/mailman/listinfo/chimera-dev
 

Links:
------
[1] http://plato.cgl.ucsf.edu/trac/chimera/wiki/Scripts
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-dev/attachments/20170425/9e65f89b/attachment.html>


More information about the Chimera-dev mailing list