Should be interesting to compare your calculation with Jmol's. There is
a built-in property surfaceDistance that handles this. The data
statement documentation hasn't been looked at for quite some time. It's
a bit out of date. This refers to Jmol 11.3. You have several options:
Using your data, option 1, from an external data file
-----------------------------------------------------
{*}.property_d = load("tdata.txt")
isosurface sasurface 1.2 map property_d;
Using your data, option 2, from a list
--------------------------------------
select *;
data "property_d"
10.1
33.1
44.2
end "property_d"
isosurface sasurface 1.2 map property_d;
Using your data, option 3, from an array
----------------------------------------
{*}.property_d = array(10.1,33.1,44.2);
isosurface sasurface 1.2 map property_d;
Using Jmol's calculation
------------------------
(which sets 0 for the atom at the surface, not the atom's VDW radius,
and uses a "shrink-wrap" rather than a solvent-accessible surface for
its calculation)
calculate surface WITHIN {not solvent}
isosurface sasurface 1.2 map property surfaceDistance;
----------------
for the VDW surface, use "sasurface 0" where I used "sasurface 1.2";
-Bob Hanson
Noel O'Boyle wrote:
>Dear Jmol team,
>
>I would like to draw a VdW or Solvent Accessible Surface in the active
>site of a protein and colour it based on some property of the atoms
>used to build the surface.
>
>Is this possible with Jmol?
>
>The most common use case is to colour the surface red for proton
>donors, and blue for acceptors, grey for everything else. In my
>particular case, I have calculated the distance to the protein surface
>and I would like to use those values to colour the surface (e.g. red
>for the max, blue for the min).
>
>Regards,
> Noel
>
>-------------------------------------------------------------------------
>SF.Net email is sponsored by:
>Check out the new SourceForge.net Marketplace.
>It's the best place to buy or sell services for
>just about anything Open Source.
>http://sourceforge.net/services/buy/index.php
>_______________________________________________
>Jmol-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/jmol-users
>
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users