From: Yotam A. <yo...@gm...> - 2011-08-22 07:51:45
|
Hi. I have a xyz file in the following form: C 0 0 0 O 0 0 1 O 0 0 2 C 0 0 6 O 0 0 5 O 0 0 4 . . . How can I select an atom from the list? How can I measure an atom from that list? -- My other email account has a "professional" signature. |
From: Troels E. L. <tl...@gm...> - 2011-08-22 08:16:41
|
Is this a .pdb file which can be opened with pymol? Can you provide a file that pymol accepts? Can you in some way find the id number? Check out these commands in pymol: print cmd.get_names() print cmd.get_pdbstr("chain A") print cmd.get_pdbstr("chain A").splitlines() print cmd.get_pdbstr("chain A").splitlines()[3] print cmd.identify("chain A and name N")[0] print cmd.identify("chain A and name C")[-1] Troels Emtekær Linnet Karl-Liebknecht-Straße 53, 2 RE <http://maps.google.dk/> 04107 Leipzig, Tyskland Mobil: +49 1577-8944752 2011/8/22 Yotam Avital <yo...@gm...> > Hi. > > I have a xyz file in the following form: > > C 0 0 0 > O 0 0 1 > O 0 0 2 > C 0 0 6 > O 0 0 5 > O 0 0 4 > . > . > . > > How can I select an atom from the list? How can I measure an atom from that > list? > -- > My other email account has a "professional" signature. > > > > ------------------------------------------------------------------------------ > uberSVN's rich system and user administration capabilities and model > configuration take the hassle out of deploying and managing Subversion and > the tools developers use with it. Learn more about uberSVN and get a free > download at: http://p.sf.net/sfu/wandisco-dev2dev > > _______________________________________________ > PyMOL-users mailing list (PyM...@li...) > Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users > Archives: http://www.mail-archive.com/pym...@li... > |
From: Yotam A. <yo...@gm...> - 2011-08-22 08:24:53
|
The xyz <http://en.wikipedia.org/wiki/XYZ_file_format> file format opens easily with pymol (pymol fileName.xyz). I can find the id that pymol gives to the ``atom'' via the GUI but I don't know what to do with it. I tried select 2338 (a valid number) but I get Selector-Error: Invalid selection name "2338" 2011/8/22 Troels Emtekær Linnet <tl...@gm...> > Is this a .pdb file which can be opened with pymol? > > Can you provide a file that pymol accepts? > Can you in some way find the id number? > Check out these commands in pymol: > > > print cmd.get_names() > print cmd.get_pdbstr("chain A") > print cmd.get_pdbstr("chain A").splitlines() > print cmd.get_pdbstr("chain A").splitlines()[3] > print cmd.identify("chain A and name N")[0] > print cmd.identify("chain A and name C")[-1] > > Troels Emtekær Linnet > Karl-Liebknecht-Straße 53, 2 RE <http://maps.google.dk/> > 04107 Leipzig, Tyskland > Mobil: +49 1577-8944752 > > > > 2011/8/22 Yotam Avital <yo...@gm...> > >> Hi. >> >> I have a xyz file in the following form: >> >> C 0 0 0 >> O 0 0 1 >> O 0 0 2 >> C 0 0 6 >> O 0 0 5 >> O 0 0 4 >> . >> . >> . >> >> How can I select an atom from the list? How can I measure an atom from >> that list? >> -- >> My other email account has a "professional" signature. >> >> >> >> ------------------------------------------------------------------------------ >> uberSVN's rich system and user administration capabilities and model >> configuration take the hassle out of deploying and managing Subversion and >> the tools developers use with it. Learn more about uberSVN and get a free >> download at: http://p.sf.net/sfu/wandisco-dev2dev >> >> _______________________________________________ >> PyMOL-users mailing list (PyM...@li...) >> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users >> Archives: http://www.mail-archive.com/pym...@li... >> > > -- My other email account has a "professional" signature. |
From: Troels E. L. <tl...@gm...> - 2011-08-22 08:37:49
|
Check this page: http://pymol.sourceforge.net/newman/user/S0220commands.html On the middle of the page. you would probably need: select id 2338 or select index 2338 (Probably this) The id, is the id number which is provided external in the pdb file. Normally the column after "ATOM". Beside the id number, pymol assign an internal index. This is handsome, if your xyz file, pdb file does not have an id. Troels Emtekær Linnet Karl-Liebknecht-Straße 53, 2 RE <http://maps.google.dk/> 04107 Leipzig, Tyskland Mobil: +49 1577-8944752 2011/8/22 Yotam Avital <yo...@gm...> > The xyz <http://en.wikipedia.org/wiki/XYZ_file_format> file format > opens easily with pymol (pymol fileName.xyz). I can find the id that > pymol gives to the ``atom'' via the GUI but I don't know what to do with it. > I tried select 2338 (a valid number) but I get > > Selector-Error: Invalid selection name "2338" > > 2011/8/22 Troels Emtekær Linnet <tl...@gm...> > >> Is this a .pdb file which can be opened with pymol? >> >> Can you provide a file that pymol accepts? >> Can you in some way find the id number? >> Check out these commands in pymol: >> >> >> print cmd.get_names() >> print cmd.get_pdbstr("chain A") >> print cmd.get_pdbstr("chain A").splitlines() >> print cmd.get_pdbstr("chain A").splitlines()[3] >> print cmd.identify("chain A and name N")[0] >> print cmd.identify("chain A and name C")[-1] >> >> Troels Emtekær Linnet >> Karl-Liebknecht-Straße 53, 2 RE <http://maps.google.dk/> >> 04107 Leipzig, Tyskland >> Mobil: +49 1577-8944752 >> >> >> >> 2011/8/22 Yotam Avital <yo...@gm...> >> >>> Hi. >>> >>> I have a xyz file in the following form: >>> >>> C 0 0 0 >>> O 0 0 1 >>> O 0 0 2 >>> C 0 0 6 >>> O 0 0 5 >>> O 0 0 4 >>> . >>> . >>> . >>> >>> How can I select an atom from the list? How can I measure an atom from >>> that list? >>> -- >>> My other email account has a "professional" signature. >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> uberSVN's rich system and user administration capabilities and model >>> configuration take the hassle out of deploying and managing Subversion >>> and >>> the tools developers use with it. Learn more about uberSVN and get a free >>> download at: http://p.sf.net/sfu/wandisco-dev2dev >>> >>> _______________________________________________ >>> PyMOL-users mailing list (PyM...@li...) >>> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users >>> Archives: http://www.mail-archive.com/pym...@li... >>> >> >> > > > -- > My other email account has a "professional" signature. > > |
From: Yotam A. <yo...@gm...> - 2011-08-22 08:41:43
|
Great, thanks 2011/8/22 Troels Emtekær Linnet <tl...@gm...> > Check this page: > http://pymol.sourceforge.net/newman/user/S0220commands.html > On the middle of the page. > > you would probably need: > select id 2338 or > select index 2338 (Probably this) > > The id, is the id number which is provided external in the pdb file. > Normally the column after "ATOM". > Beside the id number, pymol assign an internal index. > This is handsome, if your xyz file, pdb file does not have an id. > > > > > Troels Emtekær Linnet > Karl-Liebknecht-Straße 53, 2 RE <http://maps.google.dk/> > 04107 Leipzig, Tyskland > Mobil: +49 1577-8944752 > > > > 2011/8/22 Yotam Avital <yo...@gm...> > >> The xyz <http://en.wikipedia.org/wiki/XYZ_file_format> file format >> opens easily with pymol (pymol fileName.xyz). I can find the id that >> pymol gives to the ``atom'' via the GUI but I don't know what to do with it. >> I tried select 2338 (a valid number) but I get >> >> Selector-Error: Invalid selection name "2338" >> >> 2011/8/22 Troels Emtekær Linnet <tl...@gm...> >> >>> Is this a .pdb file which can be opened with pymol? >>> >>> Can you provide a file that pymol accepts? >>> Can you in some way find the id number? >>> Check out these commands in pymol: >>> >>> >>> print cmd.get_names() >>> print cmd.get_pdbstr("chain A") >>> print cmd.get_pdbstr("chain A").splitlines() >>> print cmd.get_pdbstr("chain A").splitlines()[3] >>> print cmd.identify("chain A and name N")[0] >>> print cmd.identify("chain A and name C")[-1] >>> >>> Troels Emtekær Linnet >>> Karl-Liebknecht-Straße 53, 2 RE <http://maps.google.dk/> >>> 04107 Leipzig, Tyskland >>> Mobil: +49 1577-8944752 >>> >>> >>> >>> 2011/8/22 Yotam Avital <yo...@gm...> >>> >>>> Hi. >>>> >>>> I have a xyz file in the following form: >>>> >>>> C 0 0 0 >>>> O 0 0 1 >>>> O 0 0 2 >>>> C 0 0 6 >>>> O 0 0 5 >>>> O 0 0 4 >>>> . >>>> . >>>> . >>>> >>>> How can I select an atom from the list? How can I measure an atom from >>>> that list? >>>> -- >>>> My other email account has a "professional" signature. >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> uberSVN's rich system and user administration capabilities and model >>>> configuration take the hassle out of deploying and managing Subversion >>>> and >>>> the tools developers use with it. Learn more about uberSVN and get a >>>> free >>>> download at: http://p.sf.net/sfu/wandisco-dev2dev >>>> >>>> _______________________________________________ >>>> PyMOL-users mailing list (PyM...@li...) >>>> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users >>>> Archives: http://www.mail-archive.com/pym...@li... >>>> >>> >>> >> >> >> -- >> My other email account has a "professional" signature. >> >> > -- My other email account has a "professional" signature. |