Charles,

First, I should point out that that command probably doesn't do what you
think it does. This is more for structures that have bond order defined.
Jmol does not calculate protein-specific hydrogen valences when bonds are
all single bonds, as in PDB files. This is more for files that have bond
order specified.

The answer is that the hydrogen atoms do not automatically become part of a
group. So you need to specify:

calculate hydrogens {4}
select 4 or hydrogen and connected({4})

(Note that {4} is necessary at the end there, because "connected(4)" means
"connected to four atoms".)

Also:

selectHydrogen TRUE

is an anachronism. You shouldn't ever need it. I don't know why exactly that
was a Rasmol command. We certainly don't need it in Jmol. If ever you don't
want to select hydrogens, just use

select ..... and not hydrogen

Bob


On Thu, Mar 10, 2011 at 11:30 AM, Charles Harrison Shubert <[email protected]
> wrote:

> Script:
>
> load 1crn.pdb;
> calculate HYDROGENS 4;  set selectHydrogen TRUE; select 4;  spacefill 0.5;
>
> Results:  4's atoms spacefill, but the calculated hydrogens don't.
>
> Question:  How do I get the calculated hydrogens to spacefill?
>
> Thanks,
>
> --Chuck
>
> Charles Shubert
> Senior Architect and Program Leader,
> Software Tools for Academics and Researchers (STAR)
>
> Office of Educational Innovation and Technology (OEIT), DUE
> Massachusetts Institute of Technology
> 77 Massachusetts Avenue, NE48-308
> Cambridge, MA 02139
>
> 617.253.0587
> [email protected]
> http://web.mit.edu/star/
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


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
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to