Dan, presuming you are working with a relatively simple system (you aren't doing a lot of atom deletion, for example), you can use the atom "bitset" notation:

select ({0,3:6,9})

This selects atoms 0, 3, 4, 5, 6, and 9.

Note that the numbers here are one less than the numbers used in atomno, and the numbers span all models -- no restarting when multiple models are loaded. "0" is the first atom of the first model, and it just goes up from there. Also, if atoms are deleted, these numbers will change.

This syntax can be used anywhere atomno can be used. For example:

select ({1:3}) and hydrogen


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