Hello,
Is anyone aware of a simple Linux program or script that provides a list of protein residues with at least one atom located at a certain distance from a ligand?
I have done this many times with PyMol or Chimera, among others, but now I do not need a fancy GUI, just some simple code that returns a list of residues.
Best regards,
Miro
I've also had to do neighbor searching through a script. In my case I created my own python script using the Biopython library (guide here), which handles PDB parsing for you. I ended up using
neighbor = Bio.PDB.NeighborSearch(atoms)
(where atoms is a list of Biopython atom objects) object and calling theneighbor.search_all(radius, level='R')
method. That returned all pairs of residues with at least one atom within some radius distance. I then filtered the pairs for what I was looking for. So if creating your own script is an option, then Biopython might be helpful.Thank you. I have ended up using Binana (http://nbcr.ucsd.edu/data/sw/hosted/binana/) which is a bit of an overkill but gets the job done and I might end up using it also for more sophisticated purposes.