<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pymol.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jurgenfd</id>
	<title>PyMOL Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pymol.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jurgenfd"/>
	<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php/Special:Contributions/Jurgenfd"/>
	<updated>2026-07-17T21:05:00Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=CreateSecondaryStructure&amp;diff=5341</id>
		<title>CreateSecondaryStructure</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=CreateSecondaryStructure&amp;diff=5341"/>
		<updated>2007-08-22T14:01:27Z</updated>

		<summary type="html">&lt;p&gt;Jurgenfd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
To build a peptide sequence.  &lt;br /&gt;
&lt;br /&gt;
===SETUP===&lt;br /&gt;
run CreateSecondaryStructure.py&lt;br /&gt;
&lt;br /&gt;
===NOTES / STATUS===&lt;br /&gt;
*Tested on Pymolv1.0, Windows platform&lt;br /&gt;
*Many bugs to be found&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
*seqInfo = getTableFromCsvFile(&amp;quot;seqInfo.csv&amp;quot;)&lt;br /&gt;
 with in the file something like:&lt;br /&gt;
 MET,-54,-47&lt;br /&gt;
 PRO,-54,-47&lt;br /&gt;
&lt;br /&gt;
*seqInfo = [['MET',-57,-47],['PRO',-57,-47]]&lt;br /&gt;
*createPeptide(seqInfo)&lt;br /&gt;
&lt;br /&gt;
===EXAMPLES===&lt;br /&gt;
 seqInfo = [['MET',-57,-47],['PRO',-57,-47]]&lt;br /&gt;
 createPeptide(seqInfo)&lt;br /&gt;
&lt;br /&gt;
===SCRIPTS (CreateSecondaryStructures.py)===&lt;br /&gt;
CreateSecondaryStructures.py &lt;br /&gt;
 &amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
##############################################&lt;br /&gt;
#   Original Author:  Dan Kulp&lt;br /&gt;
#   Date  :  9/8/2005&lt;br /&gt;
#    MOdified by Jurgen F. Doreleijers&lt;br /&gt;
#    For Hamid Eghbalnia               &lt;br /&gt;
#&lt;br /&gt;
#############################################&lt;br /&gt;
# Call in window like : &lt;br /&gt;
# @C:\Documents and Settings\jurgen.WHELK.000\workspace\Wattos\python\Wattos\Utils\CreateSecondaryStructures.py&lt;br /&gt;
# Next line is a pymol directive&lt;br /&gt;
python&lt;br /&gt;
import string&lt;br /&gt;
import urllib&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Well I guess one can build a protein with it but the vdw contacts would be horrible.&lt;br /&gt;
# Peptide needs to be at least 2 residues.&lt;br /&gt;
def createPeptide(seqInfo):&lt;br /&gt;
    cmd.delete(&amp;quot;all&amp;quot;)&lt;br /&gt;
    # Creates residue TWO&lt;br /&gt;
    editor.attach_amino_acid('pk1',seqInfo[1][0]) &lt;br /&gt;
    # Creates residue ONE&lt;br /&gt;
    createSS('resi 2', sequence=seqInfo[0][0],terminal='N')&lt;br /&gt;
    print &amp;quot;found sequence info for number of residues: &amp;quot;, len(seqInfo)&lt;br /&gt;
    for i in range(2,len(seqInfo) ):&lt;br /&gt;
        # resn is the residue number of the new residue&lt;br /&gt;
        resn = i + 1&lt;br /&gt;
        print &amp;quot;Adding residue: &amp;quot;, resn,   seqInfo[i][0]&lt;br /&gt;
        # Note that the previous residue is numbered i. &lt;br /&gt;
        resi = 'resi '+`i`&lt;br /&gt;
        createSS(resi, sequence=seqInfo[i][0])&lt;br /&gt;
    for i in range( len(seqInfo) ):&lt;br /&gt;
        resi = 'resi '+`i+1`&lt;br /&gt;
#        print &amp;quot;Setting backbone angles for residue: &amp;quot;, (i+1),   seqInfo[i][0],seqInfo[i][1],seqInfo[i][2]&lt;br /&gt;
        set_phipsi(resi,seqInfo[i][1],seqInfo[i][2])&lt;br /&gt;
    &lt;br /&gt;
# Create generic secondary structure, based off a selection&lt;br /&gt;
def createSS(sel, sequence='ALA',repeat=1,terminal='C'):&lt;br /&gt;
&lt;br /&gt;
    # Set selection&lt;br /&gt;
    selection = &amp;quot;%s and name %s&amp;quot; % (sel,terminal)&lt;br /&gt;
&lt;br /&gt;
    # Pick atom for editing - interestingly only need to do this for the first addition&lt;br /&gt;
    cmd.edit(selection,None,None,None,pkresi=0,pkbond=0)&lt;br /&gt;
&lt;br /&gt;
    # Array of residues&lt;br /&gt;
    seq = string.split(sequence,&amp;quot;,&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
    # Get residue numbering .. potential bug here if number is inconsistent.. (Only works at c-terminal)&lt;br /&gt;
    resi = int(cmd.get_model(sel).atom[0].resi) + 1&lt;br /&gt;
    # Loop and build new residues&lt;br /&gt;
    for i in range(1,repeat+1):&lt;br /&gt;
        for s in seq:&lt;br /&gt;
#            print &amp;quot;residue[%i]: %s %s&amp;quot; % (i,s,terminal)&lt;br /&gt;
            editor.attach_amino_acid('pk1',s)&lt;br /&gt;
&lt;br /&gt;
    # Remove extra OXT carboxylate atom (OXT1, OXT2 ?) .. fix as needed&lt;br /&gt;
    if terminal == 'C':&lt;br /&gt;
        cmd.remove(&amp;quot;%s and name OXT&amp;quot; % sel)&lt;br /&gt;
    &lt;br /&gt;
    &lt;br /&gt;
def set_phipsi(sel,phi,psi):&lt;br /&gt;
    # Get atoms from selection&lt;br /&gt;
    atoms = cmd.get_model(&amp;quot;byres (&amp;quot;+sel+&amp;quot;)&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
    # Loop through atoms in selection        &lt;br /&gt;
    for at in atoms.atom:&lt;br /&gt;
        if at.name == &amp;quot;N&amp;quot;:&lt;br /&gt;
            # Check for a null chain id (some PDBs contain this) &lt;br /&gt;
            unit_select = &amp;quot;&amp;quot;&lt;br /&gt;
            if not at.chain == &amp;quot;&amp;quot;:&lt;br /&gt;
               unit_select = &amp;quot;chain &amp;quot;+str(at.chain)+&amp;quot; and &amp;quot;&lt;br /&gt;
    &lt;br /&gt;
            try:&lt;br /&gt;
                # Define residue selections     &lt;br /&gt;
                residue_def_prev = unit_select+'resi '+str(int(at.resi)-1)&lt;br /&gt;
                residue_def      = unit_select+'resi '+str(at.resi)        &lt;br /&gt;
#                print &amp;quot;residue_def_prev: [%s]&amp;quot; % residue_def_prev&lt;br /&gt;
#                print &amp;quot;residue_def     : [%s]&amp;quot; % residue_def&lt;br /&gt;
                if at.resn == &amp;quot;PRO&amp;quot;:&lt;br /&gt;
                    print &amp;quot;Skipping setting phi for PRO&amp;quot;&lt;br /&gt;
                else:&lt;br /&gt;
                    old_phi = cmd.get_dihedral(residue_def_prev+' and name C',residue_def+' and name N', residue_def+' and name CA',residue_def+' and name C')        &lt;br /&gt;
                    cmd.set_dihedral(          residue_def_prev+' and name C',residue_def+' and name N', residue_def+' and name CA',residue_def+' and name C'      ,phi)&lt;br /&gt;
                    print &amp;quot;Changed residue %4s %4s phi: from %6.1f to %6.1f&amp;quot; % (at.resn, at.resi, old_phi, float(phi))        &lt;br /&gt;
            except:&lt;br /&gt;
                &lt;br /&gt;
                print &amp;quot;Note skipping set of phi because of error; this is normal for a N-terminal residue&amp;quot;&lt;br /&gt;
            try:&lt;br /&gt;
                residue_def      = unit_select+'resi '+str(at.resi)&lt;br /&gt;
                residue_def_next = unit_select+'resi '+str(int(at.resi)+1)&lt;br /&gt;
#                print &amp;quot;residue_def     : [%s]&amp;quot; % residue_def&lt;br /&gt;
#                print &amp;quot;residue_def_next: [%s]&amp;quot; % residue_def_next&lt;br /&gt;
                old_psi = cmd.get_dihedral(residue_def     +' and name N',residue_def+' and name CA',residue_def+' and name C', residue_def_next+' and name N')&lt;br /&gt;
                cmd.set_dihedral(          residue_def     +' and name N',residue_def+' and name CA',residue_def+' and name C', residue_def_next+' and name N',psi)&lt;br /&gt;
                print &amp;quot;Changed residue %4s %4s psi: from %6.1f to %6.1f&amp;quot; % (at.resn, at.resi, old_psi, float(psi))        &lt;br /&gt;
            except:&lt;br /&gt;
                print &amp;quot;Note skipping set of psi; this is normal for a C terminal residue&amp;quot;&lt;br /&gt;
&lt;br /&gt;
def getTableFromCsvFile(urlLocation):&lt;br /&gt;
  result = []&lt;br /&gt;
  r1 = urllib.urlopen(urlLocation)&lt;br /&gt;
  data = r1.read()&lt;br /&gt;
  r1.close()  &lt;br /&gt;
  dataLines = data.split(&amp;quot;\n&amp;quot;)   &lt;br /&gt;
  for dataLine in dataLines:&lt;br /&gt;
    if dataLine:&lt;br /&gt;
        result.append( dataLine.split(',') )     &lt;br /&gt;
  return result&lt;br /&gt;
&lt;br /&gt;
# next line is a pymol directive.&lt;br /&gt;
python end&lt;br /&gt;
&lt;br /&gt;
os.chdir(&amp;quot;C:\Documents and Settings\jurgen.WHELK.000\workspace\Wattos\python\Wattos\Utils&amp;quot;)&lt;br /&gt;
seqInfo = getTableFromCsvFile(&amp;quot;seqInfo.csv&amp;quot;)&lt;br /&gt;
createPeptide(seqInfo)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Script_Library|CreateSecondaryStructure]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Structural_Biology_Scripts|CreateSecondaryStructure]]&lt;/div&gt;</summary>
		<author><name>Jurgenfd</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=CreateSecondaryStructure&amp;diff=5340</id>
		<title>CreateSecondaryStructure</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=CreateSecondaryStructure&amp;diff=5340"/>
		<updated>2007-08-21T01:16:41Z</updated>

		<summary type="html">&lt;p&gt;Jurgenfd: Added example&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
