[chimerax-users] How to do repetitive task using Python or command line in ChimeraX?
이서원
selcia20 at snu.ac.kr
Wed Apr 8 22:21:23 PDT 2020
Hello,
I think I'm good at dealing with the previous Chimera command line,
and I'm learning Python coding and ChimeraX little by little.
In Chimera, I was able to apply the Chimera command to a Python script
using runCommand.
So, I wrote some python scripts for Chimera, such as automatically
coloring or cropping maps and/or models based on the target
specification list in plain text.
However, I think there's no python modules like runCommand, and I
don't know how to repetitively input specifications by .cxc files. (Do
I have to make as many .cxc files as there are variables?)
Also I tried to understand the ChimeraX developer tutorial, but I
failed to import color functions on chimeraX Python Shell.
(Experimental API
Is there any fancy way to create a .cxc file that executes by
sequentially inputting variables in the list?
Or, How to import python modules such as color functions?
(https://www.cgl.ucsf.edu/chimerax/docs/devel/core/commands/user_commands.html)
Best regards, Seowon
______________________________________________________________________________________
이 서 원 | Selcia Seowon Lee
selcia20 at snu.ac.kr
Laboratory of Molecular Imaging , Ph.D. Candidate
Department of Biological Sciences, College of Natural Sciences
Seoul National University, Gwanak-gu Gwanak-ro 1, Bldg105 Rm109, Seoul
08826, Korea
More information about the ChimeraX-users
mailing list