[PyMOL] displaying solvent mask?

2005-10-31 Thread Peter Adrian Meyer
Hi pymol users,

Has anyone had any sucess in loading and displaying solvent masks in
pymol?  Checking the list archives and wiki didn't result in anything;
neither did google.  help mask within pymol seems to be talking about
selection stuff.

It seems like the best way would be to modify the ccp4 map
loading/normalizing stuff so that it deals with the mask maptype; but if
there's an easier way I'd greatly appreciate it if someone could let me
know.

Thanks,

Pete

Pete Meyer
Fu Lab
BMCB grad student
Cornell University




Re: [PyMOL] displaying solvent mask? (solution)

2005-10-31 Thread Peter Adrian Meyer
Should anyone else ever need to try this, there turns out to be a very
easy way to do it, assuming that your solvent mask is in ccp4 mask format.

1. use mapmask mskin $MASKFILE mapout $CONVERTED_FILE

2. load $CONVERTED_FILE into pymol, treating it as a normal map. 
Contouring at 1.0 will display the solvent mask correctly.

Of course, it would be better if this had occured to me before spending a
few hours in the depths of layer2/ObjectMask.c ; but that's Mondays for
you.

Pete


Pete Meyer
Fu Lab
BMCB grad student
Cornell University