To build a peptide sequence.  &lt;br /&gt;
&lt;br /&gt;
===SETUP===&lt;br /&gt;
run CreateSecondaryStructure.py&lt;br /&gt;
&lt;br /&gt;
===NOTES / STATUS===&lt;br /&gt;
*Tested on Pymolv1.0, Windows platform&lt;br /&gt;
*Many bugs to be found&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
*seqInfo = getTableFromCsvFile(&amp;quot;seqInfo.csv&amp;quot;)&lt;br /&gt;
 with in the file something like:&lt;br /&gt;
 MET,-54,-47&lt;br /&gt;
 PRO,-54,-47&lt;br /&gt;
&lt;br /&gt;
*seqInfo = [['MET',-57,-47],['PRO',-57,-47]]&lt;br /&gt;
*createPeptide(seqInfo)&lt;br /&gt;
&lt;br /&gt;
===EXAMPLES===&lt;br /&gt;
 seqInfo = [['MET',-57,-47],['PRO',-57,-47]]&lt;br /&gt;
 createPeptide(seqInfo)&lt;br /&gt;
&lt;br /&gt;
===SCRIPTS (CreateSecondaryStructures.py)===&lt;br /&gt;
CreateSecondaryStructures.py &lt;br /&gt;
 &amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
##############################################&lt;br /&gt;
#   Original Author:  Dan Kulp&lt;br /&gt;
#   Date  :  9/8/2005&lt;br /&gt;
#    MOdified by Jurgen F. Doreleijers&lt;br /&gt;
#    For Hamid Eghbalnia               &lt;br /&gt;
#&lt;br /&gt;
#############################################&lt;br /&gt;
# Call in pymol window like : &lt;br /&gt;
# @C:\Documents and Settings\jurgen.WHELK.000\workspace\Wattos\python\Wattos\Utils\CreateSecondaryStructures.py&lt;br /&gt;
# Next line is a pymol directive&lt;br /&gt;
python&lt;br /&gt;
import string&lt;br /&gt;
import urllib&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Well I guess one can build a protein with it but the vdw contacts would be horrible.&lt;br /&gt;
# Peptide needs to be at least 2 residues.&lt;br /&gt;
def createPeptide(seqInfo):&lt;br /&gt;
    cmd.delete(&amp;quot;all&amp;quot;)&lt;br /&gt;
    # Creates residue TWO&lt;br /&gt;
    editor.attach_amino_acid('pk1',seqInfo[1][0]) &lt;br /&gt;
    # Creates residue ONE&lt;br /&gt;
    createSS('resi 2', sequence=seqInfo[0][0],terminal='N')&lt;br /&gt;
    print &amp;quot;found sequence info for number of residues: &amp;quot;, len(seqInfo)&lt;br /&gt;
    for i in range(2,len(seqInfo) ):&lt;br /&gt;
        # resn is the residue number of the new residue&lt;br /&gt;
        resn = i + 1&lt;br /&gt;
        print &amp;quot;Adding residue: &amp;quot;, resn,   seqInfo[i][0]&lt;br /&gt;
        # Note that the previous residue is numbered i. &lt;br /&gt;
        resi = 'resi '+`i`&lt;br /&gt;
        createSS(resi, sequence=seqInfo[i][0])&lt;br /&gt;
    for i in range( len(seqInfo) ):&lt;br /&gt;
        resi = 'resi '+`i+1`&lt;br /&gt;
        print &amp;quot;Setting backbone angles for residue: &amp;quot;, i,   seqInfo[i][0],seqInfo[i][1],seqInfo[i][2]&lt;br /&gt;
        set_phipsi(resi,seqInfo[i][1],seqInfo[i][2])&lt;br /&gt;
    &lt;br /&gt;
# Create generic secondary structure, based off a selection&lt;br /&gt;
def createSS(sel, sequence='ALA',repeat=1,terminal='C'):&lt;br /&gt;
&lt;br /&gt;
    # Set selection&lt;br /&gt;
    selection = &amp;quot;%s and name %s&amp;quot; % (sel,terminal)&lt;br /&gt;
&lt;br /&gt;
    # Pick atom for editing - interestingly only need to do this for the first addition&lt;br /&gt;
    cmd.edit(selection,None,None,None,pkresi=0,pkbond=0)&lt;br /&gt;
