def highlightResidues(self, first_res, last_res, chain, colour = None, shape = None):
        
        self.mOutfile.write("select %i-%i:%s\n" % (first_res, last_res, chain))
        if colour:
            self.mOutfile.write( "color %s\n" % (colour))
        if shape:
            if shape == "ball-and-stick":
                self.mOutfile.write( "spacefill %i\n" % (200) )
            elif shape == "cpk" or shape == "spacefill" :
                self.mOutfile.write( "spacefill\n" )
dataset/ETHPy150Open CGATOxford/cgat/legacy/PdbTools.py/RasmolView.highlightResidues/original