[Chimera-users] editing session file
Elaine Meng
meng at cgl.ucsf.edu
Tue Mar 2 08:31:16 PST 2021
Oops, should be "Olivier" ... sorry for spelling your name wrong!
Elaine
> On Mar 2, 2021, at 8:19 AM, Elaine Meng <meng at cgl.ucsf.edu> wrote:
>
> Hi Oliver,
> Sorry, there is no way simply to replace one atomic model in the session with another. (It does not simply refer to a filename.)
>
> You can open the original session, then also open the new atomic model (e.g.proteinB.pdb), and then use the command "mcopy" to copy the settings of the first model proteinA.pdb to the new one. Then you can close the first model, and then save a new session. However, the model number of proteinB.pdb in the session won't be the same as the model number of proteinA.pdb in the original session.
>
> The "mcopy" manual page includes examples:
> <https://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/mcopy.html>
>
> I hope this helps,
> Elaine
> -----
> Elaine C. Meng, Ph.D.
> UCSF Chimera(X) team
> Department of Pharmaceutical Chemistry
> University of California, San Francisco
>
>> On Mar 2, 2021, at 6:55 AM, Olivier Bignucolo <olivier.bignucolo at unil.ch> wrote:
>>
>> Dear Chimera-users,
>>
>> I am new to Chimera.
>> I saved a session.py file that manages the appearance of, say, folder1/proteinA.pdb.
>> I would like to apply exactly the same formats, colors, etc... to proteinB.pdb located in folder2.
>>
>> I edited session.py but was unable to find out how to do it. It seems that the python script does not contain any line like:
>> "open("filename","r") or anything similar.
>>
>> How can I reuse session.py for a new pdb file?
>>
>> Thanks
>> Olivier
>
>
> _______________________________________________
> Chimera-users mailing list: Chimera-users at cgl.ucsf.edu
> Manage subscription: https://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
More information about the Chimera-users
mailing list