> If I type "show selected", in RasMol (v2.7.1), the list of the selected
> atoms with their respective chains and residues is displayed.
> In Chime, the same command only hilights the selected residue in orange
> in the visualisation frame.
I don't really understand this ... I will try it later

> To get the name of selected resiudes with Chime the command is "show
> residue"
> To get the numbers of selected atoms, the command is "show atom", and
> for the selected chains "show chain"
> These commands are Chime specific
I tried these out in the Chime Command-Line Example page. They seem
straightforward.


> With Chime, as these informations are sent to a javascript function,
> they can be interpreted to perform some operations such as :
> actualisation of a counter, selection of residue (the non covalent bond
> finder from Eric Martz, use these informations a lot), selction of a
> chain (for example in MolUSc to color RNA in a different color than DNA,
> I use the following selection "select nucleic and *.o2*; show chain" and
> I use the information from "show chain to select only the RNA)
I didn't understand all of that ... but OK


>> So the actual format of the output does not need to be RasMol/Chime
>> compatible ... correct?
> It's a tricky question...
> An array is very interesting to get some messages that need to be
> preformated. But for some other messages one string is sufficient (the
> command executed, the result of "show view").
> It will break compatibility with existing web pages, but in fact pages
> which use these informations are not common and will benefit from these
> changes. What do you think about receiving these informations as a
> fourth argument from the messageCallBack method ?
> - 1st : applet name
> - 2nd : string
> - 3rd : number of the message
> - 4th : array if needed
> So, when some informations come in an array, the 2nd argument could
> "tell it"
> (as I was writing this message, I received a message from Miguel
> speaking of a fourth argument too)

Per one of my other messages ...
The other possibility is to have a separate call which one can use to
enumerate all of the selected atoms. This may be more efficient than
always passing a 4th parameter.

Either a call which returned an array of atomIDs, or an iterator which
would return them one-by-one ... What do you think of that?


>> Is 'show selected residues' an existing RasMol/Chime command or a
>> 'new' command?
> It's an existing Chime command
OK


Miguel





-------------------------------------------------------
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