Coloring and Subcluster Matching
Jump to navigation
Jump to search
Written by Jiankun Lyu on March 31st, 2021.
Generate colored matching spheres
Create a directory and copy necessary files from your original receptor preparation folders
set workdir = /where you want to run your coloring and subcluster matching/ mkdir -p ${workdir} cd ${workdir} cp /your receptor preparation folders/dockfiles . -r cp /your receptor preparation folders/INDOCK INDOCK_ori cp /your receptor preparation folders/xtal-lig.pdb . cp /your receptor preparation folders/working/rec.crg.pdb . cd dockfiles $DOCKBASE/proteins/showsphere/doshowsph.csh matching_spheres.sph 1 matching_spheres.pdb
Generate colored matching spheres
cd ../ /nfs/soft/chimera/current/bin/chimera --nogui --script "/mnt/nfs/ex5/work/jklyu/color_matching/scripts/color_matching_spheres.py rec.crg.pdb xtal-lig.pdb dockfiles/matching_spheres.pdb"
The script generated two matching sphere files: matching_spheres.vis.sph for visualization in Chimera (spheres with different chemical features such as hbond acceptors/donors etc represent in different colors); matching_spheres.cl.sph is the matching sphere file that can be passed to DOCK3.8 and used in the color matching calculation.