want to select all atoms instead of only Calpha atoms
Issue #297
resolved
in this code only all C-alpha atoms for trajectory frame superposition are selected ca.inds <- atom.select(pdb, elety="CA") but i want to select all atoms also for trajectory frame then how can i select it please guide me.
Comments (3)
-
-
reporter ok i got it thank you so much
-
- changed status to resolved
- Log in to comment
Hi Ayesha,
atom.select
allows you to select the atoms you want. you can use various input arguments to this function. e.g.atom.select(pdb, "noh")
will select all non-hydrogen atoms in your PDB. Usehelp(atom.select)
for a more complete overview of your options here.Below is an example where I superimpose to the backbone atoms. Note that this assumes that your pdb and trajectory file contains the same number (and order) of atoms.
Hope this helps.