atom.select(pdb, "backbone")
Issue #160
resolved
function atom.select currently returns all atoms with name N,CA,C,O. e.g. a bunch of water molecules are returned in the following example (129 C-alpha atoms):
pdb = read.pdb("1hel")
sel = atom.select(pdbfull, "back")
trim.pdb(pdb, sel)
Call: trim.pdb(pdb = pdb, sel)
Total Models#: 1
Total Atoms#: 701, XYZs#: 2103 Chains#: 1 (values: A)
Protein Atoms#: 516 (residues/Calpha atoms#: 129)
Nucleic acid Atoms#: 0 (residues/phosphate atoms#: 0)
Non-protein/nucleic Atoms#: 185 (residues: 185)
Non-protein/nucleic resid values: [HOH (185) ]
Protein sequence:
KVFGRCELAAAMKRHGLDNYRGYSLGNWVCAAKFESNFNTQATNRNTDGSTDYGILQINS
RWWCNDGRTPGSRNLCNIPCSALLSSDITASVNCAKKIVSDGNGMNAWVAWRNRCKGTDV
QAWIRGCRL
+ attr: atom, helix, sheet, seqres, xyz,
calpha, call
Comments (2)
-
-
- changed status to resolved
Looks to be solved.
- Log in to comment
Good spot! We need to add "prot.aa" to the amino acid field. Have done it with the latest commit