On Dec 13, 2010, at 11:08 AM, S. Shunmugasundararaj wrote:

 Hi,

How do I delete the "Named selection"  from the  chimera file? I could not get the info from the archive or by searching the web.

I guess I've never run into a situation where someone wants to remove/delete a named selection!  Can you describe why you want/need to do this?  I would consider making it easier to do if whatever situation you describe seems like it might be run into by others.

Anyway, I'm assuming that "chimera file" means a Chimera session file.  To remove named selections from a session file you would edit it with a text editor (that can handle long lines) and look for a line that looks like this:

savedSels = [[sel-name1, [bunch of numbers...], [sel-name2, [more numbers], etc.]

To remove sel-name1 from the save selection, change the line to:

savedSels = [[sel-name2, [more numbers], etc.]

To remove all selections:

saveSels = []

Don't just remove the line entirely.  You'll get an error restoring the session if you do that.

--Eric

                        Eric Pettersen

                        UCSF Computer Graphics Lab

                        http://www.cgl.ucsf.edu