[chimerax-users] using variables in command files

Pranav Shah p.shah.lab at gmail.com
Fri Jun 24 05:57:01 PDT 2022


Hi Team,
Is it possible for one to declare a variable in a command file that
can then be passed to via the chimeraX command line interface. A
minimal example of something I would like to do is -
command.cxc
open $file
color radial palette rainbow
save $outfile.png height 512 width 512 transparentBackground True

In the chimeraX command line window I would then like to run
open command.cxc infile.mrc outfile.png
Best,
Pranav
--
Pranav Shah
Postdoctoral Research Fellow.

Division of Structural Biology,
Wellcome Trust Centre for Human Genetics,
University of Oxford,
Roosevelt Drive, Oxford OX3 7BN,
UK


More information about the ChimeraX-users mailing list