&lt;br /&gt;
    # Array of residues&lt;br /&gt;
    seq = string.split(sequence,&amp;quot;,&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
    # Get residue numbering .. potential bug here if number is inconsistent.. (Only works at c-terminal)&lt;br /&gt;
    resi = int(cmd.get_model(sel).atom[0].resi) + 1&lt;br /&gt;
    # Loop and build new residues&lt;br /&gt;
    for i in range(1,repeat+1):&lt;br /&gt;
        for s in seq:&lt;br /&gt;
#            print &amp;quot;residue[%i]: %s %s&amp;quot; % (i,s,terminal)&lt;br /&gt;
            editor.attach_amino_acid('pk1',s)&lt;br /&gt;
&lt;br /&gt;
    # Remove extra OXT carboxylate atom (OXT1, OXT2 ?) .. fix as needed&lt;br /&gt;
    if terminal == 'C':&lt;br /&gt;
        cmd.remove(&amp;quot;%s and name OXT&amp;quot; % sel)&lt;br /&gt;
    &lt;br /&gt;
    &lt;br /&gt;
def set_phipsi(sel,phi,psi):&lt;br /&gt;
    # Get atoms from selection&lt;br /&gt;
    atoms = cmd.get_model(&amp;quot;byres (&amp;quot;+sel+&amp;quot;)&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
    # Loop through atoms in selection        &lt;br /&gt;
    for at in atoms.atom:&lt;br /&gt;
        if at.name == &amp;quot;N&amp;quot;:&lt;br /&gt;
            # Check for a null chain id (some PDBs contain this) &lt;br /&gt;
            unit_select = &amp;quot;&amp;quot;&lt;br /&gt;
            if not at.chain == &amp;quot;&amp;quot;:&lt;br /&gt;
               unit_select = &amp;quot;chain &amp;quot;+str(at.chain)+&amp;quot; and &amp;quot;&lt;br /&gt;
    &lt;br /&gt;
            try:&lt;br /&gt;
                # Define residue selections     &lt;br /&gt;
                residue_def_prev = unit_select+'resi '+str(int(at.resi)-1)&lt;br /&gt;
                residue_def      = unit_select+'resi '+str(at.resi)        &lt;br /&gt;
#                print &amp;quot;residue_def_prev: [%s]&amp;quot; % residue_def_prev&lt;br /&gt;
#                print &amp;quot;residue_def     : [%s]&amp;quot; % residue_def&lt;br /&gt;
                if at.resn == &amp;quot;PRO&amp;quot;:&lt;br /&gt;
                    print &amp;quot;Skipping setting phi for PRO&amp;quot;&lt;br /&gt;
                else:&lt;br /&gt;
                    old_phi = cmd.get_dihedral(residue_def_prev+' and name C',residue_def+' and name N', residue_def+' and name CA',residue_def+' and name C')        &lt;br /&gt;
                    print &amp;quot;Changing phi: &amp;quot;+at.resn+str(at.resi)+&amp;quot; from &amp;quot;+str(old_phi)+&amp;quot; to &amp;quot;+str(phi)        &lt;br /&gt;
                    cmd.set_dihedral(          residue_def_prev+' and name C',residue_def+' and name N', residue_def+' and name CA',residue_def+' and name C'      ,phi)&lt;br /&gt;
            except:&lt;br /&gt;
                print &amp;quot;Note skipping set of phi; this is normal for a N-terminal residue&amp;quot;&lt;br /&gt;
            try:&lt;br /&gt;
                residue_def      = unit_select+'resi '+str(at.resi)&lt;br /&gt;
                residue_def_next = unit_select+'resi '+str(int(at.resi)+1)&lt;br /&gt;
#                print &amp;quot;residue_def     : [%s]&amp;quot; % residue_def&lt;br /&gt;
#                print &amp;quot;residue_def_next: [%s]&amp;quot; % residue_def_next&lt;br /&gt;
                old_psi = cmd.get_dihedral(residue_def     +' and name N',residue_def+' and name CA',residue_def+' and name C', residue_def_next+' and name N')&lt;br /&gt;
                print &amp;quot;Changing psi: &amp;quot;+at.resn+str(at.resi)+&amp;quot; from &amp;quot;+str(old_psi)+&amp;quot; to &amp;quot;+str(psi)&lt;br /&gt;
                cmd.set_dihedral(          residue_def     +' and name N',residue_def+' and name CA',residue_def+' and name C', residue_def_next+' and name N',psi)&lt;br /&gt;
            except:&lt;br /&gt;
                print &amp;quot;Note skipping set of psi; this is normal for a C terminal residue&amp;quot;&lt;br /&gt;
&lt;br /&gt;
def getTableFromCsvFile(urlLocation):&lt;br /&gt;
  result = []&lt;br /&gt;
  r1 = urllib.urlopen(urlLocation)&lt;br /&gt;
  data = r1.read()&lt;br /&gt;
  r1.close()  &lt;br /&gt;
  dataLines = data.split(&amp;quot;\n&amp;quot;)   &lt;br /&gt;
  for dataLine in dataLines:&lt;br /&gt;
    if dataLine:&lt;br /&gt;
        result.append( dataLine.split(',') )     &lt;br /&gt;
  return result&lt;br /&gt;
&lt;br /&gt;
# next line is a pymol directive.&lt;br /&gt;
python end&lt;br /&gt;
&lt;br /&gt;
os.chdir(&amp;quot;C:\Documents and Settings\jurgen.WHELK.000\workspace\Wattos\python\Wattos\Utils&amp;quot;)&lt;br /&gt;
seqInfo = getTableFromCsvFile(&amp;quot;seqInfo.csv&amp;quot;)&lt;br /&gt;
createPeptide(seqInfo)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Script_Library|CreateSecondaryStructure]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Structural_Biology_Scripts|CreateSecondaryStructure]]&lt;/div&gt;</summary>
		<author><name>Jurgenfd</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=CreateSecondaryStructure&amp;diff=5339</id>
		<title>CreateSecondaryStructure</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=CreateSecondaryStructure&amp;diff=5339"/>
		<updated>2007-08-20T21:55:23Z</updated>

		<summary type="html">&lt;p&gt;Jurgenfd: Pretty big rewrite&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
To build a peptide sequence.  &lt;br /&gt;
&lt;br /&gt;
===SETUP===&lt;br /&gt;
run CreateSecondaryStructure.py&lt;br /&gt;
&lt;br /&gt;
===NOTES / STATUS===&lt;br /&gt;
*Tested on Pymolv1.0, Windows platform&lt;br /&gt;
*Many bugs to be found&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
*seqInfo = getTableFromCsvFile(&amp;quot;seqInfo.csv&amp;quot;)&lt;br /&gt;
 or&lt;br /&gt;
*seqInfo = [['MET',-57,-47],['PRO',-57,-47]]&lt;br /&gt;
*createPeptide(seqInfo)&lt;br /&gt;
&lt;br /&gt;
===EXAMPLES===&lt;br /&gt;
 seqInfo = [['MET',-57,-47],['PRO',-57,-47]]&lt;br /&gt;
 createPeptide(seqInfo)&lt;br /&gt;
&lt;br /&gt;
===SCRIPTS (CreateSecondaryStructures.py)===&lt;br /&gt;
CreateSecondaryStructures.py &lt;br /&gt;
 &amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
##############################################&lt;br /&gt;
#   Original Author:  Dan Kulp&lt;br /&gt;
#   Date  :  9/8/2005&lt;br /&gt;
#    MOdified by Jurgen F. Doreleijers&lt;br /&gt;
#    For Hamid Eghbalnia               &lt;br /&gt;
#&lt;br /&gt;
#############################################&lt;br /&gt;
# Call in pymol window like : &lt;br /&gt;
# @C:\Documents and Settings\jurgen.WHELK.000\workspace\Wattos\python\Wattos\Utils\CreateSecondaryStructures.py&lt;br /&gt;
# Next line is a pymol directive&lt;br /&gt;
python&lt;br /&gt;
import string&lt;br /&gt;
import urllib&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Well I guess one can build a protein with it but the vdw contacts would be horrible.&lt;br /&gt;
# Peptide needs to be at least 2 residues.&lt;br /&gt;
def createPeptide(seqInfo):&lt;br /&gt;
    cmd.delete(&amp;quot;all&amp;quot;)&lt;br /&gt;
    # Creates residue TWO&lt;br /&gt;
    editor.attach_amino_acid('pk1',seqInfo[1][0]) &lt;br /&gt;
    # Creates residue ONE&lt;br /&gt;
    createSS('resi 2', sequence=seqInfo[0][0],terminal='N')&lt;br /&gt;
    print &amp;quot;found sequence info for number of residues: &amp;quot;, len(seqInfo)&lt;br /&gt;
    for i in range(2,len(seqInfo) ):&lt;br /&gt;
        # resn is the residue number of the new residue&lt;br /&gt;
        resn = i + 1&lt;br /&gt;
        print &amp;quot;Adding residue: &amp;quot;, resn,   seqInfo[i][0]&lt;br /&gt;
        # Note that the previous residue is numbered i. &lt;br /&gt;
        resi = 'resi '+`i`&lt;br /&gt;
        createSS(resi, sequence=seqInfo[i][0])&lt;br /&gt;
    for i in range( len(seqInfo) ):&lt;br /&gt;
        resi = 'resi '+`i+1`&lt;br /&gt;
        print &amp;quot;Setting backbone angles for residue: &amp;quot;, i,   seqInfo[i][0],seqInfo[i][1],seqInfo[i][2]&lt;br /&gt;
        set_phipsi(resi,seqInfo[i][1],seqInfo[i][2])&lt;br /&gt;
    &lt;br /&gt;
# Create generic secondary structure, based off a selection&lt;br /&gt;
def createSS(sel, sequence='ALA',repeat=1,terminal='C'):&lt;br /&gt;
&lt;br /&gt;
    # Set selection&lt;br /&gt;
    selection = &amp;quot;%s and name %s&amp;quot; % (sel,terminal)&lt;br /&gt;
&lt;br /&gt;
    # Pick atom for editing - interestingly only need to do this for the first addition&lt;br /&gt;
    cmd.edit(selection,None,None,None,pkresi=0,pkbond=0)&lt;br /&gt;
