Suns provides the missing search engine for the Protein Data Bank complete with a PyMOL interface:PyMOL to build search queriesPyMOL streams aligned search results into your session
Suns is through the PyMOL plugin. You can install this plugin in two ways:
    PyMOL's plugin manager (only available to latest incentive builds of PyMOL).PyMOL this way, too)PyMOLSuns search engine)Suns plugin (suns.zip).PyMOL
Plugin -> Plugin Manger from the menuInstall New Plugin tabChoose file... and select the downloaded plugin (suns.zip)PyMOL installation that uses the old Plugin Manager then you may instead run this cross-platform Python-based Suns installer to add the Suns search plugin to PyMOL.pymol-suns-search packagePyMOL and load the structure for glucose binding protein (PDB ID: 2GBP). You can either:Plugin -> PDB Loader Service menu option and choose 2gbp, orfetch 2gbp at the PyMOL command prompt. 
          Glucose binding protein - PDB ID 2gbp
Plugin -> Suns Search menu option to open the search wizard, which lets you build and submit structural search queries: 
          The wizard menu
 
          The search wizard
 
          Selected carboxyl group
Suns pre-indexes chemical motifs from protein structures and the PyMOL search wizard automatically expands your selection to pre-indexed motifs, including:suns.degradolab.org and streams in aligned search results: 
          Carboxyl search results
PyMOL uniquely colors each new result, but you can impose a uniform coloring by setting all carbons to green: 
          Set the backbone to green
 
          The re-colored search results
 
          Selection expanded to include linker
Suns saves search results that you add to your search query by renaming them to end with _save so that future searches don't delete them. 
          Loose results
 
          Change the RMSD Cutoff to 0.1 Angstroms
 
          Tight results
hide everything, not (resn arg or suns_query)This reveals a cluster of arginines:
 
          Cluster of arginines near the aspartate
 
          Several identical salt bridge matches
 
          Enable the selections you wish to expand
 
          Click "Fetch Full Contexts"
 
          Before adding context
 
          After adding context
Suns also supports backbone peptide searches. Reset the wizard by clicking:_result
suns_query selection_save
_fetch
show allNow select two consecutive peptide bonds from a helix and search with a cutoff of 0.3 Angstroms. The search results extend the initial query for several helical turns in each direction:
 
          Inferred helical context
 
          Double valine selection
 
          Inferred beta sheet context
Suns plays well with other PyMOL wizards, including the mutagenesis wizard. We can combine the two wizards to infer contextual preferences for different rotamers. 
          Only one match to the search query
Suns as a crude measure of the quality of modeled or designed protein motifs.suns-cmd is a command line client to the Suns protein search engine. Use suns-cmd to automate searches for scripting purposes.$ cabal update $ cabal install
suns-cmd, just create a directory to store the results:$ mkdir results
test/ subdirectory:$ ~/.cabal/bin/suns-cmd -d results/ -r 0.2 < test/figure2/search1.pdb
-d parameter tells the program to store all results in the results/ directory:$ ls results 1tqg_0.pdb 1v7w_2.pdb 2fr5_1.pdb 3a6r_0.pdb 3cuz_1.pdb 3fke_0.pdb 1tqg_1.pdb 1v7w_3.pdb 2fr5_2.pdb 3a6r_1.pdb 3cuz_2.pdb 3fke_1.pdb ...
suns-cmd: The Suns search command line client Usage: suns-cmd [--hostname STRING] [-r|--rmsd DOUBLE] [-n|--num INT] [-s|--seed INT] [-d|--directory FILEPATH] Send search requests and store results as PDB files Available options: -h,--help Show this help text --hostname STRING Search engine address (default: suns.degradolab.org) -r,--rmsd DOUBLE RMSD cutoff (default: 1.0) -n,--num INT Number of results (default: 100) -s,--seed INT Randomization seed (default: 0) -d,--directory FILEPATH Results directory (default: ./) Report bugs to
Suns server at suns.degradolab.org imposes three limitations in order to handle a high search volume: