Hi Vinu
The anwser is at
http://www.stolaf.edu/academics/chemapps/jmol/docs/?ver=11.1#atomexpre
ssions
If your sequence is stored in a javascript variable "seq", using one-
letter amino acid code, then you should use something like
jmolScript('select within("'+ seq + '",all)')
(be careful with the quotation marks: the sequence must be enclosed
in double quotes,
so I am using single quotes for the javascript concatenation)
If you want to select just some part of the residues in the sequence,
use an expression instead of "all" above. For example,
jmolScript('select within("'+ seq + '",alpha)')
for alpha carbons.
Good luck
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users