You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(13) |
Nov
(22) |
Dec
(35) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(33) |
Feb
(46) |
Mar
(56) |
Apr
(29) |
May
(56) |
Jun
(30) |
Jul
(64) |
Aug
(54) |
Sep
(86) |
Oct
(106) |
Nov
(50) |
Dec
(67) |
2003 |
Jan
(78) |
Feb
(98) |
Mar
(51) |
Apr
(95) |
May
(53) |
Jun
(103) |
Jul
(93) |
Aug
(64) |
Sep
(87) |
Oct
(93) |
Nov
(78) |
Dec
(86) |
2004 |
Jan
(83) |
Feb
(90) |
Mar
(64) |
Apr
(112) |
May
(103) |
Jun
(57) |
Jul
(101) |
Aug
(84) |
Sep
(92) |
Oct
(96) |
Nov
(86) |
Dec
(32) |
2005 |
Jan
(88) |
Feb
(108) |
Mar
(111) |
Apr
(107) |
May
(120) |
Jun
(134) |
Jul
(143) |
Aug
(129) |
Sep
(75) |
Oct
(171) |
Nov
(125) |
Dec
(65) |
2006 |
Jan
(95) |
Feb
(105) |
Mar
(114) |
Apr
(124) |
May
(87) |
Jun
(66) |
Jul
(88) |
Aug
(65) |
Sep
(71) |
Oct
(92) |
Nov
(94) |
Dec
(60) |
2007 |
Jan
(81) |
Feb
(84) |
Mar
(82) |
Apr
(68) |
May
(58) |
Jun
(80) |
Jul
(30) |
Aug
(47) |
Sep
(68) |
Oct
(92) |
Nov
(59) |
Dec
(17) |
2008 |
Jan
(69) |
Feb
(81) |
Mar
(60) |
Apr
(34) |
May
(47) |
Jun
(65) |
Jul
(46) |
Aug
(49) |
Sep
(84) |
Oct
(43) |
Nov
(33) |
Dec
(30) |
2009 |
Jan
(62) |
Feb
(48) |
Mar
(123) |
Apr
(73) |
May
(72) |
Jun
(69) |
Jul
(78) |
Aug
(72) |
Sep
(99) |
Oct
(82) |
Nov
(70) |
Dec
(53) |
2010 |
Jan
(112) |
Feb
(95) |
Mar
(127) |
Apr
(110) |
May
(135) |
Jun
(91) |
Jul
(91) |
Aug
(79) |
Sep
(136) |
Oct
(63) |
Nov
(38) |
Dec
(64) |
2011 |
Jan
(59) |
Feb
(109) |
Mar
(191) |
Apr
(130) |
May
(94) |
Jun
(90) |
Jul
(89) |
Aug
(127) |
Sep
(135) |
Oct
(113) |
Nov
(136) |
Dec
(140) |
2012 |
Jan
(158) |
Feb
(131) |
Mar
(151) |
Apr
(88) |
May
(121) |
Jun
(85) |
Jul
(82) |
Aug
(56) |
Sep
(55) |
Oct
(125) |
Nov
(87) |
Dec
(65) |
2013 |
Jan
(81) |
Feb
(64) |
Mar
(90) |
Apr
(77) |
May
(80) |
Jun
(92) |
Jul
(92) |
Aug
(70) |
Sep
(69) |
Oct
(60) |
Nov
(99) |
Dec
(50) |
2014 |
Jan
(89) |
Feb
(66) |
Mar
(52) |
Apr
(70) |
May
(68) |
Jun
(44) |
Jul
(68) |
Aug
(81) |
Sep
(152) |
Oct
(106) |
Nov
(74) |
Dec
(57) |
2015 |
Jan
(93) |
Feb
(48) |
Mar
(60) |
Apr
(107) |
May
(82) |
Jun
(64) |
Jul
(74) |
Aug
(38) |
Sep
(49) |
Oct
(99) |
Nov
(105) |
Dec
(51) |
2016 |
Jan
(68) |
Feb
(87) |
Mar
(55) |
Apr
(90) |
May
(68) |
Jun
(25) |
Jul
(25) |
Aug
(41) |
Sep
(35) |
Oct
(55) |
Nov
(24) |
Dec
(26) |
2017 |
Jan
(59) |
Feb
(49) |
Mar
(24) |
Apr
(50) |
May
(45) |
Jun
(63) |
Jul
(36) |
Aug
(26) |
Sep
(22) |
Oct
(23) |
Nov
(26) |
Dec
(29) |
2018 |
Jan
(17) |
Feb
(21) |
Mar
(30) |
Apr
(34) |
May
(24) |
Jun
(47) |
Jul
(65) |
Aug
(30) |
Sep
(24) |
Oct
(52) |
Nov
(21) |
Dec
(17) |
2019 |
Jan
(9) |
Feb
(39) |
Mar
(32) |
Apr
(22) |
May
(30) |
Jun
(69) |
Jul
(40) |
Aug
(48) |
Sep
(17) |
Oct
(26) |
Nov
(30) |
Dec
(19) |
2020 |
Jan
(32) |
Feb
(26) |
Mar
(16) |
Apr
(34) |
May
(50) |
Jun
(87) |
Jul
(51) |
Aug
(23) |
Sep
(25) |
Oct
(48) |
Nov
(32) |
Dec
(6) |
2021 |
Jan
(12) |
Feb
(31) |
Mar
(15) |
Apr
(31) |
May
(13) |
Jun
(13) |
Jul
(24) |
Aug
(9) |
Sep
(11) |
Oct
(28) |
Nov
(26) |
Dec
(25) |
2022 |
Jan
(47) |
Feb
(22) |
Mar
(22) |
Apr
(12) |
May
(4) |
Jun
(26) |
Jul
(17) |
Aug
(2) |
Sep
(13) |
Oct
(6) |
Nov
(13) |
Dec
(4) |
2023 |
Jan
(7) |
Feb
(6) |
Mar
(13) |
Apr
(2) |
May
(25) |
Jun
(13) |
Jul
(12) |
Aug
(10) |
Sep
(5) |
Oct
(13) |
Nov
(19) |
Dec
(7) |
2024 |
Jan
(3) |
Feb
(12) |
Mar
(1) |
Apr
(13) |
May
(11) |
Jun
|
Jul
(20) |
Aug
(4) |
Sep
(4) |
Oct
(5) |
Nov
(4) |
Dec
(6) |
2025 |
Jan
(16) |
Feb
(8) |
Mar
(10) |
Apr
(6) |
May
(13) |
Jun
(7) |
Jul
(4) |
Aug
(1) |
Sep
(2) |
Oct
(1) |
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
|
1
|
2
|
3
|
4
|
5
|
6
(1) |
7
|
8
|
9
(1) |
10
(1) |
11
(4) |
12
(9) |
13
(8) |
14
(4) |
15
(1) |
16
|
17
|
18
|
19
(1) |
20
|
21
(1) |
22
(7) |
23
|
24
|
25
(1) |
26
|
27
|
28
|
|
|
From: Thomas H. <tho...@sc...> - 2019-02-25 08:40:17
|
Hi Pedro, There is a command logging option: From the menu: File > Log File > Open... Or use the "log_open" command: https://pymol.org/d/command:log_open Decorating cmd.create like you suggested also works, but you need to update the command language as well: cmd.keyword['create'][0] = cmd.create Cheers, Thomas > On Feb 22, 2019, at 12:27 AM, Pedro Lacerda <psl...@gm...> wrote: > > Hi, > > I want to show executed commands when right before they run, so I can track my script execution. > > Something like the following for all the commands: > > orig_create = cmd.create > def create(*args, **kwargs): > print('create', repr(args), repr(kwargs)) > orig_create(*args, **kwargs) > cmd.create = create > > > I also want it to figure out what commands some GUI actions really do. Like those in presets and so on. > > There is some verbose option that does it? > > Thank you, > Pedro Lacerda -- Thomas Holder PyMOL Principal Developer Schrödinger, Inc. |
From: Anne N. <ann...@ke...> - 2019-02-22 18:27:12
|
Hi, I need to calculate the RMSD for the same residue, e.g. 131Thr, from 2 pdb files for the same target. As I need a local alignment, I use a sliding window of 5 residues (the residue of interest is in the middle.) I have adapted the script from https://pymolwiki.org/index.php/RmsdByResidue (also see below my code below) by adding a sliding window, but I need advice on the following: - I would need to check whether I am actually comparing the intended residues, e.g. 131Thr, 131Thr, or whether the same residues (e.g. His, Asp, His), with specific residue names and numbers are in the selection I have chosen from both pdb files for my sliding window. The reason: I have coded up the script below, but often it skips and doesn't compare two residues, because the atom count is different between the residue from protein A and protein B. (It is exactly double the number, I have already checked and excluded problems like occupancy and different conformations as potential causes.) - I constructed a sliding window by selecting two residues before the residue of interest and two residues which follow said residue. (I know that residues can be missing, I am working on this.) Is there a better way for constructing a sliding window? I have not found such a method in pymol. For anyone interested, I have attached a code snipplet below. I am sorry, if these seem like obvious questions, but I tried various approaches and I feel that I need a push in the right direction. I have the feeling that I am missing something fundamental. Many thanks for any suggestion! Anne (Newbie in Pymol) ###################################### Code snipplet (Python/Pymol interface): referenceProteinChain = cmd.fetch(pbdstructure1) targetProteinChain = cmd.fetch(pdbstructure2) sel = referenceProteinChain list_atoms = [[133, 133]] # example list, I want to calculate the rmsd between residue 133 and residue 133 of two pdb structures for j in list_atoms: # I formulate my sliding window of 5 residues, my residue of interest is in the middle ref_begin = int(j[0])-2 ref_end = int(j[0])+2 target_begin = int(j[1])-2 target_end = int(j[1])+2 # I create a selection for the reference protein and the target protein cmd.create("ref_gzt", referenceProteinChain+" and polymer and not alt B and not Alt C and not alt D and resi %s-%s" cmd.alter("ref_gzt", "chain='A'") cmd.alter("ref_gzt", "segi=''") cmd.create("target_gzt", targetProteinChain+" and polymer and not alt B and not Alt C and not alt D and resi %s-%s" %(target_begin,target_end) ) cmd.alter("target_gzt", "chain='A'") cmd.alter("target_gzt", "segi=''") # I align my selected 5 residues for a local alignment window cmd.align("target_gzt","ref_gzt",object="align", cycles =5) # select alpha carbon of in reference structure to loop over calpha=cmd.get_model(sel+" and name CA and not alt B and not Alt C and not alt D and resi %s-%s" %(ref_begin,ref_end) ) ## here I loop over all residues in the sliding window and calculte the rmsd for my residues of interest. for g in calpha.atom : I loop over the slinding window if g.resi == str(j[0]): ## we select only our residue of interest within the sliding window if cmd.count_atoms("ref_gzt and polymer and resi "+g.resi)==cmd.count_atoms("target_gzt and polymer and resi "+g.resi): ## calculte the pairwise RMSD between the residues I specified in list_atoms rmsdRes=cmd.rms_cur("ref_gzt and polymer and resi "+g.resi,"target_gzt and polymer and resi "+g.resi) |
From: Thomas H. <tho...@sc...> - 2019-02-22 16:15:43
|
Hi Thomas, If you add "and present" to the selection expression, then you'll only include atoms which have coordinates in the current state: select s1, 2hduA & present I had a quick look at 2hduA and 2r9wA and don't see any non-standard residues, but a lot of alternate coordinates. Depending on what your script exactly does, you might need: select s1, 2hduA & alt +A Another (maybe the best) approach would be to use an alignment object: align 2hduA, 2r9wA, object=aln, cycles=0, transform=0 select s1, 2hduA & aln Cheers, Thomas > On Feb 22, 2019, at 4:05 PM, Thomas Evangelidis <te...@gm...> wrote: > > Hi Thomas, > > With regard to selections, sometimes a residue has missing atoms or is non-standard amino acid. In the first case it is matched with another residue in a second structure during the alignment and then when I try to fit the two selections of atoms from the two structures I get the following error: > > Calculating RMSD between pocket of model 2hduA and 2r9wA. > ExecutiveRMS-Error: Atom counts between selections don't match (799 vs 797) > Executive: Error -- no atoms left after refinement! > RMSD = -1.000000 > > Can you think of a clever way to exclude amino acids with missing atoms or non-standard ones from pair_fit() or rms_cur()? > > Best, > Thomas > > > > > > On Fri, 22 Feb 2019 at 12:32, Thomas Holder <tho...@sc...> wrote: > Hi Thomas, > > In general, the PyMOL API should raise pymol.CmdException if things go wrong. But in case of cmd.pair_fit() this wasn't happening (see my fix that I pushed few minutes ago: https://github.com/schrodinger/pymol-open-source/commit/b26d91c40d20344fef511ea9d6bb664a93f1bb4a ) > > cmd.select() correctly raises an exception, so if you want to make a script more robust against selection failures, you could always create a named selection first to check if it's valid. > > tmpsele1 = cmd.get_unused_name('_sele1') > try: > cmd.select(tmpsele1, someexpression, 0) > except pymol.CmdException: > print('invalid selection') > finally: > cmd.delete(tmpsele1) > > > Cheers, > Thomas > > > On Feb 22, 2019, at 12:11 PM, Thomas Evangelidis <te...@gm...> wrote: > > > > Hi Thomas, > > > > This is great! I can even include more atom types in the selection. > > Just for the record, is it possible to catch PyMOL exceptions like "Selector-Error" from within a Python script? Is there any general strategy to select which exception type to look for? In the past, I was catching exceptions from 'tmalign' with "except AssertionError:" which doesn't work for "Selector-Error". > > > > Best, > > Thomas > > -- > ====================================================================== > Dr Thomas Evangelidis > Research Scientist > IOCB - Institute of Organic Chemistry and Biochemistry of the Czech Academy of Sciences > Prague, Czech Republic > & > CEITEC - Central European Institute of Technology > Brno, Czech Republic > > email: te...@gm... > website: https://sites.google.com/site/thomasevangelidishomepage/ -- Thomas Holder PyMOL Principal Developer Schrödinger, Inc. |
From: Thomas E. <te...@gm...> - 2019-02-22 15:08:45
|
Hi Thomas, With regard to selections, sometimes a residue has missing atoms or is non-standard amino acid. In the first case it is matched with another residue in a second structure during the alignment and then when I try to fit the two selections of atoms from the two structures I get the following error: Calculating RMSD between pocket of model 2hduA and 2r9wA. > ExecutiveRMS-Error: Atom counts between selections don't match (799 vs 797) > Executive: Error -- no atoms left after refinement! > RMSD = -1.000000 Can you think of a clever way to exclude amino acids with missing atoms or non-standard ones from pair_fit() or rms_cur()? Best, Thomas On Fri, 22 Feb 2019 at 12:32, Thomas Holder <tho...@sc...> wrote: > Hi Thomas, > > In general, the PyMOL API should raise pymol.CmdException if things go > wrong. But in case of cmd.pair_fit() this wasn't happening (see my fix that > I pushed few minutes ago: > https://github.com/schrodinger/pymol-open-source/commit/b26d91c40d20344fef511ea9d6bb664a93f1bb4a > ) > > cmd.select() correctly raises an exception, so if you want to make a > script more robust against selection failures, you could always create a > named selection first to check if it's valid. > > tmpsele1 = cmd.get_unused_name('_sele1') > try: > cmd.select(tmpsele1, someexpression, 0) > except pymol.CmdException: > print('invalid selection') > finally: > cmd.delete(tmpsele1) > > > Cheers, > Thomas > > > On Feb 22, 2019, at 12:11 PM, Thomas Evangelidis <te...@gm...> > wrote: > > > > Hi Thomas, > > > > This is great! I can even include more atom types in the selection. > > Just for the record, is it possible to catch PyMOL exceptions like > "Selector-Error" from within a Python script? Is there any general strategy > to select which exception type to look for? In the past, I was catching > exceptions from 'tmalign' with "except AssertionError:" which doesn't work > for "Selector-Error". > > > > Best, > > Thomas > > > > > > -- > > ====================================================================== > > Dr Thomas Evangelidis > > Research Scientist > > IOCB - Institute of Organic Chemistry and Biochemistry of the Czech > Academy of Sciences > > Prague, Czech Republic > > & > > CEITEC - Central European Institute of Technology > > Brno, Czech Republic > > > > email: te...@gm... > > website: https://sites.google.com/site/thomasevangelidishomepage/ > > -- > Thomas Holder > PyMOL Principal Developer > Schrödinger, Inc. > > -- ====================================================================== Dr Thomas Evangelidis Research Scientist IOCB - Institute of Organic Chemistry and Biochemistry of the Czech Academy of Sciences <" rel="nofollow">https://www.uochb.cz/web/structure/31.html?lang=en> Prague, Czech Republic & CEITEC - Central European Institute of Technology <" rel="nofollow">https://www.ceitec.eu/> Brno, Czech Republic email: te...@gm... website: https://sites.google.com/site/thomasevangelidishomepage/ |
From: Thomas H. <tho...@sc...> - 2019-02-22 11:32:56
|
Hi Thomas, In general, the PyMOL API should raise pymol.CmdException if things go wrong. But in case of cmd.pair_fit() this wasn't happening (see my fix that I pushed few minutes ago: https://github.com/schrodinger/pymol-open-source/commit/b26d91c40d20344fef511ea9d6bb664a93f1bb4a ) cmd.select() correctly raises an exception, so if you want to make a script more robust against selection failures, you could always create a named selection first to check if it's valid. tmpsele1 = cmd.get_unused_name('_sele1') try: cmd.select(tmpsele1, someexpression, 0) except pymol.CmdException: print('invalid selection') finally: cmd.delete(tmpsele1) Cheers, Thomas > On Feb 22, 2019, at 12:11 PM, Thomas Evangelidis <te...@gm...> wrote: > > Hi Thomas, > > This is great! I can even include more atom types in the selection. > Just for the record, is it possible to catch PyMOL exceptions like "Selector-Error" from within a Python script? Is there any general strategy to select which exception type to look for? In the past, I was catching exceptions from 'tmalign' with "except AssertionError:" which doesn't work for "Selector-Error". > > Best, > Thomas > > > -- > ====================================================================== > Dr Thomas Evangelidis > Research Scientist > IOCB - Institute of Organic Chemistry and Biochemistry of the Czech Academy of Sciences > Prague, Czech Republic > & > CEITEC - Central European Institute of Technology > Brno, Czech Republic > > email: te...@gm... > website: https://sites.google.com/site/thomasevangelidishomepage/ -- Thomas Holder PyMOL Principal Developer Schrödinger, Inc. |
From: Thomas E. <te...@gm...> - 2019-02-22 11:14:43
|
Hi Thomas, This is great! I can even include more atom types in the selection. Just for the record, is it possible to catch PyMOL exceptions like "Selector-Error" from within a Python script? Is there any general strategy to select which exception type to look for? In the past, I was catching exceptions from 'tmalign' with "except AssertionError:" which doesn't work for "Selector-Error". Best, Thomas On Fri, 22 Feb 2019 at 11:28, Thomas Holder <tho...@sc...> wrote: > Hi Thomas, > > Getting rid of the string length limitations would need some major > refactoring. There is currently no good workaround, other than avoiding > such long selections. > > In this particular case, the script could use cmd.select_list() instead of > concatenating the index list to a string: > > cmd.select_list('sel1', obj1, [int(i) for i in id1], mode='index') > cmd.select_list('sel2', obj2, [int(i) for i in id2], mode='index') > cmd.pair_fit("sel1 and aln", "sel2 and aln") > cmd.delete('sel1') > cmd.delete('sel2') > > Hope that helps. > > Cheers, > Thomas > > > > On Feb 22, 2019, at 9:32 AM, Thomas Evangelidis <te...@gm...> > wrote: > > > > Greetings, > > > > I am trying to run focus_alignment command ( > https://pymolwiki.org/index.php/Focus_alignment) from within a Python > script with my own custom selection (I include CA+CB atoms instead of only > CA as in the default). Sometimes the selection is very large and PyMOL > cannot hand it: > > > > Selector-Error: Word too long. Truncated: > > Selector-Error: > 183+186+191+194+196+199+203+206+208+211+437+440+445+448+456+459+465+468+473+477+480+483+486+490+493+496+499+505+508+512+515+523+526+530+534+537+541+544+827+830+832+835+1138+1141+1150+1153+1155+115Selector-Error: > Invalid selection name "730". > > poly and 4kz6A and aln and index > 183+186+191+194+196+199+203+206+208+211+437+440+445+448+456+459+465+468+473+477+480+483+486+490+493+496+499+505+508+512+515+523+526+530+534+537+541+544+827+830+832+835+1138+1141+1150+1153+1155+1158+1175+1178+1183+1421+1424+1428+1431+1647+1650+1655+1658+ > 730<-- > > Selector-Error: Word too long. Truncated: > > Selector-Error: > 216+219+224+227+229+232+236+239+241+244+479+482+487+490+498+501+507+510+515+519+522+525+528+532+535+538+541+547+550+554+557+565+568+572+576+579+583+586+873+876+878+881+1192+1195+1204+1207+1209+121Selector-Error: > Invalid selection name "868". > > poly and 2r9wA and aln and index > 216+219+224+227+229+232+236+239+241+244+479+482+487+490+498+501+507+510+515+519+522+525+528+532+535+538+541+547+550+554+557+565+568+572+576+579+583+586+873+876+878+881+1192+1195+1204+1207+1209+1212+1229+1232+1237+1491+1494+1498+1501+1747+1750+1755+1758+ > 868<-- > > ExecutiveRMS-Error: No atoms selected. > > Selector-Error: Word too long. Truncated: > > Selector-Error: > 183+186+191+194+196+199+203+206+208+211+437+440+445+448+456+459+465+468+473+477+480+483+486+490+493+496+499+505+508+512+515+523+526+530+534+537+541+544+827+830+832+835+1138+1141+1150+1153+1155+115Selector-Error: > Word too long. Truncated: > > Selector-Error: > 216+219+224+227+229+232+236+239+241+244+479+482+487+490+498+501+507+510+515+519+522+525+528+532+535+538+541+547+550+554+557+565+568+572+576+579+583+586+873+876+878+881+1192+1195+1204+1207+1209+121Selector-Error: > Invalid selection name "730". > > ( ( poly and 4kz6A and aln and index > 183+186+191+194+196+199+203+206+208+211+437+440+445+448+456+459+465+468+473+477+480+483+486+490+493+496+499+505+508+512+515+523+526+530+534+537+541+544+827+830+832+835+1138+1141+1150+1153+1155+1158+1175+1178+1183+1421+1424+1428+1431+1647+1650+1655+1658+ > 730 ) in ( poly and 2r9wA and aln and index > 216+219+224+227+229+232+236+239+241+244+479+482+487+490+498+501+507+510+515+519+522+525+528+532+535+538+541+547+550+554+557+565+568+572+576+579+583+586+873+876+878+881+1192+1195+1204+1207+1209+1212+1229+1232+1237+1491+1494+1498+1501+1747+1750+1755+1758+ > 868 ) )<-- > > > > Is there a way to ask PyMOL to accept longer selection strings? > > Alternatively, is it possible to catch this exception from within the > script using "try: ... except <some exception>:" statement? > > > > Thanks in advance. > > Thomas > > > > -- > > ====================================================================== > > Dr Thomas Evangelidis > > Research Scientist > > IOCB - Institute of Organic Chemistry and Biochemistry of the Czech > Academy of Sciences > > Prague, Czech Republic > > & > > CEITEC - Central European Institute of Technology > > Brno, Czech Republic > > > > email: te...@gm... > > website: https://sites.google.com/site/thomasevangelidishomepage/ > > -- > Thomas Holder > PyMOL Principal Developer > Schrödinger, Inc. > > -- ====================================================================== Dr Thomas Evangelidis Research Scientist IOCB - Institute of Organic Chemistry and Biochemistry of the Czech Academy of Sciences <" rel="nofollow">https://www.uochb.cz/web/structure/31.html?lang=en> Prague, Czech Republic & CEITEC - Central European Institute of Technology <" rel="nofollow">https://www.ceitec.eu/> Brno, Czech Republic email: te...@gm... website: https://sites.google.com/site/thomasevangelidishomepage/ |
From: Thomas H. <tho...@sc...> - 2019-02-22 10:28:44
|
Hi Thomas, Getting rid of the string length limitations would need some major refactoring. There is currently no good workaround, other than avoiding such long selections. In this particular case, the script could use cmd.select_list() instead of concatenating the index list to a string: cmd.select_list('sel1', obj1, [int(i) for i in id1], mode='index') cmd.select_list('sel2', obj2, [int(i) for i in id2], mode='index') cmd.pair_fit("sel1 and aln", "sel2 and aln") cmd.delete('sel1') cmd.delete('sel2') Hope that helps. Cheers, Thomas > On Feb 22, 2019, at 9:32 AM, Thomas Evangelidis <te...@gm...> wrote: > > Greetings, > > I am trying to run focus_alignment command (https://pymolwiki.org/index.php/Focus_alignment) from within a Python script with my own custom selection (I include CA+CB atoms instead of only CA as in the default). Sometimes the selection is very large and PyMOL cannot hand it: > > Selector-Error: Word too long. Truncated: > Selector-Error: 183+186+191+194+196+199+203+206+208+211+437+440+445+448+456+459+465+468+473+477+480+483+486+490+493+496+499+505+508+512+515+523+526+530+534+537+541+544+827+830+832+835+1138+1141+1150+1153+1155+115Selector-Error: Invalid selection name "730". > poly and 4kz6A and aln and index 183+186+191+194+196+199+203+206+208+211+437+440+445+448+456+459+465+468+473+477+480+483+486+490+493+496+499+505+508+512+515+523+526+530+534+537+541+544+827+830+832+835+1138+1141+1150+1153+1155+1158+1175+1178+1183+1421+1424+1428+1431+1647+1650+1655+1658+ 730<-- > Selector-Error: Word too long. Truncated: > Selector-Error: 216+219+224+227+229+232+236+239+241+244+479+482+487+490+498+501+507+510+515+519+522+525+528+532+535+538+541+547+550+554+557+565+568+572+576+579+583+586+873+876+878+881+1192+1195+1204+1207+1209+121Selector-Error: Invalid selection name "868". > poly and 2r9wA and aln and index 216+219+224+227+229+232+236+239+241+244+479+482+487+490+498+501+507+510+515+519+522+525+528+532+535+538+541+547+550+554+557+565+568+572+576+579+583+586+873+876+878+881+1192+1195+1204+1207+1209+1212+1229+1232+1237+1491+1494+1498+1501+1747+1750+1755+1758+ 868<-- > ExecutiveRMS-Error: No atoms selected. > Selector-Error: Word too long. Truncated: > Selector-Error: 183+186+191+194+196+199+203+206+208+211+437+440+445+448+456+459+465+468+473+477+480+483+486+490+493+496+499+505+508+512+515+523+526+530+534+537+541+544+827+830+832+835+1138+1141+1150+1153+1155+115Selector-Error: Word too long. Truncated: > Selector-Error: 216+219+224+227+229+232+236+239+241+244+479+482+487+490+498+501+507+510+515+519+522+525+528+532+535+538+541+547+550+554+557+565+568+572+576+579+583+586+873+876+878+881+1192+1195+1204+1207+1209+121Selector-Error: Invalid selection name "730". > ( ( poly and 4kz6A and aln and index 183+186+191+194+196+199+203+206+208+211+437+440+445+448+456+459+465+468+473+477+480+483+486+490+493+496+499+505+508+512+515+523+526+530+534+537+541+544+827+830+832+835+1138+1141+1150+1153+1155+1158+1175+1178+1183+1421+1424+1428+1431+1647+1650+1655+1658+ 730 ) in ( poly and 2r9wA and aln and index 216+219+224+227+229+232+236+239+241+244+479+482+487+490+498+501+507+510+515+519+522+525+528+532+535+538+541+547+550+554+557+565+568+572+576+579+583+586+873+876+878+881+1192+1195+1204+1207+1209+1212+1229+1232+1237+1491+1494+1498+1501+1747+1750+1755+1758+ 868 ) )<-- > > Is there a way to ask PyMOL to accept longer selection strings? > Alternatively, is it possible to catch this exception from within the script using "try: ... except <some exception>:" statement? > > Thanks in advance. > Thomas > > -- > ====================================================================== > Dr Thomas Evangelidis > Research Scientist > IOCB - Institute of Organic Chemistry and Biochemistry of the Czech Academy of Sciences > Prague, Czech Republic > & > CEITEC - Central European Institute of Technology > Brno, Czech Republic > > email: te...@gm... > website: https://sites.google.com/site/thomasevangelidishomepage/ -- Thomas Holder PyMOL Principal Developer Schrödinger, Inc. |
From: Thomas E. <te...@gm...> - 2019-02-22 08:35:43
|
Greetings, I am trying to run focus_alignment command ( https://pymolwiki.org/index.php/Focus_alignment) from within a Python script with my own custom selection (I include CA+CB atoms instead of only CA as in the default). Sometimes the selection is very large and PyMOL cannot hand it: Selector-Error: Word too long. Truncated: > Selector-Error: > 183+186+191+194+196+199+203+206+208+211+437+440+445+448+456+459+465+468+473+477+480+483+486+490+493+496+499+505+508+512+515+523+526+530+534+537+541+544+827+830+832+835+1138+1141+1150+1153+1155+115Selector-Error: > Invalid selection name "730". > poly and 4kz6A and aln and index > 183+186+191+194+196+199+203+206+208+211+437+440+445+448+456+459+465+468+473+477+480+483+486+490+493+496+499+505+508+512+515+523+526+530+534+537+541+544+827+830+832+835+1138+1141+1150+1153+1155+1158+1175+1178+1183+1421+1424+1428+1431+1647+1650+1655+1658+ > 730<-- > Selector-Error: Word too long. Truncated: > Selector-Error: > 216+219+224+227+229+232+236+239+241+244+479+482+487+490+498+501+507+510+515+519+522+525+528+532+535+538+541+547+550+554+557+565+568+572+576+579+583+586+873+876+878+881+1192+1195+1204+1207+1209+121Selector-Error: > Invalid selection name "868". > poly and 2r9wA and aln and index > 216+219+224+227+229+232+236+239+241+244+479+482+487+490+498+501+507+510+515+519+522+525+528+532+535+538+541+547+550+554+557+565+568+572+576+579+583+586+873+876+878+881+1192+1195+1204+1207+1209+1212+1229+1232+1237+1491+1494+1498+1501+1747+1750+1755+1758+ > 868<-- > ExecutiveRMS-Error: No atoms selected. > Selector-Error: Word too long. Truncated: > Selector-Error: > 183+186+191+194+196+199+203+206+208+211+437+440+445+448+456+459+465+468+473+477+480+483+486+490+493+496+499+505+508+512+515+523+526+530+534+537+541+544+827+830+832+835+1138+1141+1150+1153+1155+115Selector-Error: > Word too long. Truncated: > Selector-Error: > 216+219+224+227+229+232+236+239+241+244+479+482+487+490+498+501+507+510+515+519+522+525+528+532+535+538+541+547+550+554+557+565+568+572+576+579+583+586+873+876+878+881+1192+1195+1204+1207+1209+121Selector-Error: > Invalid selection name "730". > ( ( poly and 4kz6A and aln and index > 183+186+191+194+196+199+203+206+208+211+437+440+445+448+456+459+465+468+473+477+480+483+486+490+493+496+499+505+508+512+515+523+526+530+534+537+541+544+827+830+832+835+1138+1141+1150+1153+1155+1158+1175+1178+1183+1421+1424+1428+1431+1647+1650+1655+1658+ > 730 ) in ( poly and 2r9wA and aln and index > 216+219+224+227+229+232+236+239+241+244+479+482+487+490+498+501+507+510+515+519+522+525+528+532+535+538+541+547+550+554+557+565+568+572+576+579+583+586+873+876+878+881+1192+1195+1204+1207+1209+1212+1229+1232+1237+1491+1494+1498+1501+1747+1750+1755+1758+ > 868 ) )<-- Is there a way to ask PyMOL to accept longer selection strings? Alternatively, is it possible to catch this exception from within the script using "try: ... except <some exception>:" statement? Thanks in advance. Thomas -- ====================================================================== Dr Thomas Evangelidis Research Scientist IOCB - Institute of Organic Chemistry and Biochemistry of the Czech Academy of Sciences <" rel="nofollow">https://www.uochb.cz/web/structure/31.html?lang=en> Prague, Czech Republic & CEITEC - Central European Institute of Technology <" rel="nofollow">https://www.ceitec.eu/> Brno, Czech Republic email: te...@gm... website: https://sites.google.com/site/thomasevangelidishomepage/ |
From: Pedro L. <psl...@gm...> - 2019-02-21 23:28:02
|
Hi, I want to show executed commands when right before they run, so I can track my script execution. Something like the following for all the commands: orig_create = cmd.create def create(*args, **kwargs): print('create', repr(args), repr(kwargs)) orig_create(*args, **kwargs) cmd.create = create I also want it to figure out what commands some GUI actions really do. Like those in presets and so on. There is some verbose option that does it? Thank you, Pedro Lacerda |
From: Thomas H. <tho...@sc...> - 2019-02-19 09:20:37
|
Hi all, If you have Python scripts or plugins which aren't Python 3 compatible yet, you might find this guide useful: https://pymolwiki.org/index.php/2to3 Cheers, Thomas -- Thomas Holder PyMOL Principal Developer Schrödinger, Inc. |
From: Thomas H. <tho...@sc...> - 2019-02-15 07:08:59
|
Hi Heng-Keat, A "clean" build will probably fix this. It looks like you partially recompiled with --use-msgpackc=no? To do a clean build: Remove the "build" directory and try again. Cheers, Thomas > On Feb 14, 2019, at 8:00 PM, Ta...@em... wrote: > > Dear all, > > I installed the pymol on my machine with Ubuntu 18.04.1 LTS. When I launch pymol and error appears: > > Traceback (most recent call last): > File "/home/mauricetam/Documents/software/pymol-2.3.0//lib/python2.7/site-packages/pymol/__init__.py", line 64, in <module> > import pymol > File "/home/mauricetam/Documents/software/pymol-2.3.0/lib/python2.7/site-packages/pymol/__init__.py", line 580, in <module> > import pymol._cmd > ImportError: /home/mauricetam/Documents/software/pymol-2.3.0/lib/python2.7/site-packages/pymol/_cmd.so: undefined symbol: MMTF_unpack_from_string > > Any idea what is going wrong? > > Thank you for your help. > > Best > Heng-Keat -- Thomas Holder PyMOL Principal Developer Schrödinger, Inc. |
From: <Ta...@em...> - 2019-02-14 19:00:25
|
Dear all, I installed the pymol on my machine with Ubuntu 18.04.1 LTS. When I launch pymol and error appears: Traceback (most recent call last): File "/home/mauricetam/Documents/software/pymol-2.3.0//lib/python2.7/site-packages/pymol/__init__.py", line 64, in <module> import pymol File "/home/mauricetam/Documents/software/pymol-2.3.0/lib/python2.7/site-packages/pymol/__init__.py", line 580, in <module> import pymol._cmd ImportError: /home/mauricetam/Documents/software/pymol-2.3.0/lib/python2.7/site-packages/pymol/_cmd.so: undefined symbol: MMTF_unpack_from_string Any idea what is going wrong? Thank you for your help. Best Heng-Keat |
From: Thomas H. <tho...@sc...> - 2019-02-14 10:34:54
|
Hi Heng-Keat, Getting CCTBX to work with PyMOL is quite a journey. Please read: https://pymolwiki.org/index.php/CCTBX#Open-Source_PyMOL Cheers, Thomas > On Feb 14, 2019, at 11:27 AM, Ta...@em... wrote: > > Dear all, > > After I reinstalled the pmw, it ran through and now it said 'no modules named _tkinter' as shown below: > > Warning: GL_DRAW_BUFFER0=0 -> using GL_BACK > Detected OpenGL version 3.0. Shaders available. > Geometry shaders not available > Detected GLSL version 1.30. > OpenGL graphics engine: > GL_VENDOR: Intel Open Source Technology Center > GL_RENDERER: Mesa DRI Intel(R) Haswell Mobile > GL_VERSION: 3.0 Mesa 18.2.8 > Traceback (most recent call last): > File "/home/mauricetam/software/pymol-2.3.0/lib/python2.7/site-packages/pmg_tk/__init__.py", line 27, in run > from .PMGApp import PMGApp > File "/home/mauricetam/software/pymol-2.3.0/lib/python2.7/site-packages/pmg_tk/PMGApp.py", line 22, in <module> > import Pmw > File "/home/mauricetam/software/cctbx/cctbx_plus_build/base/lib/python2.7/site-packages/Pmw.py", line 8, in <module> > Detected 4 CPU cores. Enabled multithreaded rendering. > import Tkinter as tkinter > File "/home/mauricetam/software/cctbx/cctbx_plus_build/base/lib/python2.7/lib-tk/Tkinter.py", line 39, in <module> > import _tkinter # If this fails your Python may not be configured for Tk > ImportError: No module named _tkinter > > Thanks for the help. > > Best > HK > > Quoting Ta...@em...: > >> To whom it may concern, >> >> I installed the pymol on my machine with Ubuntu 18.04.1 LTS >> >> I have a problem with 'Qt not available, using GLUT/Tk interface' when install pymol with: >> >> python setup.py install --prefix=/home/mauricetam/software/pymol-2.3.0/ --use-msgpackc=no >> >> After I installed it with: >> >> python setup.py install --prefix=/home/mauricetam/software/pymol-2.3.0/ --use-msgpackc=no --glut >> >> Now, the problem is I don't see the external GUI and there is an error as shown below: >> >> Warning: GL_DRAW_BUFFER0=0 -> using GL_BACK >> Detected OpenGL version 3.0. Shaders available. >> Geometry shaders not available >> Detected GLSL version 1.30. >> OpenGL graphics engine: >> GL_VENDOR: Intel Open Source Technology Center >> GL_RENDERER: Mesa DRI Intel(R) Haswell Mobile >> GL_VERSION: 3.0 Mesa 18.2.2 >> Traceback (most recent call last): >> File "/home/mauricetam/software/pymol-2.3.0/lib/python2.7/site-packages/pmg_tk/__init__.py", line 27, in run >> from .PMGApp import PMGApp >> File "/home/mauricetam/software/pymol-2.3.0/lib/python2.7/site-packages/pmg_tk/PMGApp.py", line 22, in <module> >> import Pmw >> ImportError: No module named Pmw >> Detected 4 CPU cores. Enabled multithreaded rendering. >> >> Any idea what is going wrong on my machine? >> >> Thank you for the help. >> >> Best >> Heng-Keat -- Thomas Holder PyMOL Principal Developer Schrödinger, Inc. |
From: <Ta...@em...> - 2019-02-14 10:28:06
|
Dear all, After I reinstalled the pmw, it ran through and now it said 'no modules named _tkinter' as shown below: Warning: GL_DRAW_BUFFER0=0 -> using GL_BACK Detected OpenGL version 3.0. Shaders available. Geometry shaders not available Detected GLSL version 1.30. OpenGL graphics engine: GL_VENDOR: Intel Open Source Technology Center GL_RENDERER: Mesa DRI Intel(R) Haswell Mobile GL_VERSION: 3.0 Mesa 18.2.8 Traceback (most recent call last): File "/home/mauricetam/software/pymol-2.3.0/lib/python2.7/site-packages/pmg_tk/__init__.py", line 27, in run from .PMGApp import PMGApp File "/home/mauricetam/software/pymol-2.3.0/lib/python2.7/site-packages/pmg_tk/PMGApp.py", line 22, in <module> import Pmw File "/home/mauricetam/software/cctbx/cctbx_plus_build/base/lib/python2.7/site-packages/Pmw.py", line 8, in <module> Detected 4 CPU cores. Enabled multithreaded rendering. import Tkinter as tkinter File "/home/mauricetam/software/cctbx/cctbx_plus_build/base/lib/python2.7/lib-tk/Tkinter.py", line 39, in <module> import _tkinter # If this fails your Python may not be configured for Tk ImportError: No module named _tkinter Thanks for the help. Best HK Quoting Ta...@em...: > To whom it may concern, > > I installed the pymol on my machine with Ubuntu 18.04.1 LTS > > I have a problem with 'Qt not available, using GLUT/Tk interface' > when install pymol with: > > python setup.py install > --prefix=/home/mauricetam/software/pymol-2.3.0/ --use-msgpackc=no > > After I installed it with: > > python setup.py install > --prefix=/home/mauricetam/software/pymol-2.3.0/ --use-msgpackc=no > --glut > > Now, the problem is I don't see the external GUI and there is an > error as shown below: > > Warning: GL_DRAW_BUFFER0=0 -> using GL_BACK > Detected OpenGL version 3.0. Shaders available. > Geometry shaders not available > Detected GLSL version 1.30. > OpenGL graphics engine: > GL_VENDOR: Intel Open Source Technology Center > GL_RENDERER: Mesa DRI Intel(R) Haswell Mobile > GL_VERSION: 3.0 Mesa 18.2.2 > Traceback (most recent call last): > File > "/home/mauricetam/software/pymol-2.3.0/lib/python2.7/site-packages/pmg_tk/__init__.py", line 27, in > run > from .PMGApp import PMGApp > File > "/home/mauricetam/software/pymol-2.3.0/lib/python2.7/site-packages/pmg_tk/PMGApp.py", line 22, in > <module> > import Pmw > ImportError: No module named Pmw > Detected 4 CPU cores. Enabled multithreaded rendering. > > Any idea what is going wrong on my machine? > > Thank you for the help. > > Best > Heng-Keat > > > > > > _______________________________________________ > PyMOL-users mailing list > Archives: http://www.mail-archive.com/pym...@li... > Unsubscribe: > https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe |
From: <Ta...@em...> - 2019-02-14 09:36:35
|
To whom it may concern, I installed the pymol on my machine with Ubuntu 18.04.1 LTS I have a problem with 'Qt not available, using GLUT/Tk interface' when install pymol with: python setup.py install --prefix=/home/mauricetam/software/pymol-2.3.0/ --use-msgpackc=no After I installed it with: python setup.py install --prefix=/home/mauricetam/software/pymol-2.3.0/ --use-msgpackc=no --glut Now, the problem is I don't see the external GUI and there is an error as shown below: Warning: GL_DRAW_BUFFER0=0 -> using GL_BACK Detected OpenGL version 3.0. Shaders available. Geometry shaders not available Detected GLSL version 1.30. OpenGL graphics engine: GL_VENDOR: Intel Open Source Technology Center GL_RENDERER: Mesa DRI Intel(R) Haswell Mobile GL_VERSION: 3.0 Mesa 18.2.2 Traceback (most recent call last): File "/home/mauricetam/software/pymol-2.3.0/lib/python2.7/site-packages/pmg_tk/__init__.py", line 27, in run from .PMGApp import PMGApp File "/home/mauricetam/software/pymol-2.3.0/lib/python2.7/site-packages/pmg_tk/PMGApp.py", line 22, in <module> import Pmw ImportError: No module named Pmw Detected 4 CPU cores. Enabled multithreaded rendering. Any idea what is going wrong on my machine? Thank you for the help. Best Heng-Keat |
From: Tru H. <tr...@pa...> - 2019-02-13 18:10:03
|
On Wed, Feb 13, 2019 at 05:53:33PM +0100, Thomas Holder wrote: > Don't split "build" and "install" (or pass --glut to both calls): > > python setup.py --glut build install --prefix=... that just works :D Thanks Tru -- Dr Tru Huynh | mailto:tr...@pa... | tel +33 1 45 68 87 37 https://research.pasteur.fr/en/team/structural-bioinformatics/ Institut Pasteur, 25-28 rue du Docteur Roux, 75724 Paris CEDEX 15 France |
From: Thomas H. <tho...@sc...> - 2019-02-13 16:53:45
|
Don't split "build" and "install" (or pass --glut to both calls): python setup.py --glut build install --prefix=... Cheers, Thomas > On Feb 13, 2019, at 5:44 PM, Tru Huynh <tr...@pa...> wrote: > > On Wed, Feb 13, 2019 at 05:21:09PM +0100, Tru Huynh wrote: > ... >> >> Trying to install PyQt4_gpl_x11-4.12. on CentOS-7 is another issue :) >> ... >> > > I went the easy route and pip3 install PyQt5-sip PyQt5, > and rebuild ... > > the Python-3.5.2 version now works fine, but not the Python-3.6.6 > which still fails! > > [tru@sillage ~]$ module add pymol/release/2.3.0-Python-3.5.2 > [tru@sillage ~]$ pymol > PyMOL(TM) Molecular Graphics System, Version 2.3.0. > Copyright (c) Schrodinger, LLC. > All Rights Reserved. > > Created by Warren L. DeLano, Ph.D. > > PyMOL is user-supported open-source software. Although some versions > are freely available, PyMOL is not in the public domain. > > If PyMOL is helpful in your work or study, then please volunteer > support for our ongoing efforts to create open and affordable scientific > software by purchasing a PyMOL Maintenance and/or Support subscription. > > More information can be found at "http://www.pymol.org". > > Enter "help" for a list of commands. > Enter "help <command-name>" for information on a specific command. > > Hit ESC anytime to toggle between text and graphics. > > Detected OpenGL version 4.6. Shaders available. > Detected GLSL version 4.60. > OpenGL graphics engine: > GL_VENDOR: NVIDIA Corporation > GL_RENDERER: GeForce GT 1030/PCIe/SSE2 > GL_VERSION: 4.6.0 NVIDIA 410.93 > Detected 6 CPU cores. Enabled multithreaded rendering. > > > [tru@sillage ~]$ module add pymol/release/2.3.0-Python-3.6.6 > [tru@sillage ~]$ pymol > Traceback (most recent call last): > File "/c7/shared/pymol/release/2.3.0-Python-3.6.6/lib/python3.6/site-packages/pymol/__init__.py", line 64, in <module> > import pymol > File "/c7/shared/pymol/release/2.3.0-Python-3.6.6/lib/python3.6/site-packages/pymol/__init__.py", line 580, in <module> > import pymol._cmd > ImportError: /c7/shared/pymol/release/2.3.0-Python-3.6.6/lib/python3.6/site-packages/pymol/_cmd.cpython-36m-x86_64-linux-gnu.so: undefined symbol: glutSwapBuffers > > Cheers > > Tru > -- > Dr Tru Huynh | mailto:tr...@pa... | tel +33 1 45 68 87 37 > https://research.pasteur.fr/en/team/structural-bioinformatics/ > Institut Pasteur, 25-28 rue du Docteur Roux, 75724 Paris CEDEX 15 France -- Thomas Holder PyMOL Principal Developer Schrödinger, Inc. |
From: Tru H. <tr...@pa...> - 2019-02-13 16:44:57
|
On Wed, Feb 13, 2019 at 05:21:09PM +0100, Tru Huynh wrote: ... > > Trying to install PyQt4_gpl_x11-4.12. on CentOS-7 is another issue :) > ... > I went the easy route and pip3 install PyQt5-sip PyQt5, and rebuild ... the Python-3.5.2 version now works fine, but not the Python-3.6.6 which still fails! [tru@sillage ~]$ module add pymol/release/2.3.0-Python-3.5.2 [tru@sillage ~]$ pymol PyMOL(TM) Molecular Graphics System, Version 2.3.0. Copyright (c) Schrodinger, LLC. All Rights Reserved. Created by Warren L. DeLano, Ph.D. PyMOL is user-supported open-source software. Although some versions are freely available, PyMOL is not in the public domain. If PyMOL is helpful in your work or study, then please volunteer support for our ongoing efforts to create open and affordable scientific software by purchasing a PyMOL Maintenance and/or Support subscription. More information can be found at "http://www.pymol.org". Enter "help" for a list of commands. Enter "help <command-name>" for information on a specific command. Hit ESC anytime to toggle between text and graphics. Detected OpenGL version 4.6. Shaders available. Detected GLSL version 4.60. OpenGL graphics engine: GL_VENDOR: NVIDIA Corporation GL_RENDERER: GeForce GT 1030/PCIe/SSE2 GL_VERSION: 4.6.0 NVIDIA 410.93 Detected 6 CPU cores. Enabled multithreaded rendering. [tru@sillage ~]$ module add pymol/release/2.3.0-Python-3.6.6 [tru@sillage ~]$ pymol Traceback (most recent call last): File "/c7/shared/pymol/release/2.3.0-Python-3.6.6/lib/python3.6/site-packages/pymol/__init__.py", line 64, in <module> import pymol File "/c7/shared/pymol/release/2.3.0-Python-3.6.6/lib/python3.6/site-packages/pymol/__init__.py", line 580, in <module> import pymol._cmd ImportError: /c7/shared/pymol/release/2.3.0-Python-3.6.6/lib/python3.6/site-packages/pymol/_cmd.cpython-36m-x86_64-linux-gnu.so: undefined symbol: glutSwapBuffers Cheers Tru -- Dr Tru Huynh | mailto:tr...@pa... | tel +33 1 45 68 87 37 https://research.pasteur.fr/en/team/structural-bioinformatics/ Institut Pasteur, 25-28 rue du Docteur Roux, 75724 Paris CEDEX 15 France |
From: Tru H. <tr...@pa...> - 2019-02-13 16:21:19
|
Hi Thomas, On Wed, Feb 13, 2019 at 04:28:10PM +0100, Thomas Holder wrote: > Hi Tru, > > There is one thing we changed: The legacy GLUT support is not enabled by default anymore. If that's the issue here, you have two options: > > 1) install PyQt (recommended) > 2) or compile PyMOL with --glut I am trying the --glut way and that fixed the Python/2.7.15 build and run fine, thanks! python setup.py --glut build python setup.py install --prefix=... [tru@sillage ~]$ module add pymol/release/2.3.0-Python-2.7.15 [tru@sillage ~]$ pymol Qt not available, using GLUT/Tk interface PyMOL(TM) Molecular Graphics System, Version 2.3.0. Copyright (c) Schrodinger, LLC. All Rights Reserved. Created by Warren L. DeLano, Ph.D. PyMOL is user-supported open-source software. Although some versions are freely available, PyMOL is not in the public domain. If PyMOL is helpful in your work or study, then please volunteer support for our ongoing efforts to create open and affordable scientific software by purchasing a PyMOL Maintenance and/or Support subscription. More information can be found at "http://www.pymol.org". Enter "help" for a list of commands. Enter "help <command-name>" for information on a specific command. Hit ESC anytime to toggle between text and graphics. Warning: GL_DRAW_BUFFER0=0 -> using GL_BACK Detected OpenGL version 4.6. Shaders available. Detected GLSL version 4.60. OpenGL graphics engine: GL_VENDOR: NVIDIA Corporation GL_RENDERER: GeForce GT 1030/PCIe/SSE2 GL_VERSION: 4.6.0 NVIDIA 410.93 Detected 6 CPU cores. Enabled multithreaded rendering. PyMOL>viewport 640,480 Plugin 'lightingsettings_gui' only available with PyQt GUI. ... But the same build option fails for both Python/3.5.2 and 3.6.6 with: [tru@sillage ~]$ pymol Traceback (most recent call last): File "/c7/shared/pymol/release/2.3.0-Python-3.5.2/lib/python3.5/site-packages/pymol/__init__.py", line 64, in <module> import pymol File "/c7/shared/pymol/release/2.3.0-Python-3.5.2/lib/python3.5/site-packages/pymol/__init__.py", line 580, in <module> import pymol._cmd ImportError: /c7/shared/pymol/release/2.3.0-Python-3.5.2/lib/python3.5/site-packages/pymol/_cmd.cpython-35m-x86_64-linux-gnu.so: undefined symbol: glutSwapBuffers Traceback (most recent call last): File "/c7/shared/pymol/release/2.3.0-Python-3.6.6/lib/python3.6/site-packages/pymol/__init__.py", line 64, in <module> import pymol File "/c7/shared/pymol/release/2.3.0-Python-3.6.6/lib/python3.6/site-packages/pymol/__init__.py", line 580, in <module> import pymol._cmd ImportError: /c7/shared/pymol/release/2.3.0-Python-3.6.6/lib/python3.6/site-packages/pymol/_cmd.cpython-36m-x86_64-linux-gnu.so: undefined symbol: glutSwapBuffers Trying to install PyQt4_gpl_x11-4.12. on CentOS-7 is another issue :) [tru@borma PyQt4_gpl_x11-4.12.3]$ python3 configure-ng.py --confirm-license --destdir /dev/shm/PyQt4_gpl_x11-4.12.3 --qmake=/usr/lib64/qt4/bin/qmake Querying qmake about your Qt installation... Determining the details of your Qt installation... This is the GPL version of PyQt 4.12.3 (licensed under the GNU General Public License) for Python 3.6.6 on linux. Found the license file pyqt-gpl.sip. Error: This version of PyQt4 requires sip 4.19.12 or later. [tru@borma PyQt4_gpl_x11-4.12.3]$ rpm -qa sip\* sip-macros-4.14.6-4.el7.x86_64 sip-devel-4.14.6-4.el7.x86_64 sip-4.14.6-4.el7.x86_64 ... Cheers Tru -- Dr Tru Huynh | mailto:tr...@pa... | tel +33 1 45 68 87 37 https://research.pasteur.fr/en/team/structural-bioinformatics/ Institut Pasteur, 25-28 rue du Docteur Roux, 75724 Paris CEDEX 15 France |
From: Jarrett J. <jar...@sc...> - 2019-02-13 15:36:42
|
Hi Jack, We've tested with Mojave since its release and have found no issues. Jarrett J. On Tue, Feb 12, 2019 at 12:51 PM Jack Vizelter <ja...@ma...> wrote: > Hi, > > Is this version supported under macOS 10.14.x (Mojave)? The supported OS > listing just says 10.9+ but wanted to confirm. > > Thnx, > -jack > > -----Original Message----- > From: Thomas Holder <tho...@sc...> > Date: Monday, February 11, 2019 at 10:54 AM > To: Pymol User list <pym...@li...> > Subject: [PyMOL] PyMOL 2.3 released > > Greetings, > > We are happy to announce the release of PyMOL 2.3. Download > ready-to-use bundles from > https://urldefense.proofpoint.com/v2/url?u=https-3A__pymol.org_&d=DwIGaQ&c=JeTkUgVztGMmhKYjxsy2rfoWYibK1YmxXez1G3oNStg&r=uZ7OTQ4NzBWkCWuelwpsqn3NhvXJQHUkEFDh1s3GqrM&m=EdVxNaXoTBbrFjOSxSGtf80f5GLwY4UoeoqXOgi2y1Y&s=M9y4i1kkzjJaykmXjFMEB8nDyvQFZ-_3sHaRTTi-rec&e= > or update your installation with "conda install -c schrodinger pymol". > > New features include: > - Atom-level cartoon transparency > - Fast MMTF export > - Sequence viewer gaps display > > This is the first time that we provide PyMOL bundles with Python 3. If > you use custom or third-party Python 2 scripts, they might stop working > until you convert them (e.g. using a converter tool like 2to3). > > Find the complete release notes at: > > https://urldefense.proofpoint.com/v2/url?u=https-3A__pymol.org_d_media-3Anew23&d=DwIGaQ&c=JeTkUgVztGMmhKYjxsy2rfoWYibK1YmxXez1G3oNStg&r=uZ7OTQ4NzBWkCWuelwpsqn3NhvXJQHUkEFDh1s3GqrM&m=EdVxNaXoTBbrFjOSxSGtf80f5GLwY4UoeoqXOgi2y1Y&s=DdMiFFA3kJDoelX1qbJz9t9flE6G53M33MEdaZkRSzA&e= > > We welcome any feedback and bug reports. > > Cheers, > - The PyMOL Team at Schrödinger > > -- > Thomas Holder > PyMOL Principal Developer > Schrödinger, Inc. > > _______________________________________________ > PyMOL-users mailing list > Archives: > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mail-2Darchive.com_pymol-2Dusers-40lists.sourceforge.net&d=DwIGaQ&c=JeTkUgVztGMmhKYjxsy2rfoWYibK1YmxXez1G3oNStg&r=uZ7OTQ4NzBWkCWuelwpsqn3NhvXJQHUkEFDh1s3GqrM&m=EdVxNaXoTBbrFjOSxSGtf80f5GLwY4UoeoqXOgi2y1Y&s=9y_R-PjUqUT6wzjEs1ECxF59shYPiWuYB_7fThlDadU&e= > Unsubscribe: > https://urldefense.proofpoint.com/v2/url?u=https-3A__sourceforge.net_projects_pymol_lists_pymol-2Dusers_unsubscribe&d=DwIGaQ&c=JeTkUgVztGMmhKYjxsy2rfoWYibK1YmxXez1G3oNStg&r=uZ7OTQ4NzBWkCWuelwpsqn3NhvXJQHUkEFDh1s3GqrM&m=EdVxNaXoTBbrFjOSxSGtf80f5GLwY4UoeoqXOgi2y1Y&s=WVkM4La4mZsWQ2beQpPA_hXCmu_AFvn6RbGtetuCDqA&e= > > > _______________________________________________ > PyMOL-users mailing list > Archives: http://www.mail-archive.com/pym...@li... > Unsubscribe: > https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe -- Jarrett Johnson PyMOL Developer Schrödinger, Inc. |
From: Thomas H. <tho...@sc...> - 2019-02-13 15:28:22
|
Hi Tru, There is one thing we changed: The legacy GLUT support is not enabled by default anymore. If that's the issue here, you have two options: 1) install PyQt (recommended) 2) or compile PyMOL with --glut Cheers, Thomas > On Feb 13, 2019, at 3:44 PM, Tru Huynh <tr...@pa...> wrote: > > Hi, > > I have some issue with the latest released version (2.3.0) and > manually build Python 2.7.15, 3.5.2 and 3.6.6 on our CentOS-7 machines. > > [tru@sillage ~]$ module add pymol/release/2.3.0-Python-3.6.6 > [tru@sillage ~]$ module li > Currently Loaded Modulefiles: > 1) Python/3.6.6 3) pymol/release/2.3.0-Python-3.6.6 > 2) msgpack/2.1.5 > [tru@sillage ~]$ pymol > Qt not available, using GLUT/Tk interface > [tru@sillage ~]$ echo $? > 0 > > The different Python versions are isolated through the environment > modules and the issue has only appeared with 2.3.0 and all the python > versions except the version using the system provided python version. > > these fails: > pymol/release/2.3.0-Python-2.7.15 pymol/release/2.3.0-Python-3.6.6 > pymol/release/2.3.0-Python-3.5.2 > > this works: > pymol/release/2.3.0-Python-centos7 > > [tru@sillage ~]$ module add pymol/release/2.3.0-Python-centos7 > [tru@sillage ~]$ pymol > PyMOL(TM) Molecular Graphics System, Version 2.3.0. > Copyright (c) Schrodinger, LLC. > All Rights Reserved. > > Created by Warren L. DeLano, Ph.D. > > PyMOL is user-supported open-source software. Although some versions > are freely available, PyMOL is not in the public domain. > > If PyMOL is helpful in your work or study, then please volunteer > support for our ongoing efforts to create open and affordable scientific > software by purchasing a PyMOL Maintenance and/or Support subscription. > > More information can be found at "http://www.pymol.org". > > Enter "help" for a list of commands. > Enter "help <command-name>" for information on a specific command. > > Hit ESC anytime to toggle between text and graphics. > > Detected OpenGL version 4.6. Shaders available. > Detected GLSL version 4.60. > OpenGL graphics engine: > GL_VENDOR: NVIDIA Corporation > GL_RENDERER: GeForce GT 1030/PCIe/SSE2 > GL_VERSION: 4.6.0 NVIDIA 410.93 > Detected 6 CPU cores. Enabled multithreaded rendering. > > and all the previous versions of pymol are perfectly fine... > > pymol/release/1.8.7-Python-2.7.12 pymol/release/2.1.0-Python-3.6.6 > pymol/release/1.8.7-Python-2.7.15 pymol/release/2.1.0-Python-centos7 > pymol/release/1.8.7-Python-3.5.2 pymol/release/2.2.0-Python-2.7.15 > pymol/release/1.8.7-Python-3.6.3 pymol/release/2.2.0-Python-3.5.2 > pymol/release/1.8.7-Python-3.6.6 pymol/release/2.2.0-Python-3.6.6 > pymol/release/1.8.7-Python-centos7 pymol/release/2.2.0-Python-centos7 > pymol/release/2.1.0-Python-2.7.12 > pymol/release/2.1.0-Python-2.7.15 > pymol/release/2.1.0-Python-3.5.2 > pymol/release/2.1.0-Python-3.6.3 > > Any idea where I can start looking at? > > python3 build process details: > module purge && module add Python/${PYTHON_V} > python3 setup.py build > python3 setup.py install --prefix=/.... > > for python2, I just resplaced python3 by python in the lines above. > > Any idea what could be causing this behaviour? > > Cheers > > Tru > > -- > Dr Tru Huynh | mailto:tr...@pa... | tel +33 1 45 68 87 37 > https://research.pasteur.fr/en/team/structural-bioinformatics/ > Institut Pasteur, 25-28 rue du Docteur Roux, 75724 Paris CEDEX 15 France -- Thomas Holder PyMOL Principal Developer Schrödinger, Inc. |
From: Tru H. <tr...@pa...> - 2019-02-13 15:20:15
|
Hi, I have some issue with the latest released version (2.3.0) and manually build Python 2.7.15, 3.5.2 and 3.6.6 on our CentOS-7 machines. [tru@sillage ~]$ module add pymol/release/2.3.0-Python-3.6.6 [tru@sillage ~]$ module li Currently Loaded Modulefiles: 1) Python/3.6.6 3) pymol/release/2.3.0-Python-3.6.6 2) msgpack/2.1.5 [tru@sillage ~]$ pymol Qt not available, using GLUT/Tk interface [tru@sillage ~]$ echo $? 0 The different Python versions are isolated through the environment modules and the issue has only appeared with 2.3.0 and all the python versions except the version using the system provided python version. these fails: pymol/release/2.3.0-Python-2.7.15 pymol/release/2.3.0-Python-3.6.6 pymol/release/2.3.0-Python-3.5.2 this works: pymol/release/2.3.0-Python-centos7 [tru@sillage ~]$ module add pymol/release/2.3.0-Python-centos7 [tru@sillage ~]$ pymol PyMOL(TM) Molecular Graphics System, Version 2.3.0. Copyright (c) Schrodinger, LLC. All Rights Reserved. Created by Warren L. DeLano, Ph.D. PyMOL is user-supported open-source software. Although some versions are freely available, PyMOL is not in the public domain. If PyMOL is helpful in your work or study, then please volunteer support for our ongoing efforts to create open and affordable scientific software by purchasing a PyMOL Maintenance and/or Support subscription. More information can be found at "http://www.pymol.org". Enter "help" for a list of commands. Enter "help <command-name>" for information on a specific command. Hit ESC anytime to toggle between text and graphics. Detected OpenGL version 4.6. Shaders available. Detected GLSL version 4.60. OpenGL graphics engine: GL_VENDOR: NVIDIA Corporation GL_RENDERER: GeForce GT 1030/PCIe/SSE2 GL_VERSION: 4.6.0 NVIDIA 410.93 Detected 6 CPU cores. Enabled multithreaded rendering. and all the previous versions of pymol are perfectly fine... pymol/release/1.8.7-Python-2.7.12 pymol/release/2.1.0-Python-3.6.6 pymol/release/1.8.7-Python-2.7.15 pymol/release/2.1.0-Python-centos7 pymol/release/1.8.7-Python-3.5.2 pymol/release/2.2.0-Python-2.7.15 pymol/release/1.8.7-Python-3.6.3 pymol/release/2.2.0-Python-3.5.2 pymol/release/1.8.7-Python-3.6.6 pymol/release/2.2.0-Python-3.6.6 pymol/release/1.8.7-Python-centos7 pymol/release/2.2.0-Python-centos7 pymol/release/2.1.0-Python-2.7.12 pymol/release/2.1.0-Python-2.7.15 pymol/release/2.1.0-Python-3.5.2 pymol/release/2.1.0-Python-3.6.3 Any idea where I can start looking at? python3 build process details: module purge && module add Python/${PYTHON_V} python3 setup.py build python3 setup.py install --prefix=/.... for python2, I just resplaced python3 by python in the lines above. Any idea what could be causing this behaviour? Cheers Tru -- Dr Tru Huynh | mailto:tr...@pa... | tel +33 1 45 68 87 37 https://research.pasteur.fr/en/team/structural-bioinformatics/ Institut Pasteur, 25-28 rue du Docteur Roux, 75724 Paris CEDEX 15 France |
From: Bruce O. <bco...@gm...> - 2019-02-12 19:56:41
|
Dear all, I used to use PyMol with a fast refreshing CRT and page flipping, but the monitor has died..... What would you buy if you had $2,000 to replace it? Just a new monitor? Or any VR supported, maybe with an interface other than mice? Thanks! Bruce |