For more information on how the MessageCallback method works in Chime
and why it can be usefull :
- every command sent to chime is displayed by this function (when you
set debug=true in the plugin parameters)


It is not clear to me exactly what you mean by 'command' in this context.
Do you mean that the text of every RasMol/Chime script statement is sent
through MessageCallBack?


RasMol commands return useful information e.g.
select HIS
returns something like 8 residues selected, I think it is very useful if every command could return something like the command how it is interpreted, in this case HIS is interpreted as residue where the correct notation is [HIS] and useful result information.
('select [HIS]','8 residues selected')


What happens if 'debug=false' is set?

To support this debug parameter the applet syntax will be:
<param name='debug' value='true'>



- when a selection is done, the number of atom selected is displayed


Is this just the count of selected atoms?


it should be appropriate, if you make an atom selection it should return
60 atoms selected
if it is a chain selection should it report the number of chains selected or the number of residues?


and if you need the information about residues you could use
show selected residues
('show selected residues','[HIS]84:A/0 (8/11)\n[HIS]93:A/0 (14/14)')
or should it report [HIS]93;A:A/0 (8/11)\n[HIS]93;B:A/0 (6/6) separately?
but lets make it better than RasMol in reporting strings which could be used directly as selection expressions.


By the way, which is the syntax to address insertion codes (which RasMol lacks)?

Is there any text or identifier that says it was a selection?


I suggest use it as first value of the return array



- when an atom is clicked, its references are given


but in correct notation, not in slang.
and we should tolerate wildcards for
 insertion code (implementation and syntax)
alternate location indicator
model
molecule (syntax)

This sounds very similar to PickCallBack ... none of this is implemented yet.

What do the atom 'references' look like?


complete like
[Gly]1:E.CA;B/0(insertion=none,molecule=1)



- show chain, show model, show information, show pdbheader, show
sequence, show view, send a message back to the user via this method.


As I recall, none of the 'show' commands are currently implemented. It
won't be difficult to do, but it hasn't happened yet.

Is the output of these commands in Chime the same as in RasMol?


better



As
Tim told, these functions are very usefull in dynamics web sites.
In the following page by Eric Martz, you can see how this works in
Chime.





http://www.umass.edu/microbio/chime/chimehow/fs_cmdln.htm


I hope we don't need an extra dummy frame:-)
Regards, Jan


This is *very* helpful for me. Thanks!



Miguel




Paul







-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to