Ccp4 contact
Type | Python Script |
---|---|
Download | ccp4_contact.py |
Author(s) | Gerhard |
License | GPL |
This code has been put under version control in the project Pymol-script-repo |
Overview
The script selects residues and atoms from the list of the contacts found by CONTACT from CCP4 Program Suite (CONTACT analyses contacts between subsets of atoms in a PDB file). First, we run CONTACT on our pdb file to find interface residues. Then by using the ccp4_contact script in PyMOL we separately select residues and atoms listed in the output file. This generates two selections (atoms and residues) for each interacting chain, allowing quick manipulation of (sometimes) extensive lists in CONTACT log file.
Usage
ccp4_contact( contactsfile, selName1 = "source", selName2 = "target" )
Example 1
First use CONTACT to find interface residues/atoms in the pdb file. Once you have the log file proceed to PyMOL. Make sure you import the ccp4_contact script first.
fetch 2c7r selectCONTACTContacts 2c7r.contact, selName1=prot, selName2=dna
Download: examples/ccp4_contact_1.pml | |
This code has been put under version control in the project Pymol-script-repo |
<include src="https://raw.github.com/Pymol-Scripts/Pymol-script-repo/master/examples/ccp4_contact_1.pml" highlight="python" />