&lt;br /&gt;
    # Array of residues&lt;br /&gt;
    seq = string.split(sequence,&amp;quot;,&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
    # Get residue numbering .. potential bug here if number is inconsistent.. (Only works at c-terminal)&lt;br /&gt;
    resi = int(cmd.get_model(sel).atom[0].resi) + 1&lt;br /&gt;
    # Loop and build new residues&lt;br /&gt;
    for i in range(1,repeat+1):&lt;br /&gt;
        for s in seq:&lt;br /&gt;
#            print &amp;quot;residue[%i]: %s %s&amp;quot; % (i,s,terminal)&lt;br /&gt;
            editor.attach_amino_acid('pk1',s)&lt;br /&gt;
&lt;br /&gt;
    # Remove extra OXT carboxylate atom (OXT1, OXT2 ?) .. fix as needed&lt;br /&gt;
    if terminal == 'C':&lt;br /&gt;
        cmd.remove(&amp;quot;%s and name OXT&amp;quot; % sel)&lt;br /&gt;
    &lt;br /&gt;
    &lt;br /&gt;
def set_phipsi(sel,phi,psi):&lt;br /&gt;
    # Get atoms from selection&lt;br /&gt;
    atoms = cmd.get_model(&amp;quot;byres (&amp;quot;+sel+&amp;quot;)&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
    # Loop through atoms in selection        &lt;br /&gt;
    for at in atoms.atom:&lt;br /&gt;
        if at.name == &amp;quot;N&amp;quot;:&lt;br /&gt;
            # Check for a null chain id (some PDBs contain this) &lt;br /&gt;
            unit_select = &amp;quot;&amp;quot;&lt;br /&gt;
            if not at.chain == &amp;quot;&amp;quot;:&lt;br /&gt;
               unit_select = &amp;quot;chain &amp;quot;+str(at.chain)+&amp;quot; and &amp;quot;&lt;br /&gt;
    &lt;br /&gt;
            try:&lt;br /&gt;
                # Define residue selections     &lt;br /&gt;
                residue_def_prev = unit_select+'resi '+str(int(at.resi)-1)&lt;br /&gt;
                residue_def      = unit_select+'resi '+str(at.resi)        &lt;br /&gt;
#                print &amp;quot;residue_def_prev: [%s]&amp;quot; % residue_def_prev&lt;br /&gt;
#                print &amp;quot;residue_def     : [%s]&amp;quot; % residue_def&lt;br /&gt;
                if at.resn == &amp;quot;PRO&amp;quot;:&lt;br /&gt;
                    print &amp;quot;Skipping setting phi for PRO&amp;quot;&lt;br /&gt;
                else:&lt;br /&gt;
                    old_phi = cmd.get_dihedral(residue_def_prev+' and name C',residue_def+' and name N', residue_def+' and name CA',residue_def+' and name C')        &lt;br /&gt;
                    print &amp;quot;Changing phi: &amp;quot;+at.resn+str(at.resi)+&amp;quot; from &amp;quot;+str(old_phi)+&amp;quot; to &amp;quot;+str(phi)        &lt;br /&gt;
                    cmd.set_dihedral(          residue_def_prev+' and name C',residue_def+' and name N', residue_def+' and name CA',residue_def+' and name C'      ,phi)&lt;br /&gt;
            except:&lt;br /&gt;
                print &amp;quot;Note skipping set of phi; this is normal for a N-terminal residue&amp;quot;&lt;br /&gt;
            try:&lt;br /&gt;
                residue_def      = unit_select+'resi '+str(at.resi)&lt;br /&gt;
                residue_def_next = unit_select+'resi '+str(int(at.resi)+1)&lt;br /&gt;
#                print &amp;quot;residue_def     : [%s]&amp;quot; % residue_def&lt;br /&gt;
#                print &amp;quot;residue_def_next: [%s]&amp;quot; % residue_def_next&lt;br /&gt;
                old_psi = cmd.get_dihedral(residue_def     +' and name N',residue_def+' and name CA',residue_def+' and name C', residue_def_next+' and name N')&lt;br /&gt;
                print &amp;quot;Changing psi: &amp;quot;+at.resn+str(at.resi)+&amp;quot; from &amp;quot;+str(old_psi)+&amp;quot; to &amp;quot;+str(psi)&lt;br /&gt;
                cmd.set_dihedral(          residue_def     +' and name N',residue_def+' and name CA',residue_def+' and name C', residue_def_next+' and name N',psi)&lt;br /&gt;
            except:&lt;br /&gt;
                print &amp;quot;Note skipping set of psi; this is normal for a C terminal residue&amp;quot;&lt;br /&gt;
&lt;br /&gt;
def getTableFromCsvFile(urlLocation):&lt;br /&gt;
  result = []&lt;br /&gt;
  r1 = urllib.urlopen(urlLocation)&lt;br /&gt;
  data = r1.read()&lt;br /&gt;
  r1.close()  &lt;br /&gt;
  dataLines = data.split(&amp;quot;\n&amp;quot;)   &lt;br /&gt;
  for dataLine in dataLines:&lt;br /&gt;
    if dataLine:&lt;br /&gt;
        result.append( dataLine.split(',') )     &lt;br /&gt;
  return result&lt;br /&gt;
&lt;br /&gt;
# next line is a pymol directive.&lt;br /&gt;
python end&lt;br /&gt;
&lt;br /&gt;
os.chdir(&amp;quot;C:\Documents and Settings\jurgen.WHELK.000\workspace\Wattos\python\Wattos\Utils&amp;quot;)&lt;br /&gt;
seqInfo = getTableFromCsvFile(&amp;quot;seqInfo.csv&amp;quot;)&lt;br /&gt;
createPeptide(seqInfo)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Script_Library|CreateSecondaryStructure]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Structural_Biology_Scripts|CreateSecondaryStructure]]&lt;/div&gt;</summary>
		<author><name>Jurgenfd</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=CreateSecondaryStructure&amp;diff=5338</id>
		<title>CreateSecondaryStructure</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=CreateSecondaryStructure&amp;diff=5338"/>
		<updated>2007-08-16T17:12:51Z</updated>

		<summary type="html">&lt;p&gt;Jurgenfd: /* SCRIPTS (CreateSecondaryStructures.py) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*Many bugs found, need to be worked out before further use... stay tuned.&lt;br /&gt;
&lt;br /&gt;
===DESCRIPTION===&lt;br /&gt;
To enable growing of a peptide sequence of one of the terminals.  The growing can be set to any secondary structure (phi,psi pairing). Only extendHelix is currently implemented, but it should be rather simple to add more functions in or tweak the existing ones.&lt;br /&gt;
&lt;br /&gt;
Functions:&lt;br /&gt;
*extendHelix&lt;br /&gt;
*createSS&lt;br /&gt;
*set_phipsi&lt;br /&gt;
&lt;br /&gt;
===SETUP===&lt;br /&gt;
run CreateSecondaryStructure.py&lt;br /&gt;
&lt;br /&gt;
===NOTES / STATUS===&lt;br /&gt;
*Tested on Pymolv0.97, Windows platform&lt;br /&gt;
*N-terminal growing doesn't work: adds residues, but doesn't set angles correctly&lt;br /&gt;
*Many bugs found, need to be worked out before further use... stay tuned.&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
 extendHelix selection,sequence,repeat [, phi] [, psi] [, terminal ]&lt;br /&gt;
 set_phipsi selection, phi, psi&lt;br /&gt;
&lt;br /&gt;
===EXAMPLES===&lt;br /&gt;
 extendHelix('resi 1371', 'ALA,GLN,HIS,ALA', 5)&lt;br /&gt;
 set_phipsi('resi 1371', -60, -60)&lt;br /&gt;
&lt;br /&gt;
===SCRIPTS (CreateSecondaryStructures.py)===&lt;br /&gt;
CreateSecondaryStructures.py &lt;br /&gt;
 &amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
##############################################&lt;br /&gt;
#   Author:  Dan Kulp&lt;br /&gt;
#   Date  :  9/8/2005&lt;br /&gt;
#&lt;br /&gt;
#&lt;br /&gt;
#   Notes: &lt;br /&gt;
#      - Simple builds a string of residues&lt;br /&gt;
#          and sets the phi,psi angles.&lt;br /&gt;
#      - No energies are computed.&lt;br /&gt;
#      - This will generate a starting point.&lt;br /&gt;
#      - Defaultly grows from C-term, &lt;br /&gt;
#      - N-term growing currently broken&lt;br /&gt;
#############################################&lt;br /&gt;
&lt;br /&gt;
import string&lt;br /&gt;
&lt;br /&gt;
# Wrapper Functions...&lt;br /&gt;
print &amp;quot;extendHelix(selection,sequence,repeat)&amp;quot;&lt;br /&gt;
print &amp;quot;Example:\n\t extendHelix('resi 1371', 'ALA,GLN,HIS,ALA', 5)&amp;quot;&lt;br /&gt;
print &amp;quot;Note: simple build of residue type and phi,psi angle; no energy computed&amp;quot;	&lt;br /&gt;
&lt;br /&gt;
def extendHelix(sel,seq,repeat=1,phi=-60,psi=-60,terminal='C'):&lt;br /&gt;
	createSS(sel,seq,repeat,phi,psi,string.upper(terminal))&lt;br /&gt;
	cmd.select(&amp;quot;extendedHelix&amp;quot;,&amp;quot;all&amp;quot;)&lt;br /&gt;
	cmd.deselect()&lt;br /&gt;
	cmd.save(&amp;quot;./extendedHelix.pdb&amp;quot;,&amp;quot;extendedHelix&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Create generic secondary structure, based off a selection&lt;br /&gt;
def createSS(sel, sequence='ALA',repeat=1,phi=-60,psi=-60,terminal='C'):&lt;br /&gt;
&lt;br /&gt;
	# Set selection&lt;br /&gt;
	selection = &amp;quot;%s and name %s&amp;quot; % (sel,terminal)&lt;br /&gt;
&lt;br /&gt;
	# Pick atom for editing - interestingly only need to do this for the first addition&lt;br /&gt;
	cmd.edit(selection,None,None,None,pkresi=0,pkbond=0)&lt;br /&gt;
&lt;br /&gt;
	# Array of residues&lt;br /&gt;
	seq = string.split(sequence,&amp;quot;,&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
	# Get residue numbering .. potential bug here if number is inconsistent.. (Only works at c-terminal)&lt;br /&gt;
	resi = int(cmd.get_model(sel).atom[0].resi) + 1&lt;br /&gt;
	&lt;br /&gt;
	# Loop and build new residues&lt;br /&gt;
	for i in range(1,repeat+1):&lt;br /&gt;
		for s in seq:&lt;br /&gt;
			print &amp;quot;residue[%i]: %s&amp;quot; % (i,s)&lt;br /&gt;
			editor.attach_amino_acid('pk1',s)&lt;br /&gt;
&lt;br /&gt;
	# Loop and set phi,psi angles for new residues&lt;br /&gt;
	if terminal == 'N':&lt;br /&gt;
		resi -= repeat&lt;br /&gt;
		&lt;br /&gt;
	for i in range(0,repeat+1):&lt;br /&gt;
		for s in seq:&lt;br /&gt;
			set_phipsi(&amp;quot;resi %i&amp;quot; % (resi), phi,psi)&lt;br /&gt;
			resi += 1&lt;br /&gt;
&lt;br /&gt;
	# Remove extra OXT carboxylate atom (OXT1, OXT2 ?) .. fix as needed&lt;br /&gt;
	if terminal == 'C':&lt;br /&gt;
		cmd.remove(&amp;quot;%s and name OXT&amp;quot; % sel)&lt;br /&gt;
	&lt;br /&gt;
	&lt;br /&gt;
def set_phipsi(sel,phi,psi):&lt;br /&gt;
&lt;br /&gt;
	# Set up some variables..&lt;br /&gt;
	residues = ['dummy']  # Keep track of residues already done&lt;br /&gt;
	probs = []            # probability of each residue conformation&lt;br /&gt;
&lt;br /&gt;
	# Get atoms from selection&lt;br /&gt;
	atoms = cmd.get_model(&amp;quot;byres (&amp;quot;+sel+&amp;quot;)&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
        # Loop through atoms in selection		&lt;br /&gt;
	for at in atoms.atom:&lt;br /&gt;
	    try:&lt;br /&gt;
	       # Don't process Glycines or Alanines&lt;br /&gt;
		if at.resn == 'GLY' or at.chain+&amp;quot;:&amp;quot;+at.resn+&amp;quot;:&amp;quot;+at.resi in residues:&lt;br /&gt;
			continue&lt;br /&gt;
&lt;br /&gt;
	        residues.append(at.chain+&amp;quot;:&amp;quot;+at.resn+&amp;quot;:&amp;quot;+at.resi)&lt;br /&gt;
&lt;br /&gt;
	        # Check for a null chain id (some PDBs contain this) &lt;br /&gt;
	        unit_select = &amp;quot;&amp;quot;&lt;br /&gt;
		if not at.chain == &amp;quot;&amp;quot;:&lt;br /&gt;
		   unit_select = &amp;quot;chain &amp;quot;+str(at.chain)+&amp;quot; and &amp;quot;&lt;br /&gt;
&lt;br /&gt;
	        # Define selections for residue i-1, i and i+1    &lt;br /&gt;
		residue_def = unit_select+'resi '+str(at.resi)&lt;br /&gt;
  		residue_def_prev = unit_select+'resi '+str(int(at.resi)-1)&lt;br /&gt;
#		residue_def_next = unit_select+'resi '+str(int(at.resi)+1)&lt;br /&gt;
&lt;br /&gt;
	        # Compute phi/psi angle&lt;br /&gt;
		old_phi = cmd.get_dihedral(residue_def+' and name CB',residue_def+' and name CA',residue_def+' and name N',residue_def_prev+' and name C')&lt;br /&gt;
		old_psi = cmd.get_dihedral(residue_def+' and name O',residue_def+' and name C',residue_def+' and name CA',residue_def+' and name CB')&lt;br /&gt;
&lt;br /&gt;
		print &amp;quot;Changing &amp;quot;+at.resn+str(at.resi)+&amp;quot; from &amp;quot;+str(old_phi)+&amp;quot;,&amp;quot;+str(old_psi)+&amp;quot; to &amp;quot;+str(phi)+&amp;quot;,&amp;quot;+str(psi)&lt;br /&gt;
&lt;br /&gt;
		cmd.set_dihedral(residue_def+' and name CB',residue_def+' and name CA',residue_def+' and name N',residue_def_prev+' and name C',phi)&lt;br /&gt;
		cmd.set_dihedral(residue_def+' and name O',residue_def+' and name C',residue_def+' and name CA',residue_def+' and name CB', psi)&lt;br /&gt;
&lt;br /&gt;
	    except:&lt;br /&gt;
		print &amp;quot;Exception Thrown&amp;quot;&lt;br /&gt;
		continue&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Script_Library|CreateSecondaryStructure]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Structural_Biology_Scripts|CreateSecondaryStructure]]&lt;/div&gt;</summary>
		<author><name>Jurgenfd</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Category:FAQ&amp;diff=3999</id>
		<title>Category:FAQ</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Category:FAQ&amp;diff=3999"/>
		<updated>2007-08-01T17:01:55Z</updated>

		<summary type="html">&lt;p&gt;Jurgenfd: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==FAQ==&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
Please post your FAQs here.  I suggest you write a Q&amp;amp;A style list with a short answer.  More involved answers should link to its own page.  Just my suggestion.  Should we have topics?  Please note, not all AQ are FAQ.  Also, many answers to frequently recurring problems are probably best sought by searching for your terms in the Wiki.&lt;br /&gt;
&lt;br /&gt;
----------&lt;br /&gt;
&lt;br /&gt;
Q: Is there any way to export PyMol models onto CAD standards (autocad, archicad) or 3D modeling software (blender, 3DStudio, Maya)? Thanks a lot.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----------&lt;br /&gt;
&lt;br /&gt;
Q: I am wondering how to change the default settings for a color &amp;quot;spectrum&amp;quot;. I would like to color by b-factor but not with the default spectrum but from white-to-red.&lt;br /&gt;
&lt;br /&gt;
Alex&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Q: I was wondering what the percentage given under the mutengensis wizard means?   Thanks...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Q: I've installed PyMol_0_98 correctly but I can't open my files in .mol2 or .pdb format from the menubar. Instead I can open them with the program. I can't even save the images I create in PyMol and obviously the mivie too.&lt;br /&gt;
&lt;br /&gt;
Could you help me to solve these problems.&lt;br /&gt;
Thanks&lt;br /&gt;
Vittorio&lt;br /&gt;
&lt;br /&gt;
A1: Vittorio, if I understand you correctly, then you need to (a) make sure you have the PDB file on your machine, say Desktop (or home directory, for *nix), then in the GUI click on, &amp;quot;File&amp;quot;-&amp;gt;&amp;quot;Open&amp;quot; then use the dialog to find the file you want to load.  You can save time if you know where the file is by just using PyMol's &amp;quot;load&amp;quot; command&lt;br /&gt;
 load fileName, objectName&lt;br /&gt;
loads the fileName into a new object called objectName, for example,&lt;br /&gt;
 load /tmp/1ggz.pdb, 1ggz&lt;br /&gt;
&lt;br /&gt;
See [[Cmd load|load]], &lt;br /&gt;
&lt;br /&gt;
A2: To save images you have a couple options.  First, to save a quick raw screen dump type, &amp;quot;png fileName&amp;quot; to save a PNG image (IE and other programs can view these files).  Or, secondly, if you prefer a higher quality image with ray-traced shadows and textures you can do, &amp;quot;ray&amp;quot; then, the above &amp;quot;png&amp;quot; command.&lt;br /&gt;
&lt;br /&gt;
See [[Cmd ray|ray]], [[Cmd png|png]], [[:Category:Using_Pymol|Using PyMol]]&lt;br /&gt;
&lt;br /&gt;
Hope this helps.  If it didn't please restate your question to make it more clear.&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Q: I've installed PyMol_0_98, and recently my structures have stopped displaying. I've tried uninstalling PyMol_0_98 and installing PyMol_0_97, and yet i've ran into the same problem...my .pdb files no longer display, although it is evident that they are being loaded and I can edit them.&lt;br /&gt;
&lt;br /&gt;
Does anybody have any clue as to what might be the problem?&lt;br /&gt;
Thanks, shebsmehr&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Q: Hi I have a problem. For some reason PyMOl do not display certain areas (several loops) of my .pdb file (1DAN) when in cartoon. When I display the structure in &amp;quot;lines&amp;quot; or &amp;quot;sticks&amp;quot; everything is ok. Furthermore, other .pdb viewers dont have this problem. I have tried several things:&lt;br /&gt;
1. Upgraded to the newest version og PyMol.&lt;br /&gt;
2. Redefined secondary structure using the &amp;quot;alter command&amp;quot;.&lt;br /&gt;
3. Imported the .pdb file into SwissViewer, saved as the imported structure as a .pdb file, and then imported into PyMOl.&lt;br /&gt;
&lt;br /&gt;
None of these things have solved the problem. Help please! (I would hate to have to start using another pdb-viewer!!)&lt;br /&gt;
Cheers&lt;br /&gt;
Kasper&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Q: I want to move one object while keeping another fixed. How do I do this?&lt;br /&gt;
&lt;br /&gt;
A: Load the proteins as separate objects, put the mouse into 3-button editing mode, then shift-middle click-and-drag on the molecule to translate and shift-left-click-and-drag to rotate. (Warren DeLano answer)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Q: I'd like to select residues that are in contact with a surface, or else be able to select buried/non-buried residues, is there any way to do this ? [[User:Xevi|Xevi]] 03:52, 16 Jun 2006 (CDT)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Q: I am doing some MD simulations using CHARMM (not AMBER) and would like to visualize the .dcd files output by CHARMM.  I understand that PyMol can open .trj files from AMBER but is there a way to open up these .dcd files and if not, are there any plans to implement this?  Thank you for your time!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Q: I would like the distance labels generated with the 'distance' command to be single-digit only, e.g. 2.8 instead of 2.77. How can I do this? Thanks, MindFrog&lt;br /&gt;
&lt;br /&gt;
A: Setting startup settings and python commands can be done in a file: ~/.pymolrc&lt;br /&gt;
E.g. command in there: cmd.set('label_distance_digits',1)&lt;br /&gt;
On my windows machine this is in C:\Documents and Settings\jurgen.WHELK.000\.pymolrc&lt;/div&gt;</summary>
		<author><name>Jurgenfd</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=All_states&amp;diff=4182</id>
		<title>All states</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=All_states&amp;diff=4182"/>
		<updated>2006-09-14T21:26:00Z</updated>

		<summary type="html">&lt;p&gt;Jurgenfd: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
&lt;br /&gt;
When set &amp;quot;on&amp;quot;, this setting causes PyMOL to display all states or in NMR jargon: all the models in the ensemble.&lt;br /&gt;
The 'default' behavior (OFF) can be overridden by placing the &amp;quot;set all_states, on&amp;quot; statement into your '.pymolrc' file, located in your login directory (under all flavors of unix).&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
set all_states, on      &lt;br /&gt;
set all_states, off&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
import urllib2&lt;br /&gt;
pdbCode = '1BRV'&lt;br /&gt;
pdbUrl = 'http://www.rcsb.org/pdb/downloadFile.do?fileFormat=pdb&amp;amp;compression=NO&amp;amp;structureId='+pdbCode&lt;br /&gt;
pdbFile = urllib2.urlopen(pdbUrl)&lt;br /&gt;
pdbContent = pdbFile.read()&lt;br /&gt;
cmd.read_pdbstr(pdbContent, pdbCode)&lt;br /&gt;
&lt;br /&gt;
set all_states, on&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jurgenfd</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=All_states&amp;diff=4181</id>
		<title>All states</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=All_states&amp;diff=4181"/>
		<updated>2006-09-14T20:28:09Z</updated>

		<summary type="html">&lt;p&gt;Jurgenfd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
&lt;br /&gt;
When set &amp;quot;on&amp;quot;, this setting causes PyMOL to display all states or in NMR jargon: all the models in the ensemble.&lt;br /&gt;
The 'default' behavior (OFF) can be overridden by placing the &amp;quot;set all_states, on&amp;quot; statement into your '.pymolrc' file, located in your login directory (under all flavors of unix).&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
set all_states, on      &lt;br /&gt;
set all_states, off&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
load 1brv.pdb # Get it locally first by e.g. using the Plugin: &amp;quot;PDB Loader Service&amp;quot;&lt;br /&gt;
set all_states, on&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jurgenfd</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=All_states&amp;diff=4180</id>
		<title>All states</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=All_states&amp;diff=4180"/>
		<updated>2006-09-14T20:26:33Z</updated>

		<summary type="html">&lt;p&gt;Jurgenfd: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
&lt;br /&gt;
When set &amp;quot;on&amp;quot;, this setting causes PyMOL to display all states or in NMR jargon: all the models in the ensemble.&lt;br /&gt;
The 'default' behavior (OFF) can be overridden by placing the &amp;quot;set all_states, on&amp;quot; statement into your '.pymolrc' file, located in your login directory (under all flavors of unix).&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&lt;br /&gt;
set all_states, on      &lt;br /&gt;
set all_states, off&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
load 1brv.pdb # Get it locally first by e.g. using the Plugin: &amp;quot;PDB Loader Service&amp;quot;&lt;br /&gt;
set all_states, on&lt;/div&gt;</summary>
		<author><name>Jurgenfd</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=All_states&amp;diff=4179</id>
		<title>All states</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=All_states&amp;diff=4179"/>
		<updated>2006-09-14T20:05:12Z</updated>

		<summary type="html">&lt;p&gt;Jurgenfd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
&lt;br /&gt;
When set &amp;quot;on&amp;quot;, this setting causes PyMOL to display all states or in NMR jargon: all the models in the ensemble.&lt;br /&gt;
The 'default' behavior (OFF) can be overridden by placing the &amp;quot;set all_states, on&amp;quot; statement into your '.pymolrc' file, located in your login directory (under all flavors of unix).&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&lt;br /&gt;
set all_states, on      &lt;br /&gt;
set all_states, off&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
to be added: a read pdb model 1brv&lt;br /&gt;
set all_states, on&lt;/div&gt;</summary>
		<author><name>Jurgenfd</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Settings&amp;diff=10115</id>
		<title>Settings</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Settings&amp;diff=10115"/>
		<updated>2006-09-14T19:59:26Z</updated>

		<summary type="html">&lt;p&gt;Jurgenfd: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These are all the PyMol settings.  If you feel like documenting them, and what they do, feel free.  42 done, 476 to go !&lt;br /&gt;
&lt;br /&gt;
  active_selections              ray_default_renderer         &lt;br /&gt;
  [[all_states]]                     ray_direct_shade             &lt;br /&gt;
  ambient                        ray_hint_camera              &lt;br /&gt;
  angle_label_position           ray_hint_shadow              &lt;br /&gt;
  angle_size                     ray_improve_shadows          &lt;br /&gt;
  animation                      ray_interior_color           &lt;br /&gt;
  animation_duration             ray_interior_mode            &lt;br /&gt;
  [[antialias]]                      ray_interior_reflect         &lt;br /&gt;
  async_builds                   ray_interior_shadows         &lt;br /&gt;
  atom_name_wildcard             ray_interior_texture         &lt;br /&gt;
  auto_classify_atoms            ray_legacy_lighting          &lt;br /&gt;
  auto_color                     ray_max_passes               &lt;br /&gt;
  auto_dss                       [[ray_opaque_background]]       &lt;br /&gt;
  auto_hide_selections           [[ray_orthoscopic]]              &lt;br /&gt;
  auto_indicate_flags            ray_oversample_cutoff        &lt;br /&gt;
  auto_number_selections         ray_pixel_scale              &lt;br /&gt;
  auto_remove_hydrogens          [[ray_shadow]]                   &lt;br /&gt;
  auto_sculpt                    ray_shadow_decay_factor      &lt;br /&gt;
  auto_show_lines                ray_shadow_decay_range       &lt;br /&gt;
  auto_show_nonbonded            ray_shadow_fudge             &lt;br /&gt;
  auto_show_selections           [[ray_shadows]]                  &lt;br /&gt;
  auto_show_spheres              ray_texture                  &lt;br /&gt;
  [[auto_zoom]]                      ray_texture_settings         &lt;br /&gt;
  [[backface_cull]]                  ray_trace_depth_factor       &lt;br /&gt;
  batch_prefix                   ray_trace_disco_factor       &lt;br /&gt;
  [[bg_rgb]]                         [[ray_trace_fog]]                &lt;br /&gt;
  bonding_vdw_cutoff             ray_trace_fog_start          &lt;br /&gt;
  button_mode                    [[ray_trace_frames]]            &lt;br /&gt;
  button_mode_name               ray_trace_gain               &lt;br /&gt;
  cache_display                  ray_trace_mode               &lt;br /&gt;
  cache_frames                   ray_trace_slope_factor       &lt;br /&gt;
  cache_memory                   ray_transparency_contrast    &lt;br /&gt;
  [[cartoon_color]]                  ray_transparency_shadows     &lt;br /&gt;
  [[Cartoon Helix Settings|cartoon_cylindrical_helices]]    ray_transparency_spec_cut    &lt;br /&gt;
  cartoon_debug                  ray_transparency_specular    &lt;br /&gt;
  [[cartoon_discrete_colors]]        ray_triangle_fudge           &lt;br /&gt;
  cartoon_dumbbell_length        reflect                      &lt;br /&gt;
  cartoon_dumbbell_radius        reflect_power                &lt;br /&gt;
  cartoon_dumbbell_width         retain_order                 &lt;br /&gt;
  [[Cartoon Helix Settings|cartoon_fancy_helices]]          ribbon_color                 &lt;br /&gt;
  [[cartoon_fancy_sheets]]           ribbon_nucleic_acid_mode     &lt;br /&gt;
  cartoon_flat_cycles            ribbon_power                 &lt;br /&gt;
  cartoon_flat_sheets            ribbon_power_b               &lt;br /&gt;
  cartoon_helix_radius           ribbon_radius                &lt;br /&gt;
  [[cartoon_highlight_color]]        [[ribbon_sampling]]              &lt;br /&gt;
  cartoon_ladder_color           ribbon_side_chain_helper     &lt;br /&gt;
  cartoon_ladder_mode            ribbon_smooth                &lt;br /&gt;
  cartoon_ladder_radius          ribbon_throw                 &lt;br /&gt;
  cartoon_loop_cap               ribbon_trace_atoms           &lt;br /&gt;
  cartoon_loop_quality           [[ribbon_width]]                 &lt;br /&gt;
  cartoon_loop_radius            robust_logs                  &lt;br /&gt;
  [[cartoon_nucleic_acid_color]]     rock_delay                   &lt;br /&gt;
  [[cartoon_nucleic_acid_mode]]      roving_byres                 &lt;br /&gt;
  cartoon_oval_length            roving_cartoon               &lt;br /&gt;
  cartoon_oval_quality           roving_delay                 &lt;br /&gt;
  cartoon_oval_width             roving_detail                &lt;br /&gt;
  cartoon_power                  roving_isomesh               &lt;br /&gt;
  cartoon_power_b                roving_isosurface            &lt;br /&gt;
  cartoon_putty_quality          roving_labels                &lt;br /&gt;
  cartoon_putty_radius           roving_lines                 &lt;br /&gt;
  cartoon_putty_range            roving_map1_level            &lt;br /&gt;
  cartoon_putty_scale_max        roving_map1_name             &lt;br /&gt;
  cartoon_putty_scale_min        roving_map2_level            &lt;br /&gt;
  cartoon_putty_scale_power      roving_map2_name             &lt;br /&gt;
  cartoon_rect_length            roving_map3_level            &lt;br /&gt;
  cartoon_rect_width             roving_map3_name             &lt;br /&gt;
  cartoon_refine                 roving_nb_spheres            &lt;br /&gt;
  cartoon_refine_normals         roving_nonbonded             &lt;br /&gt;
  cartoon_refine_tips            roving_origin                &lt;br /&gt;
  cartoon_ring_color             roving_origin_z              &lt;br /&gt;
  cartoon_ring_finder            roving_origin_z_cushion      &lt;br /&gt;
  [[cartoon_ring_mode]]              roving_polar_contacts        &lt;br /&gt;
  cartoon_ring_radius            roving_polar_cutoff          &lt;br /&gt;
  [[cartoon_ring_transparency]]      roving_ribbon                &lt;br /&gt;
  cartoon_ring_width             roving_selection             &lt;br /&gt;
  [[cartoon_round_helices]]          roving_spheres               &lt;br /&gt;
  [[cartoon_sampling]]               roving_sticks                &lt;br /&gt;
  cartoon_side_chain_helper      scene_animation              &lt;br /&gt;
  cartoon_smooth_cycles          scene_animation_duration     &lt;br /&gt;
  cartoon_smooth_first           scene_current_name           &lt;br /&gt;
  cartoon_smooth_last            scene_loop                   &lt;br /&gt;
  [[cartoon_smooth_loops]]           scene_restart_movie_delay    &lt;br /&gt;
  cartoon_throw                  scenes_changed               &lt;br /&gt;
  cartoon_trace_atoms            sculpt_angl_weight           &lt;br /&gt;
  [[cartoon_transparency]]           sculpt_auto_center           &lt;br /&gt;
  cartoon_tube_cap               sculpt_avd_excl              &lt;br /&gt;
  cartoon_tube_quality           sculpt_avd_gap               &lt;br /&gt;
  cartoon_tube_radius            sculpt_avd_range             &lt;br /&gt;
  cavity_cull                    sculpt_avd_weight            &lt;br /&gt;
  cgo_dot_radius                 sculpt_bond_weight           &lt;br /&gt;
  cgo_dot_width                  sculpt_field_mask            &lt;br /&gt;
  cgo_line_radius                sculpt_hb_overlap            &lt;br /&gt;
  cgo_line_width                 sculpt_hb_overlap_base       &lt;br /&gt;
  cgo_ray_width_scale            sculpt_line_weight           &lt;br /&gt;
  cgo_sphere_quality             sculpt_max_max               &lt;br /&gt;
  cgo_transparency               sculpt_max_min               &lt;br /&gt;
  clamp_colors                   sculpt_max_scale             &lt;br /&gt;
  connect_bonded                 sculpt_max_weight            &lt;br /&gt;
  connect_cutoff                 sculpt_memory                &lt;br /&gt;
  connect_mode                   sculpt_min_max               &lt;br /&gt;
  coulomb_cutoff                 sculpt_min_min               &lt;br /&gt;
  coulomb_dielectric             sculpt_min_scale             &lt;br /&gt;
  coulomb_units_factor           sculpt_min_weight            &lt;br /&gt;
  cull_spheres                   sculpt_nb_interval           &lt;br /&gt;
  [[Dash_Gap]]                       sculpt_plan_weight           &lt;br /&gt;
  [[Dash_Length]]                    sculpt_pyra_weight           &lt;br /&gt;
  [[Dash_Radius]]                    sculpt_tors_tolerance        &lt;br /&gt;
  [[Dash_Round_Ends]]                sculpt_tors_weight           &lt;br /&gt;
  dash_width                     sculpt_tri_max               &lt;br /&gt;
  debug_pick                     sculpt_tri_min               &lt;br /&gt;
  defer_builds_mode              sculpt_tri_mode              &lt;br /&gt;
  defer_updates                  sculpt_tri_scale             &lt;br /&gt;
  depth_cue                      sculpt_tri_weight            &lt;br /&gt;
  dihedral_label_position        sculpt_vdw_scale             &lt;br /&gt;
  dihedral_size                  sculpt_vdw_scale14           &lt;br /&gt;
  direct                         sculpt_vdw_vis_max           &lt;br /&gt;
  dist_counter                   sculpt_vdw_vis_mid           &lt;br /&gt;
  distance_exclusion             sculpt_vdw_vis_min           &lt;br /&gt;
  dot_color                      sculpt_vdw_vis_mode          &lt;br /&gt;
  dot_density                    sculpt_vdw_weight            &lt;br /&gt;
  dot_hydrogens                  sculpt_vdw_weight14          &lt;br /&gt;
  dot_lighting                   sculpting                    &lt;br /&gt;
  dot_mode                       sculpting_cycles             &lt;br /&gt;
  dot_normals                    secondary_structure          &lt;br /&gt;
  dot_radius                     security                     &lt;br /&gt;
  dot_solvent                    sel_counter&lt;br /&gt;
  [[dot_width]]                      selection_overlay            &lt;br /&gt;
  draw_frames                    selection_round_points       &lt;br /&gt;
  editor_auto_dihedral           selection_visible_only       &lt;br /&gt;
  editor_auto_origin             [[selection_width]]              &lt;br /&gt;
  editor_label_fragments         selection_width_max          &lt;br /&gt;
  fast_idle                      selection_width_scale        &lt;br /&gt;
  fetch_path                     [[seq_view]]                     &lt;br /&gt;
  [[Field_Of_View]]                  seq_view_alignment           &lt;br /&gt;
  fit_iterations                 seq_view_color               &lt;br /&gt;
  fit_tolerance                  seq_view_discrete_by_state   &lt;br /&gt;
  float_labels                   seq_view_fill_char           &lt;br /&gt;
  fog                            seq_view_fill_color          &lt;br /&gt;
  fog_start                      seq_view_format              &lt;br /&gt;
  frame                          seq_view_label_color         &lt;br /&gt;
  full_screen                    seq_view_label_mode          &lt;br /&gt;
  gamma                          seq_view_label_spacing       &lt;br /&gt;
  gaussian_b_adjust              seq_view_label_start         &lt;br /&gt;
  gaussian_b_floor               [[seq_view_location]]            &lt;br /&gt;
  gaussian_resolution            seq_view_overlay             &lt;br /&gt;
  gl_ambient                     seq_view_unaligned_color     &lt;br /&gt;
  h_bond_cone                    seq_view_unaligned_mode      &lt;br /&gt;
  h_bond_cutoff_center           session_file                 &lt;br /&gt;
  h_bond_cutoff_edge             session_migration            &lt;br /&gt;
  h_bond_exclusion               session_version_check        &lt;br /&gt;
  h_bond_max_angle               shininess                    &lt;br /&gt;
  h_bond_power_a                 show_alpha_checker           &lt;br /&gt;
  h_bond_power_b                 show_progress                &lt;br /&gt;
  [[half_bonds]]                     simplify_display_lists       &lt;br /&gt;
  hash_max                       single_image                 &lt;br /&gt;
  hide_underscore_names          slice_dynamic_grid           &lt;br /&gt;
  idle_delay                     slice_dynamic_grid_resolution&lt;br /&gt;
  ignore_case                    slice_grid                   &lt;br /&gt;
  ignore_pdb_segi                slice_height_map             &lt;br /&gt;
  image_dots_per_inch            slice_height_scale           &lt;br /&gt;
  internal_feedback              slice_track_camera           &lt;br /&gt;
  [[Internal Gui|internal_gui]]                   slow_idle                    &lt;br /&gt;
  internal_gui_control_size      smooth_color_triangle        &lt;br /&gt;
  internal_gui_mode              solvent_radius               &lt;br /&gt;
  internal_gui_width             spec_count                   &lt;br /&gt;
  [[internal_prompt]]                spec_direct                  &lt;br /&gt;
  isomesh_auto_state             spec_direct_power            &lt;br /&gt;
  [[label_color]]                    spec_power                   &lt;br /&gt;
  [[Label_font_id]]                  [[spec_reflect]]                 &lt;br /&gt;
  [[Label_outline_color]]            specular                     &lt;br /&gt;
  label_position                 specular_intensity           &lt;br /&gt;
  [[label_shadow_mode]]              [[sphere_color]]                 &lt;br /&gt;
  [[label_size]]                     sphere_mode                  &lt;br /&gt;
  legacy_mouse_zoom              sphere_point_max_size        &lt;br /&gt;
  legacy_vdw_radii               sphere_point_size            &lt;br /&gt;
  light                          sphere_quality               &lt;br /&gt;
  light2                         [[sphere_scale]]                 &lt;br /&gt;
  light3                         sphere_solvent               &lt;br /&gt;
  light4                         sphere_transparency          &lt;br /&gt;
  light5                         spheroid_fill                &lt;br /&gt;
  light6                         spheroid_scale               &lt;br /&gt;
  light7                         spheroid_smooth              &lt;br /&gt;
  light8                         ss_helix_phi_exclude         &lt;br /&gt;
  light9                         ss_helix_phi_include         &lt;br /&gt;
  light_count                    ss_helix_phi_target          &lt;br /&gt;
  line_radius                    ss_helix_psi_exclude         &lt;br /&gt;
  [[line_smooth]]                   ss_helix_psi_include         &lt;br /&gt;
  line_stick_helper              ss_helix_psi_target          &lt;br /&gt;
  line_width                     ss_strand_phi_exclude        &lt;br /&gt;
  log_box_selections             ss_strand_phi_include        &lt;br /&gt;
  log_conformations              ss_strand_phi_target         &lt;br /&gt;
  logging                        ss_strand_psi_exclude        &lt;br /&gt;
  matrix_mode                    ss_strand_psi_include        &lt;br /&gt;
  max_threads                    ss_strand_psi_target         &lt;br /&gt;
  max_triangles                  state                        &lt;br /&gt;
  mesh_color                     static_singletons            &lt;br /&gt;
  mesh_lighting                  stereo                       &lt;br /&gt;
  mesh_mode                      stereo_angle                 &lt;br /&gt;
  mesh_normals                   stereo_double_pump_mono      &lt;br /&gt;
  mesh_quality                   stereo_mode                  &lt;br /&gt;
  mesh_radius                    stereo_shift                 &lt;br /&gt;
  mesh_solvent                   stick_ball                   &lt;br /&gt;
  mesh_type                      stick_ball_ratio             &lt;br /&gt;
  mesh_width                     stick_color                  &lt;br /&gt;
  min_mesh_spacing               stick_fixed_radius           &lt;br /&gt;
  mouse_limit                    [[stick_nub]]                    &lt;br /&gt;
  mouse_restart_movie_delay      stick_overlap                &lt;br /&gt;
  mouse_scale                    stick_quality                &lt;br /&gt;
  mouse_selection_mode           stick_radius                 &lt;br /&gt;
  movie_delay                    stick_transparency           &lt;br /&gt;
  movie_loop                     stick_valence_scale          &lt;br /&gt;
  multiplex                      stop_on_exceptions           &lt;br /&gt;
  no_idle                        surface_best                 &lt;br /&gt;
  nonbonded_size                 surface_carve_cutoff         &lt;br /&gt;
  normal_workaround              surface_carve_selection      &lt;br /&gt;
  normalize_ccp4_maps            surface_carve_state          &lt;br /&gt;
  normalize_grd_maps             surface_circumscribe         &lt;br /&gt;
  normalize_o_maps               surface_clear_cutoff         &lt;br /&gt;
  nvidia_bugs                    surface_clear_selection      &lt;br /&gt;
  opaque_background              surface_clear_state          &lt;br /&gt;
  [[orthoscopic]]                    surface_color                &lt;br /&gt;
  overlay                        surface_debug                &lt;br /&gt;
  overlay_lines                  surface_miserable            &lt;br /&gt;
  pdb_conect_all                 surface_mode                 &lt;br /&gt;
  pdb_discrete_chains            surface_normal               &lt;br /&gt;
  pdb_echo_tags                  surface_optimize_subsets     &lt;br /&gt;
  pdb_hetatm_sort                surface_poor                 &lt;br /&gt;
  pdb_honor_model_number         surface_proximity            &lt;br /&gt;
  pdb_insertions_go_first        surface_quality              &lt;br /&gt;
  pdb_insure_orthogonal          surface_ramp_above_mode      &lt;br /&gt;
  pdb_literal_names              surface_solvent              &lt;br /&gt;
  pdb_no_end_record              surface_trim_cutoff          &lt;br /&gt;
  pdb_reformat_names_mode        surface_trim_factor          &lt;br /&gt;
  pdb_retain_ids                 surface_type                 &lt;br /&gt;
  pdb_standard_order             suspend_updates              &lt;br /&gt;
  pdb_truncate_residue_name      swap_dsn6_bytes              &lt;br /&gt;
  pdb_unbond_cations             sweep_angle                  &lt;br /&gt;
  pdb_use_ter_records            sweep_mode                   &lt;br /&gt;
  [[pickable]]                       sweep_phase                  &lt;br /&gt;
  png_file_gamma                 sweep_speed                  &lt;br /&gt;
  png_screen_gamma               test1                        &lt;br /&gt;
  power                          test2                        &lt;br /&gt;
  pqr_no_chain_id                text                         &lt;br /&gt;
  presentation                   texture_fonts                &lt;br /&gt;
  presentation_auto_quit         [[transparency]]                 &lt;br /&gt;
  presentation_auto_start        transparency_mode            &lt;br /&gt;
  presentation_mode              transparency_picking_mode    &lt;br /&gt;
  preserve_chempy_ids            triangle_max_passes          &lt;br /&gt;
  pymol_space_max_blue           trim_dots                    &lt;br /&gt;
  pymol_space_max_green          [[two_sided_lighting]]&lt;br /&gt;
  pymol_space_max_red            use_display_lists            &lt;br /&gt;
  pymol_space_min_factor         [[valence]]                      &lt;br /&gt;
  raise_exceptions               valence_default              &lt;br /&gt;
  rank_assisted_sorts            valence_size                 &lt;br /&gt;
  ray_blend_blue                 validate_object_names        &lt;br /&gt;
  ray_blend_colors               virtual_trackball            &lt;br /&gt;
  ray_blend_green                wildcard                     &lt;br /&gt;
  ray_blend_red                  wizard_prompt_mode           &lt;br /&gt;
  ray_color_ramps                wrap_output                  &lt;br /&gt;
&lt;br /&gt;
[[Category:Settings|All Settings]]&lt;/div&gt;</summary>
		<author><name>Jurgenfd</name></author>
	</entry>
</feed>