From: Eric H. Lee (ericlee_at_ks.uiuc.edu)
Date: Sun Jun 07 2009 - 23:46:39 CDT

You probably want to select by atom name. For example, lets say in
your PDB file, you want to select all nitrogens of name "NA" and
oxygens of name "O1." The selection would be "name NA or name O1."
You can of course pair it down further using other criteria and
parentheses, such as "protein and (name NA or name O1)." You may not
even need to write "name" twice - a selction such as "name NA O1"
would also work I believe.

Eric H. Lee
Medical Scholars Program
Theoretical and Computational Biophysics Group, UIUC
ericlee_at_ks.uiuc.edu

On Jun 7, 2009, at 11:32 PM, Deepti Mishra wrote:

> Dear all,
>
> I am having problem in selecting the atoms with atomselect. Actually
> I want to select the diffrent types of Nitrogen or lets say Oxygen
> atoms in one command itself from different residues. Can anybody
> help me in this selection. Basically I need to know the OR keywork
> syntax like for AND we have "&&".
> I will be really thankful.
>
> Regards
> Deepti