Re: [PyMOL] selecting multiple, non-adjacent chains

2009-10-17 Thread Warren DeLano
Sean,

There is also a more concise option:

select allothers, chain 0:4+C:J+L:Z

Or even more concise, using selection macro: chain/residue/atom

select allothers, 0:4+C:J+L:Z//

Cheers,
Warren

-Original Message-
From: Marius Retegan [mailto:marius.s.rete...@gmail.com] 
Sent: Thursday, October 15, 2009 7:13 AM
To: Sean Moore
Cc: pymol-users@lists.sourceforge.net
Subject: Re: [PyMOL] selecting multiple, non-adjacent chains

Try this one

select allothers, chain 0:4 or chain C:J or chain L:Z

Marius

On Thu, Oct 15, 2009 at 3:34 PM, Sean Moore semo...@mail.ucf.edu wrote:
 Hello,

 I am trying to find an easier way to select multiple chains at once in
 a large file with many chains (PDB 2i2t).  The chain assignments
 exceed z and start again at 0 at the beginning of the chain list.

 In an effort to select chain 0-4, skip chain A+B, select chain C-J,
 skip chain K, and select the remaining L-Z, I have tried (among other
 things):

 select allothers, chain 0-4 and C-J and L-Z (the dashes don't seem to
 work for select)
 select allothers, chain 0:4 and C:J and L:Z
 select allothers, chain 0:4 and chain C:J and chain L:Z
 select allothers, (chain 0:4) and (chain C:J) and (chain L:Z)

 selecting chain 0+4 works, and selecting chain 0:4 works.

 As it stands I have to click all of the chains then rename the
 selection which leads to mistakes.

 Any help is appreciated.



 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 ___
 PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
 Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
 Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net






--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net


[PyMOL] selecting multiple, non-adjacent chains

2009-10-15 Thread Sean Moore
Hello,

I am trying to find an easier way to select multiple chains at once in  
a large file with many chains (PDB 2i2t).  The chain assignments  
exceed z and start again at 0 at the beginning of the chain list.

In an effort to select chain 0-4, skip chain A+B, select chain C-J,  
skip chain K, and select the remaining L-Z, I have tried (among other  
things):

select allothers, chain 0-4 and C-J and L-Z (the dashes don't seem to  
work for select)
select allothers, chain 0:4 and C:J and L:Z
select allothers, chain 0:4 and chain C:J and chain L:Z
select allothers, (chain 0:4) and (chain C:J) and (chain L:Z)

selecting chain 0+4 works, and selecting chain 0:4 works.

As it stands I have to click all of the chains then rename the  
selection which leads to mistakes.

Any help is appreciated.



--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net


Re: [PyMOL] selecting multiple, non-adjacent chains

2009-10-15 Thread Marius Retegan
Try this one

select allothers, chain 0:4 or chain C:J or chain L:Z

Marius

On Thu, Oct 15, 2009 at 3:34 PM, Sean Moore semo...@mail.ucf.edu wrote:
 Hello,

 I am trying to find an easier way to select multiple chains at once in
 a large file with many chains (PDB 2i2t).  The chain assignments
 exceed z and start again at 0 at the beginning of the chain list.

 In an effort to select chain 0-4, skip chain A+B, select chain C-J,
 skip chain K, and select the remaining L-Z, I have tried (among other
 things):

 select allothers, chain 0-4 and C-J and L-Z (the dashes don't seem to
 work for select)
 select allothers, chain 0:4 and C:J and L:Z
 select allothers, chain 0:4 and chain C:J and chain L:Z
 select allothers, (chain 0:4) and (chain C:J) and (chain L:Z)

 selecting chain 0+4 works, and selecting chain 0:4 works.

 As it stands I have to click all of the chains then rename the
 selection which leads to mistakes.

 Any help is appreciated.



 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 ___
 PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
 Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
 Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net