Good tries, all! But the way to do this is

load "myfile.pdb"  1



On Wed, May 30, 2012 at 8:19 AM, Rolf Huehne <> wrote:
On 05/30/2012 01:35 PM, Daniel Carbajo wrote:
> Hello everyone,
> I have a very basic doubt... I never had to deal with NMR structures and
> I'm not sure how to deal with them... The question is very simple: how can
> I load just the first model of an NMR structure? I guess using the FILTER
> argument? I load the chain of interest of a structure from a zip file
> filtering out HOH as well, like this example:
> load|structures/2L6F.pdb filter ':A, ![HOH]'
> Should I write something like:
> load|structures/2L6F.pdb filter 'MODEL:1, :A, ![HOH]'
> ??
Since the expressions recognized by the 'FILTER' option are much more
basic than the regular atom expressions I doubt that it is possible to
filter out models with it.

But there exists a special 'MODELS' option for that described in the
Jmol scripting documentation
( There are different
syntax options available. A major difference is the model numbering,
starting either with 0 or 1. For the first model the following two
commands should work since Jmol 11.8 (untested by me):

1) load MODELS "filename" [0]
2) load MODELS ({0}) "filename"

I would guess that it will be no problem to combine the 'MODELS' and
'FILTER' option to get the firtst model without water molecules.


Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
Jmol-users mailing list

Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
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