Endonuclease PvuII (1PVI) DNA - GATTACAGATTACA
CAP - Catabolite gene Activating Protein (1BER)
DNA - GATTACAGATTACAGATTACA Endonuclease PvuII bound to palindromic DNA recognition site CAGCTG (1PVI) DNA - GATTACAGATTACAGATTACA TBP - TATA box Binding Protein (1C9B)
CAP - Catabolite gene Activating Protein (1BER)
GCN4 - leucine zipper transcription factor bound to palindromic DNA recognition site ATGAC(G)TCAT (1YSA)
GCN4 - leucine zipper transcription factor bound to palindromic DNA recognition site ATGAC(G)TCAT (1YSA)
GCN4 - leucine zipper transcription factor bound to palindromic DNA recognition site ATGAC(G)TCAT (1YSA)
GCN4 - leucine zipper transcription factor bound to palindromic DNA recognition site ATGAC(G)TCAT (1YSA)
GCN4 - leucine zipper transcription factor bound to palindromic DNA recognition site ATGAC(G)TCAT (1YSA)
TBP - TATA box Binding Protein (1C9B)
 

° 

Object descriptors identify selected objects

Object descriptors are instances of the class obj_descriptor. Typically, you loop over all object descriptors in the ith selection menu:


for j in range(yasara.selection[i].objects):
  object=yasara.selection[i].object[j]

And then access various object properties:
object.name
The name of the object
object.number.inyas
The unique number/ID of the object in YASARA (a string, starting with 1)
object.number.inall
The sequential number of the object in the soup (a string, starting with 1)

You could then color the object red:

  yasara.ColorObj(object.number.inyas+",Red")