Vitaly, The documentation says that
select myRes, i. 10, state=4 should just select residue 10 from state 4, but that doesn't seem to work in practice (or I'm doing something wrong). You can also try, m = cmd.get_model("myProtein", 4) to select the protein in state 4. Then you can do m.get_coord_list([3]) to get the 4th atom's location, or m.get_residues() to get the atom list for each residue. There should be an easier way, though. Cheers, -- Jason On Sun, Jul 25, 2010 at 11:25 PM, Vitaly Vostrikov <vvos...@uark.edu> wrote: > Hello, > > Is it possible to select a residue only within a given state? Suppose I have > an NMR ensemble, and I want to select the first residue in the first model, > i.e. something like "select N-term, resi 1 and state 1". > > Thank you, > Vitaly > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://ad.doubleclick.net/clk;226879339;13503038;l? > http://clk.atdmt.com/CRS/go/247765532/direct/01/ > _______________________________________________ > PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) > Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users > Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net > -- Jason Vertrees, PhD PyMOL Product Manager Schrodinger, LLC (e) jason.vertr...@schrodinger.com (o) +1 (603) 374-7120 ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net