Question: In Biopython-PDB, please teach me about all atoms distance
0
gravatar for hwendiv
3.3 years ago by
hwendiv0
hwendiv0 wrote:

Hello, Nice people.

I want to get all atoms distance in a PDB file by biopython

especially,

all atoms in all protein residue - all atoms in all water(HOH)

And, I want to take <2.5A

But, I don't know these methods

Please teach me.

p=PDBParser() s=p.get_structure('ID','file')

next.....?

need all atoms in all residue

need all atoms in all HOH

assembly • 2.0k views
ADD COMMENTlink modified 5 months ago by M.O.L.S10 • written 3.3 years ago by hwendiv0

Did you read this first?

http://biopython.org/wiki/The_Biopython_Structural_Bioinformatics_FAQ

ADD REPLYlink written 3.3 years ago by Medhat8.6k
0
gravatar for M.O.L.S
5 months ago by
M.O.L.S10
M.O.L.S10 wrote:

In order to get all atoms in a residue, you can either:

use the unfold_entities function inside of the Selection module in Bio.PDB. If you want all of the atoms in a residue, this means that you use the target level "A" and the entity list is the the name of your residue.

or

Use the .get_list() instance method on your residue.

Hope this helps !

ADD COMMENTlink modified 5 months ago • written 5 months ago by M.O.L.S10
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 876 users visited in the last hour