Angel's probably got the best idea. You can do that by using the extended
select command:

 select {*.ca} (resno % 2 == 0)

for example. That is, you can do any math you want on any atom property by
including it in parentheses after the selection in braces. But whether or
not you can connect them.... I guess they are in order in the file. Maybe
it's simplest just to do a FOR loop.


2011/1/3 Angel Herráez <[email protected]>

> > Is there some way I can delete every other alpha carbon? Or filter to
> > get only the alternate ones, or every third or fourth?
>
> Would it be a solution to pick them by residue number? I think it should be
> possible to check
> that in JmolScript / JmolMath and whether it divdes by 2 or 3 without
> remainder.
> But of course you would need to iterate over every chain.
>
>
> > I could come up with a way to connect them using "connect"
>
> I'm not sure a connect would give an easy solution. If t's just for
> display, I would try draw
> instead. I think we have polylines now in draw.
> But any user manipulation from popup menu will destroy that. Or maybe not,
> since drawn
> objects are not available from menu.
>
>
>
>
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment,
> and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to