Hi,
It’s me again
😉 I wondered how I can add a help page to a re-usable ChimeraX script that is run via
runscript.
I saved the following script in my ChimeraX presets:
#Required arguments: first is the uniprot ID, second is the model ID that will be used for mapping!
alphafold fetch $1
#get the missense data
open $1 fromDatabase alpha_missense format amiss
#associate missense data to structure
mutationscores structure $2
#label each residue with matric
mutationscores label #1 amiss height 3
#define a new score called avg by avergaing over all substitution scores
mutationscores define avg fromScore amiss setAttribute true combine mean
#color by avg missense score
color byattribute r:avg $2 target csab palette palette bluered range full
#scale cartoon by acg missense score
cartoon byattribute r:avg #!$2
and then defined an alias in my startup commands so I don’t need to type the full path
alias map_missense runscript /Users/matthias.vorlaender/Documents/ChimeraX_presets/map_missense.cxc $1 $2
Is there a way to display the expected user inputs when the script is called without arguments?
Cheers,
Matthias