[Chimera-users] PyChimera addCharge
Elaine Meng
meng at cgl.ucsf.edu
Thu Oct 15 09:13:03 PDT 2020
In case you didn't already know, PyChimera has its own User Guide here:
<https://pychimera.readthedocs.io/en/latest/>
PyChimera is developed by our friends in Barcelona (Maréchal group).
For examples, Joe Healey has some PyChimera scripts on github, but they may not be similar to what you want to do:
<https://github.com/jrjhealey/chimera>
Elaine
> On Oct 15, 2020, at 8:52 AM, Elaine Meng <meng at cgl.ucsf.edu> wrote:
>
> Hi Matas,
> I don't know if you need pychimera to do it. Seems like you could just do it with Chimera commands "addcharge" (with "addh" first if the structures didn't have hydrogens) and "write" with the "format mol2" option.
>
> <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/addcharge.html>
> <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/write.html>
>
> Figure out which commands and their options work the way you want, and then see here for how to use python to loop through input files and apply Chimera commands to each:
> <http://www.rbvi.ucsf.edu/chimera/docs/ProgrammersGuide/basicPrimer.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 Oct 15, 2020, at 3:39 AM, Matas Tiskus <tiskusm at gmail.com> wrote:
>>
>> Hello,
>> I was looking for ways to add charges to protein structures in a python script and write a .mol2 file. I believe it is possible to do with importing pychimera into the script, but i can't seem to make it work. How would the code for this purpose look like?
>> Matas
>
>
> _______________________________________________
> 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