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
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Emilia C. A. (Emily) <ecg...@gm...> - 2021-02-17 18:37:59
|
Thanks for the pointer to the cartoon_side_chain_helper function, Tomas. Unfortunately setting this feature 'on' warps beta strands, making it look curvy, which is an atypical representation. Unless there is another means to connect side chains to secondary structure elements, I will have to see on a case by case basis what is the most visually correct and simultaneously appealing representation. Emilia. On Mon, Jan 18, 2021 at 12:34 AM Tomas Malinauskas < tom...@gm...> wrote: > Hi Emilia, > > You might try the following: > set cartoon_side_chain_helper, on > > Hope that helps, > Tomas > > On Mon, Jan 18, 2021 at 7:52 AM Emilia C. Arturo (Emily) > <ecg...@gm...> wrote: > > > > Hi All, > > > > I'm wondering if anyone here knows how to represent an amino acid > residue side chain that resides within a beta strand in stick > representation such that the residue is linked in space with the backbone. > This works fine when representing as sticks a residue that is within a loop > or helix, but not within a strand; there it just sticks out into space, > which looks awful if the figure is not turned 'just so' so that the viewer > cannot see the space. I am using version 2.4.0 on my Mac. > > > > Regards, > > Emilia. > > > > -- > > "Study as if you were going to live forever; live as if you were going > to die tomorrow." - Maria Mitchell > > > > "I'm not afraid of storms for I'm learning to sail my ship." - Louisa > May Alcott > > > > _______________________________________________ > > PyMOL-users mailing list > > Archives: http://www.mail-archive.com/pym...@li... > > Unsubscribe: > https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe > -- "Study as if you were going to live forever; live as if you were going to die tomorrow." - Maria Mitchell "I'm not afraid of storms for I'm learning to sail my ship." - Louisa May Alcott |
From: Chen, Q. <qi...@pi...> - 2021-02-12 21:16:20
|
Hi, Pymol Users, Would anyone help me how to count the salt bridges in all models? After my script, I have the salt bridge list for each model. I would like to know all the possible salt bridges in all models, and their frequency of each salt bridge in all the models. for example, /A/ASP/446/OD2 to /A/LYS/239/NZ: 3.776 exist in both models, while A/GLU/328/OE1 to/A/ARG/322/NE: 2.377 exist in only one model. I have total 50 models. I cannot image a manual way to isolate each salt bridge and count their frequency in 50 models. My wild guess is that text processing might solve this issue. Any suggestions? Thanks! The output of model00000 is as follows model00000/A/GLU/328/OE1 to model00000/A/ARG/322/NE: 2.377 model00000/A/GLU/430/OE2 to model00000/A/ARG/368/NE: 3.883 model00000/A/ASP/446/OD1 to model00000/A/LYS/239/NZ: 2.818 model00000/A/ASP/446/OD2 to model00000/A/LYS/239/NZ: 3.877 model00000/B/GLU/328/OE1 to model00000/B/ARG/322/NE: 2.376 model00000/B/GLU/430/OE2 to model00000/B/ARG/368/NE: 3.884 model00000/B/ASP/446/OD1 to model00000/B/LYS/239/NZ: 2.818 model00000/B/ASP/446/OD2 to model00000/B/LYS/239/NZ: 3.877 model00000/C/GLU/328/OE1 to model00000/C/ARG/322/NE: 2.377 model00000/C/GLU/430/OE2 to model00000/C/ARG/368/NE: 3.883 model00000/C/ASP/446/OD1 to model00000/C/LYS/239/NZ: 2.818 model00000/C/ASP/446/OD2 to model00000/C/LYS/239/NZ: 3.876 model00000/D/GLU/328/OE1 to model00000/D/ARG/322/NE: 2.377 model00000/D/GLU/430/OE2 to model00000/D/ARG/368/NE: 3.883 model00000/D/ASP/446/OD1 to model00000/D/LYS/239/NZ: 2.819 model00000/D/ASP/446/OD2 to model00000/D/LYS/239/NZ: 3.876 model00000/E/GLU/328/OE1 to model00000/E/ARG/322/NE: 2.378 model00000/E/GLU/430/OE2 to model00000/E/ARG/368/NE: 3.883 model00000/E/ASP/446/OD1 to model00000/E/LYS/239/NZ: 2.819 model00000/E/ASP/446/OD2 to model00000/E/LYS/239/NZ: 3.877 The output of model00001 is as follows model00001/A/ASP/429/OD1 to model00001/B/ARG/424/NE: 2.634 model00001/A/ASP/429/OD2 to model00001/B/ARG/424/NE: 3.672 model00001/A/GLU/437/OE2 to model00001/A/ARG/310/NE: 3.310 model00001/A/ASP/446/OD2 to model00001/A/LYS/239/NZ: 3.776 model00001/B/ASP/429/OD1 to model00001/C/ARG/424/NE: 2.600 model00001/B/ASP/429/OD2 to model00001/C/ARG/424/NE: 3.629 model00001/B/GLU/437/OE2 to model00001/B/ARG/310/NE: 3.311 model00001/B/ASP/446/OD2 to model00001/B/LYS/239/NZ: 3.777 model00001/C/ASP/429/OD1 to model00001/D/ARG/424/NE: 2.597 model00001/C/ASP/429/OD2 to model00001/D/ARG/424/NE: 3.621 model00001/C/GLU/437/OE2 to model00001/C/ARG/310/NE: 3.311 model00001/C/ASP/446/OD2 to model00001/C/LYS/239/NZ: 3.776 model00001/D/ASP/429/OD1 to model00001/E/ARG/424/NE: 2.574 model00001/D/ASP/429/OD2 to model00001/E/ARG/424/NE: 3.604 model00001/D/GLU/437/OE2 to model00001/D/ARG/310/NE: 3.310 model00001/D/ASP/446/OD2 to model00001/D/LYS/239/NZ: 3.776 model00001/E/ASP/429/OD1 to model00001/A/ARG/424/NE: 2.589 model00001/E/ASP/429/OD2 to model00001/A/ARG/424/NE: 3.604 model00001/E/GLU/437/OE2 to model00001/E/ARG/310/NE: 3.311 model00001/E/ASP/446/OD2 to model00001/E/LYS/239/NZ: 3.776 Message: 3 Date: Fri, 12 Feb 2021 14:07:13 +0000 From: "Chen, Qiang" <qi...@pi...> To: "pym...@li..." <pym...@li...> Subject: Re: [PyMOL] PyMOL-users Digest, Vol 177, Issue 5 Message-ID: <BL0...@BL...> Content-Type: text/plain; charset="us-ascii" In case anyone has a similar problem, here is my solution from pymol import cmd from glob import glob cmd.do("run list_hb.py") for file in glob("model*.pdb"): print(file) cmd.load(file) obj=cmd.get_object_list('all') print(obj) #hydrogen bonds cmd.do("list_hb all, all, write_distances_file=hb_"+str(obj[0])+".txt") #salt bridge cmd.do("select negative, (resn ASP+GLU and name OD*+OE*)") cmd.do("select positive, (resn Lys and name NZ) or (resn ARG and name NE + NH*)") cmd.do("pairwise_dist negative, positive, 4, show=N, output="+str(obj[0])) |
From: Chen, Q. <qi...@pi...> - 2021-02-12 14:28:30
|
In case anyone has a similar problem, here is my solution from pymol import cmd from glob import glob cmd.do("run list_hb.py") for file in glob("model*.pdb"): print(file) cmd.load(file) obj=cmd.get_object_list('all') print(obj) #hydrogen bonds cmd.do("list_hb all, all, write_distances_file=hb_"+str(obj[0])+".txt") #salt bridge cmd.do("select negative, (resn ASP+GLU and name OD*+OE*)") cmd.do("select positive, (resn Lys and name NZ) or (resn ARG and name NE + NH*)") cmd.do("pairwise_dist negative, positive, 4, show=N, output="+str(obj[0])) ________________________________ From: pym...@li... <pym...@li...> Sent: Thursday, February 11, 2021 7:02 AM To: pym...@li... <pym...@li...> Subject: PyMOL-users Digest, Vol 177, Issue 5 Send PyMOL-users mailing list submissions to pym...@li... To subscribe or unsubscribe via the World Wide Web, visit https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fpymol-users&data=04%7C01%7Cqic8%40pitt.edu%7Ce1b907f15a9b4977cd4108d8ce84e463%7C9ef9f489e0a04eeb87cc3a526112fd0d%7C1%7C0%7C637486417450124995%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=GIej770e5oQdn%2FMzFCZ%2BrBEO9PCc3oJ3JLZuKHC1WWg%3D&reserved=0 or, via email, send a message with subject or body 'help' to pym...@li... You can reach the person managing the list at pym...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of PyMOL-users digest..." Today's Topics: 1. Salt bridges in same chains (Chen, Qiang) ---------------------------------------------------------------------- Message: 1 Date: Wed, 10 Feb 2021 15:09:28 +0000 From: "Chen, Qiang" <qi...@pi...> To: "pym...@li..." <pym...@li...> Subject: [PyMOL] Salt bridges in same chains Message-ID: <DM6...@DM...> Content-Type: text/plain; charset="iso-8859-1" Hi, All, I am writing a script to find all salt bridges in a pentameric proteins in 50 models. The issues are 1. There are no salt bridges found in the same chain. But I find some if I use this command. >pairwise_dist /model00000//A/LYS+ARG/NZ+NE+NH*, /model00000//A/ASP+GLU/OD*+OE*, 4, show=N, output=P My guess is that pairwise_dist does not take the same sel1, sel2 as a valid input. Any solutions/suggestions? 2. The script is apparently not optimized. Any suggestions? Thanks! Charles Here are what I am using now. from pymol import cmd from glob import glob for file in glob("model*.pdb"): print(file) cmd.load(file) obj=cmd.get_object_list('all') print(obj) #salt bridge cmd.do("pairwise_dist ///A/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///A/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_A_A") cmd.do("pairwise_dist ///A/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///B/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_A_B") cmd.do("pairwise_dist ///A/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///C/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_A_C") cmd.do("pairwise_dist ///A/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///D/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_A_D") cmd.do("pairwise_dist ///A/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///E/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_A_E") cmd.do("pairwise_dist ///B/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///B/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_B_B") cmd.do("pairwise_dist ///B/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///C/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_B_C") cmd.do("pairwise_dist ///B/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///D/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_B_D") cmd.do("pairwise_dist ///B/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///E/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_B_E") cmd.do("pairwise_dist ///C/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///C/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_C_C") cmd.do("pairwise_dist ///C/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///D/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_C_D") cmd.do("pairwise_dist ///C/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///E/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_C_E") cmd.do("pairwise_dist ///D/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///D/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_D_D") cmd.do("pairwise_dist ///D/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///E/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_D_E") cmd.do("pairwise_dist ///E/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///E/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_E_E") cmd.delete("all") -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------ Subject: Digest Footer _______________________________________________ PyMOL-users mailing list PyM...@li... https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fpymol-users&data=04%7C01%7Cqic8%40pitt.edu%7Ce1b907f15a9b4977cd4108d8ce84e463%7C9ef9f489e0a04eeb87cc3a526112fd0d%7C1%7C0%7C637486417450134990%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3xxot6OY1TN1olL%2FgxNjlMNi1SfX83ykykyFp1bRhtw%3D&reserved=0 Unsubscribe: https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fpymol%2Flists%2Fpymol-users%2Funsubscribe&data=04%7C01%7Cqic8%40pitt.edu%7Ce1b907f15a9b4977cd4108d8ce84e463%7C9ef9f489e0a04eeb87cc3a526112fd0d%7C1%7C0%7C637486417450134990%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3AIV32DDr4NZ7r70FImMZAFKHW%2F5nxQggpSwRwoAqow%3D&reserved=0 ------------------------------ End of PyMOL-users Digest, Vol 177, Issue 5 ******************************************* |
From: Ali S. K. <aku...@un...> - 2021-02-12 13:18:10
|
Hi Benedikt, You can do a work around with '<' or '>': Sele qm, q>0.9999999 and q<1.0000001 I checked that this works like this for my "obj" in PyMOL: stored.q = [] iterate obj, stored.q.append(q) q_arr = np.array(stored.q) q_1 = q_arr[q_arr == 1] # only keep values of q that equal 1 print(len(q_1)) You can make actually use this numpy feature to slice the atom indices into an array (lets say atom_arr) then make a selection with it like this: cmd.select("qm",f"index {'+',join(atom_arr)}") But '<' or '>' operators are quicker and seem safe Kind regards, Ali Kusay Ali Kusay | BPharm (Hons) | PhD Candidate & Pharmacist The University of Sydney School of Pharmacy | Faculty of Medicine and Health 424, Brain and Mind Centre | The University of Sydney | NSW 2050 On 12/2/21, 11:34 pm, "Benedikt Floeser" <ben...@ce...> wrote: Dear fellow users, among other things I use pymol to edit PDB files so as to use them in an ORCA calculation. This entails changing the occupancy and B-factors to values of 0, 1 and 2. Changing these entries to the appropriate values but selecting, e.g., all atoms with a q value of 1 or 1.00 with something like 'select qm, q = 1' fails whereas it works with partial charges or formal charges. Is there any way to do this without resorting to workarounds with '<' or '>'? Best -- Dr. Benedikt M. Flöser Max-Planck-Institute for Chemical Energy Conversion Stiftstraße 34-36 45470 Mülheim a.d. Ruhr Germany |
From: Benedikt F. <ben...@ce...> - 2021-02-12 12:29:14
|
Dear fellow users, among other things I use pymol to edit PDB files so as to use them in an ORCA calculation. This entails changing the occupancy and B-factors to values of 0, 1 and 2. Changing these entries to the appropriate values but selecting, e.g., all atoms with a q value of 1 or 1.00 with something like 'select qm, q = 1' fails whereas it works with partial charges or formal charges. Is there any way to do this without resorting to workarounds with '<' or '>'? Best -- Dr. Benedikt M. Flöser Max-Planck-Institute for Chemical Energy Conversion Stiftstraße 34-36 45470 Mülheim a.d. Ruhr Germany |
From: Israel S. <isr...@gm...> - 2021-02-12 09:54:18
|
Hello PyMOL users, I used to run the script pucker.py (https://pymolwiki.org/index.php/Pucker) in the old version of PyMOL. It's a script to calculate the sugar pucker information of the nucleic acid structures. Unfortunately, it not working in PyMOL 2.4.1, I guess because is written in Python 2. I have tried to run the 2to3 to update the script, but I get some errors. Has anybody been able to run this script in PyMOL 2.4? Thanks, Israel |
From: Chen, Q. <qi...@pi...> - 2021-02-10 18:42:10
|
Hi, All, I am writing a script to find all salt bridges in a pentameric proteins in 50 models. The issues are 1. There are no salt bridges found in the same chain. But I find some if I use this command. >pairwise_dist /model00000//A/LYS+ARG/NZ+NE+NH*, /model00000//A/ASP+GLU/OD*+OE*, 4, show=N, output=P My guess is that pairwise_dist does not take the same sel1, sel2 as a valid input. Any solutions/suggestions? 2. The script is apparently not optimized. Any suggestions? Thanks! Charles Here are what I am using now. from pymol import cmd from glob import glob for file in glob("model*.pdb"): print(file) cmd.load(file) obj=cmd.get_object_list('all') print(obj) #salt bridge cmd.do("pairwise_dist ///A/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///A/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_A_A") cmd.do("pairwise_dist ///A/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///B/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_A_B") cmd.do("pairwise_dist ///A/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///C/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_A_C") cmd.do("pairwise_dist ///A/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///D/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_A_D") cmd.do("pairwise_dist ///A/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///E/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_A_E") cmd.do("pairwise_dist ///B/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///B/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_B_B") cmd.do("pairwise_dist ///B/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///C/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_B_C") cmd.do("pairwise_dist ///B/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///D/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_B_D") cmd.do("pairwise_dist ///B/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///E/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_B_E") cmd.do("pairwise_dist ///C/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///C/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_C_C") cmd.do("pairwise_dist ///C/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///D/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_C_D") cmd.do("pairwise_dist ///C/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///E/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_C_E") cmd.do("pairwise_dist ///D/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///D/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_D_D") cmd.do("pairwise_dist ///D/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///E/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_D_E") cmd.do("pairwise_dist ///E/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, ///E/ASP+GLU+LYS+ARG/OD*+OE*+NZ+NE+NH*, 4, show=N, output="+str(obj[0])+"_E_E") cmd.delete("all") |
From: Neena S. E. <nee...@gm...> - 2021-02-10 02:21:53
|
Hi Jared, Thank you for teaching me that special feature on pymol; on my pymol version set label_position worked (instead of set label_offset). Neena On Sun, 31 Jan 2021 at 20:17, Jared Sampson <jar...@co...> wrote: > Hi Neena - > > There is also a `label_offset` setting, which can be given an x,y,z vector > in viewport coordinates. So if you want all labels to be in the foreground > compared to their respective atom(s), you might set it via: > > set label_offset, [0,0,5] > > I believe this can also be done in an object-specific fashion, so you > could also do: > > set label_offset, [0,0,5], myobject > > Hope that helps. > > Cheers, > Jared > > > On Sat, Jan 30, 2021 at 2:52 AM Neena Susan Eappen < > nee...@gm...> wrote: > >> Hi Ali, >> >> Thank you for the brief and thorough explanation! All those commands gave >> exactly what I was looking for! >> >> Many thanks, >> Neena >> >> On Fri, 29 Jan 2021 at 18:36, Ali Saad Kusay <aku...@un...> >> wrote: >> >>> Hi Neena, >>> >>> A simple way to label in PyMOL is to simply select the atom you want and >>> enter the following command: >>> label sele, "what you want to label" >>> >>> I.e. for the N: >>> label sele, "N" >>> >>> PyMOL can render the special ⨁ you are using, through unicode: >>> label sele, '\u2A01' >>> Visit the wiki for more info: >>> https://pymolwiki.org/index.php/Label_font_id >>> >>> The labels may be small, to change size, >>> set label_size, 30 >>> Change the 30 to what size you need >>> >>> Finally, the labels will likely be off in position, the easiest way to >>> change position is by using the editing mode: >>> This helpful video shows this around 3:30 ( >>> https://www.youtube.com/watch?v=yBFzJ3ql4qU&ab_channel=MolecularMemory) >>> >>> Cheers, >>> >>> Ali >>> >>> Ali Kusay | BPharm (Hons) | PhD Candidate & Pharmacist >>> Supervised by A/Prof Thomas Balle >>> The University of Sydney School of Pharmacy | Faculty of Medicine and >>> Health >>> 424, Brain and Mind Centre | The University of Sydney | NSW 2050 >>> >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >> PyMOL-users mailing list >> Archives: http://www.mail-archive.com/pym...@li... >> Unsubscribe: >> https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe > > |
From: András F. W. <wac...@tt...> - 2021-02-04 06:48:23
|
Dear PyMOLers, in case any of you is interested, we have developed a new plugin for peptide model building. Originally for beta-peptides, but works for natural ones as well. It can handle mono- and disubstituted beta-amino acids (and alpha ones) with arbitrary proteinogenic side-chains and arbitrary Calpha/Cbeta chirality, and features a library of secondary structures, thus entire sequences of peptides can be built with the secondary structure defined at a per-residue base. More information can be found on the PyMOL Wiki page: https://pymolwiki.org/index.php/Pmlbeta and the links therein. I hope this may help some of you. Best regards, Andras Wacha -- András Ferenc Wacha, PhD research fellow, CREDO instrument responsible Biological Nanochemistry Research Group (310) Institute of Materials and Environmental Chemistry Research Centre for Natural Sciences (RCNS) Magyar tudósok körútja 2. H-1117 Budapest, Hungary Phone: +36-1-382-6427 Web: http://bionano.ttk.hu CREDO SAXS instrument: http://credo.ttk.hu |
From: Jon R S. <j.r...@sh...> - 2021-02-02 09:00:07
|
Or you can use "3 button edit mode" with a combination of Control (on a Mac) and the left mouse button. It allows you to move the label in first 2Ds, release, rotate and do it again to position exactly where you want it, e.g. in front, behind etc. BW Jon On Mon, 1 Feb 2021 at 21:23, Jared Sampson <jar...@co...> wrote: > Sorry, I replied from my phone earlier...the correct setting is > `label_position`. https://pymolwiki.org/index.php/Label_position > > Best, > Jared > > On Sun, Jan 31, 2021 at 8:17 PM Jared Sampson <jar...@co...> > wrote: > >> Hi Neena - >> >> There is also a `label_offset` setting, which can be given an x,y,z >> vector in viewport coordinates. So if you want all labels to be in the >> foreground compared to their respective atom(s), you might set it via: >> >> set label_offset, [0,0,5] >> >> I believe this can also be done in an object-specific fashion, so you >> could also do: >> >> set label_offset, [0,0,5], myobject >> >> Hope that helps. >> >> Cheers, >> Jared >> >> >> On Sat, Jan 30, 2021 at 2:52 AM Neena Susan Eappen < >> nee...@gm...> wrote: >> >>> Hi Ali, >>> >>> Thank you for the brief and thorough explanation! All those commands >>> gave exactly what I was looking for! >>> >>> Many thanks, >>> Neena >>> >>> On Fri, 29 Jan 2021 at 18:36, Ali Saad Kusay <aku...@un...> >>> wrote: >>> >>>> Hi Neena, >>>> >>>> A simple way to label in PyMOL is to simply select the atom you want >>>> and enter the following command: >>>> label sele, "what you want to label" >>>> >>>> I.e. for the N: >>>> label sele, "N" >>>> >>>> PyMOL can render the special ⨁ you are using, through unicode: >>>> label sele, '\u2A01' >>>> Visit the wiki for more info: >>>> https://pymolwiki.org/index.php/Label_font_id >>>> >>>> The labels may be small, to change size, >>>> set label_size, 30 >>>> Change the 30 to what size you need >>>> >>>> Finally, the labels will likely be off in position, the easiest way to >>>> change position is by using the editing mode: >>>> This helpful video shows this around 3:30 ( >>>> https://www.youtube.com/watch?v=yBFzJ3ql4qU&ab_channel=MolecularMemory) >>>> >>>> Cheers, >>>> >>>> Ali >>>> >>>> Ali Kusay | BPharm (Hons) | PhD Candidate & Pharmacist >>>> Supervised by A/Prof Thomas Balle >>>> The University of Sydney School of Pharmacy | Faculty of Medicine and >>>> Health >>>> 424, Brain and Mind Centre | The University of Sydney | NSW 2050 >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>> PyMOL-users mailing list >>> Archives: http://www.mail-archive.com/pym...@li... >>> Unsubscribe: >>> https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe >> >> _______________________________________________ > PyMOL-users mailing list > Archives: http://www.mail-archive.com/pym...@li... > Unsubscribe: > https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe -- Professor Jon R Sayers, FRSB Department of Infection, Immunity & Cardiovascular Disease University of Sheffield Medical School Beech Hill Rd Sheffield S10 2RX United Kingdom Tel: +44 (0)114 215 9552 Fax: +44 (0)114 271 1863 Email: j.r...@sh... https://www.sheffield.ac.uk/iicd/profiles/sayers <http://www.sheffield.ac.uk/iicd/profiles/sayers> |
From: Jared S. <jar...@co...> - 2021-02-01 21:20:16
|
Sorry, I replied from my phone earlier...the correct setting is `label_position`. https://pymolwiki.org/index.php/Label_position Best, Jared On Sun, Jan 31, 2021 at 8:17 PM Jared Sampson <jar...@co...> wrote: > Hi Neena - > > There is also a `label_offset` setting, which can be given an x,y,z vector > in viewport coordinates. So if you want all labels to be in the foreground > compared to their respective atom(s), you might set it via: > > set label_offset, [0,0,5] > > I believe this can also be done in an object-specific fashion, so you > could also do: > > set label_offset, [0,0,5], myobject > > Hope that helps. > > Cheers, > Jared > > > On Sat, Jan 30, 2021 at 2:52 AM Neena Susan Eappen < > nee...@gm...> wrote: > >> Hi Ali, >> >> Thank you for the brief and thorough explanation! All those commands gave >> exactly what I was looking for! >> >> Many thanks, >> Neena >> >> On Fri, 29 Jan 2021 at 18:36, Ali Saad Kusay <aku...@un...> >> wrote: >> >>> Hi Neena, >>> >>> A simple way to label in PyMOL is to simply select the atom you want and >>> enter the following command: >>> label sele, "what you want to label" >>> >>> I.e. for the N: >>> label sele, "N" >>> >>> PyMOL can render the special ⨁ you are using, through unicode: >>> label sele, '\u2A01' >>> Visit the wiki for more info: >>> https://pymolwiki.org/index.php/Label_font_id >>> >>> The labels may be small, to change size, >>> set label_size, 30 >>> Change the 30 to what size you need >>> >>> Finally, the labels will likely be off in position, the easiest way to >>> change position is by using the editing mode: >>> This helpful video shows this around 3:30 ( >>> https://www.youtube.com/watch?v=yBFzJ3ql4qU&ab_channel=MolecularMemory) >>> >>> Cheers, >>> >>> Ali >>> >>> Ali Kusay | BPharm (Hons) | PhD Candidate & Pharmacist >>> Supervised by A/Prof Thomas Balle >>> The University of Sydney School of Pharmacy | Faculty of Medicine and >>> Health >>> 424, Brain and Mind Centre | The University of Sydney | NSW 2050 >>> >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >> PyMOL-users mailing list >> Archives: http://www.mail-archive.com/pym...@li... >> Unsubscribe: >> https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe > > |
From: Jared S. <jar...@co...> - 2021-02-01 10:03:34
|
Hi Neena - There is also a `label_offset` setting, which can be given an x,y,z vector in viewport coordinates. So if you want all labels to be in the foreground compared to their respective atom(s), you might set it via: set label_offset, [0,0,5] I believe this can also be done in an object-specific fashion, so you could also do: set label_offset, [0,0,5], myobject Hope that helps. Cheers, Jared On Sat, Jan 30, 2021 at 2:52 AM Neena Susan Eappen <nee...@gm...> wrote: > Hi Ali, > > Thank you for the brief and thorough explanation! All those commands gave > exactly what I was looking for! > > Many thanks, > Neena > > On Fri, 29 Jan 2021 at 18:36, Ali Saad Kusay <aku...@un...> > wrote: > >> Hi Neena, >> >> A simple way to label in PyMOL is to simply select the atom you want and >> enter the following command: >> label sele, "what you want to label" >> >> I.e. for the N: >> label sele, "N" >> >> PyMOL can render the special ⨁ you are using, through unicode: >> label sele, '\u2A01' >> Visit the wiki for more info: >> https://pymolwiki.org/index.php/Label_font_id >> >> The labels may be small, to change size, >> set label_size, 30 >> Change the 30 to what size you need >> >> Finally, the labels will likely be off in position, the easiest way to >> change position is by using the editing mode: >> This helpful video shows this around 3:30 ( >> https://www.youtube.com/watch?v=yBFzJ3ql4qU&ab_channel=MolecularMemory) >> >> Cheers, >> >> Ali >> >> Ali Kusay | BPharm (Hons) | PhD Candidate & Pharmacist >> Supervised by A/Prof Thomas Balle >> The University of Sydney School of Pharmacy | Faculty of Medicine and >> Health >> 424, Brain and Mind Centre | The University of Sydney | NSW 2050 >> >> >> >> >> >> >> >> >> _______________________________________________ > PyMOL-users mailing list > Archives: http://www.mail-archive.com/pym...@li... > Unsubscribe: > https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe |
From: Justine W. <jus...@uw...> - 2021-02-01 09:38:34
|
Dear Users, Thank you very much for the suggestions! I was able to connect to a computer remotely to try them out. In case anyone else has issues with this in the future: homebrew does indeed work nicely with open source PyMOL and Rdkit. It turns out there was an issue with the Python pathways since Anaconda was already installed and therefore by default the Anaconda Python was being referenced. Once I made sure to specify the Python pathway that corresponded to homebrew, additional dependencies I needed (such as matplotlib) could be installed with pip. Justine ________________________________ From: Thomas Holder <tho...@sc...> Sent: Wednesday, January 27, 2021 2:54 AM To: Justine Williams <jus...@uw...> Cc: pym...@li... <pym...@li...> Subject: Re: [PyMOL] Mac Installation Question Hi Justine, Have you tried with the official schrodinger::pymol package? If the user who wants to use your plugin has a PyMOL license, that should be the best option for him. conda create -n pymol -c conda-forge python=3.7 rdkit=2020.03.3.0 matplotlib seaborn pip numpy schrodinger::pymol schrodinger::tk scikit-learn git You can also test this without a license, PyMOL will run in evaluation mode but your plugin should be fully functional. Cheers, Thomas > On Jan 27, 2021, at 1:46 AM, Justine Williams <jus...@uw...> wrote: > > Dear users, > > Could someone please help me with installing open source pymol on MacOS? I created a plugin, but to allow it to be more easily available to users with different OS, I need to include installation instructions for installing open source pymol on each. I prepared some installation instructions for creating a conda environment that works with Windows and Linux, but am having some issues getting the installation to work consistently for the MacOS case. As a note, I am not a Mac user myself, and have been trying to troubleshoot remotely with the help of colleagues who own Macs. > > I need to have the rdkit package usable to pymol, which is why I was creating the conda environment. The general conda steps that worked for Windows/Linux were to install and activate Anaconda3 (https://docs.anaconda.com/anaconda/install/mac-os/). Next, to open a terminal in the Anaconda3 directory named "envs." Then to use the following command to create an environment named pymol with the packages necessary: > > conda create -n pymol python=3.7 rdkit=2020.03.3.0 matplotlib seaborn pip numpy conda-forge::pmw tpeulen::pymol-open-source scikit-learn git > > Finally, to activate the environment: > > conda activate pymol > > The error that is generated for this approach is "ImportError: dlopen(/Users/FarFar/anaconda3/envs/pymol/lib/python3.7/site-packages/pymol/_cmd.cpython-37m-darwin.so, 2): Symbol not found: _glAccum" > > I would really appreciate any assistance with installation for Mac cases, or if anyone knows of known issues with this. As of now, it seems like using homebrew to install open source pymol and rdkit might be the best approach to take, but I have not been able to get that working. If there are other strategies for installing open source pymol and rdkit I would really appreciate the help. > > Thank you, > > Justine > _______________________________________________ > PyMOL-users mailing list > Archives: http://www.mail-archive.com/pym...@li... > Unsubscribe: https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe -- Thomas Holder PyMOL Principal Developer Schrödinger, Inc. |
From: Neena S. E. <nee...@gm...> - 2021-01-30 07:51:25
|
Hi Ali, Thank you for the brief and thorough explanation! All those commands gave exactly what I was looking for! Many thanks, Neena On Fri, 29 Jan 2021 at 18:36, Ali Saad Kusay <aku...@un...> wrote: > Hi Neena, > > A simple way to label in PyMOL is to simply select the atom you want and > enter the following command: > label sele, "what you want to label" > > I.e. for the N: > label sele, "N" > > PyMOL can render the special ⨁ you are using, through unicode: > label sele, '\u2A01' > Visit the wiki for more info: > https://pymolwiki.org/index.php/Label_font_id > > The labels may be small, to change size, > set label_size, 30 > Change the 30 to what size you need > > Finally, the labels will likely be off in position, the easiest way to > change position is by using the editing mode: > This helpful video shows this around 3:30 ( > https://www.youtube.com/watch?v=yBFzJ3ql4qU&ab_channel=MolecularMemory) > > Cheers, > > Ali > > Ali Kusay | BPharm (Hons) | PhD Candidate & Pharmacist > Supervised by A/Prof Thomas Balle > The University of Sydney School of Pharmacy | Faculty of Medicine and > Health > 424, Brain and Mind Centre | The University of Sydney | NSW 2050 > > > > > > > > > |
From: Ali S. K. <aku...@un...> - 2021-01-30 00:08:47
|
Hi Neena, A simple way to label in PyMOL is to simply select the atom you want and enter the following command: label sele, "what you want to label" I.e. for the N: label sele, "N" PyMOL can render the special ⨁ you are using, through unicode: label sele, '\u2A01' Visit the wiki for more info: https://pymolwiki.org/index.php/Label_font_id The labels may be small, to change size, set label_size, 30 Change the 30 to what size you need Finally, the labels will likely be off in position, the easiest way to change position is by using the editing mode: This helpful video shows this around 3:30 (https://www.youtube.com/watch?v=yBFzJ3ql4qU&ab_channel=MolecularMemory) Cheers, Ali Ali Kusay | BPharm (Hons) | PhD Candidate & Pharmacist Supervised by A/Prof Thomas Balle The University of Sydney School of Pharmacy | Faculty of Medicine and Health 424, Brain and Mind Centre | The University of Sydney | NSW 2050 |
From: Neena S. E. <nee...@gm...> - 2021-01-29 22:31:31
|
Hello PyMOL users, Is there a way to label charge sites and termini on PyMOL as I have shown in the below figure instead of using Paint? In addition, is there a way to check color contrast for this peptide structure for making it more accessible to the readers? [image: image.png] Many thanks, Neena |
From: Thomas H. <tho...@sc...> - 2021-01-29 10:04:10
|
Hi Yufeng, The "Properties" panel can show you which settings got changed with the preset. The "pretty" preset indeed sets "cartoon_side_chain_helper" to "off" for the object. The easiest way to clear this setting is to use the "unset_deep" command. unset_deep cartoon_side_chain_helper set cartoon_side_chain_helper https://pymolwiki.org/index.php/Unset_deep https://pymolwiki.org/index.php/Properties_Inspector Cheers, Thomas > On Jan 29, 2021, at 6:26 AM, Yufeng Tong <yuf...@gm...> wrote: > > Hi Tomas, > > I noticed this setting is not working when > preset.pretty(selection='all') has been invoked, that is, whether > cartoon_side_chain_helper is set to on or off, the side chain is > disconnected. Do you know what is changed when preset.pretty() is > called? > > The reason I want to call preset.pretty() is that if this is not > called, the sticks representation of an isopeptide cannot be properly > displayed (no sticks shown for the isopeptide bond), a bit of a > dilemma. > > Thanks, > > Yufeng > > > On Mon, Jan 18, 2021 at 3:35 AM Tomas Malinauskas > <tom...@gm...> wrote: >> >> Hi Emilia, >> >> You might try the following: >> set cartoon_side_chain_helper, on >> >> Hope that helps, >> Tomas >> >> On Mon, Jan 18, 2021 at 7:52 AM Emilia C. Arturo (Emily) >> <ecg...@gm...> wrote: >>> >>> Hi All, >>> >>> I'm wondering if anyone here knows how to represent an amino acid residue side chain that resides within a beta strand in stick representation such that the residue is linked in space with the backbone. This works fine when representing as sticks a residue that is within a loop or helix, but not within a strand; there it just sticks out into space, which looks awful if the figure is not turned 'just so' so that the viewer cannot see the space. I am using version 2.4.0 on my Mac. >>> >>> Regards, >>> Emilia. >>> >>> -- >>> "Study as if you were going to live forever; live as if you were going to die tomorrow." - Maria Mitchell >>> >>> "I'm not afraid of storms for I'm learning to sail my ship." - Louisa May Alcott >>> >>> _______________________________________________ >>> PyMOL-users mailing list >>> Archives: http://www.mail-archive.com/pym...@li... >>> Unsubscribe: https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe >> >> >> _______________________________________________ >> PyMOL-users mailing list >> Archives: http://www.mail-archive.com/pym...@li... >> Unsubscribe: https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe > > > _______________________________________________ > PyMOL-users mailing list > Archives: http://www.mail-archive.com/pym...@li... > Unsubscribe: https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe -- Thomas Holder PyMOL Principal Developer Schrödinger, Inc. |
From: Yufeng T. <yuf...@gm...> - 2021-01-29 05:27:39
|
Hi Tomas, I noticed this setting is not working when preset.pretty(selection='all') has been invoked, that is, whether cartoon_side_chain_helper is set to on or off, the side chain is disconnected. Do you know what is changed when preset.pretty() is called? The reason I want to call preset.pretty() is that if this is not called, the sticks representation of an isopeptide cannot be properly displayed (no sticks shown for the isopeptide bond), a bit of a dilemma. Thanks, Yufeng On Mon, Jan 18, 2021 at 3:35 AM Tomas Malinauskas <tom...@gm...> wrote: > > Hi Emilia, > > You might try the following: > set cartoon_side_chain_helper, on > > Hope that helps, > Tomas > > On Mon, Jan 18, 2021 at 7:52 AM Emilia C. Arturo (Emily) > <ecg...@gm...> wrote: > > > > Hi All, > > > > I'm wondering if anyone here knows how to represent an amino acid residue side chain that resides within a beta strand in stick representation such that the residue is linked in space with the backbone. This works fine when representing as sticks a residue that is within a loop or helix, but not within a strand; there it just sticks out into space, which looks awful if the figure is not turned 'just so' so that the viewer cannot see the space. I am using version 2.4.0 on my Mac. > > > > Regards, > > Emilia. > > > > -- > > "Study as if you were going to live forever; live as if you were going to die tomorrow." - Maria Mitchell > > > > "I'm not afraid of storms for I'm learning to sail my ship." - Louisa May Alcott > > > > _______________________________________________ > > PyMOL-users mailing list > > Archives: http://www.mail-archive.com/pym...@li... > > Unsubscribe: https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe > > > _______________________________________________ > PyMOL-users mailing list > Archives: http://www.mail-archive.com/pym...@li... > Unsubscribe: https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe |
From: Thomas H. <tho...@sc...> - 2021-01-27 10:18:29
|
Hi Ioannis, You could make a mapping of rank to residue selection and then sort that by rank. Something like this: from pymol import cmd, stored stored.mydict = {} cmd.iterate("guide", "stored.mydict[rank] = f'///{chain}/{resi}'") for rank, sele in sorted(stored.mydict.items()): cmd.iterate(sele, "print(chain, resi, resn, name)") Cheers, Thomas > On Jan 13, 2021, at 10:38 AM, Ioannis G. Riziotis <riz...@eb...> wrote: > > Hello, > > Is there any way to iterate over residues by index in the PDB file (not resi, but the absolute order of the residues in the pdb). Something like the equivalent of ‘rank’ for atoms, but in residue level. > > Best, > Ioannis > > > _______________________________________________ > PyMOL-users mailing list > Archives: http://www.mail-archive.com/pym...@li... > Unsubscribe: https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe -- Thomas Holder PyMOL Principal Developer Schrödinger, Inc. |
From: Thomas H. <tho...@sc...> - 2021-01-27 08:24:20
|
Hi Justine, Have you tried with the official schrodinger::pymol package? If the user who wants to use your plugin has a PyMOL license, that should be the best option for him. conda create -n pymol -c conda-forge python=3.7 rdkit=2020.03.3.0 matplotlib seaborn pip numpy schrodinger::pymol schrodinger::tk scikit-learn git You can also test this without a license, PyMOL will run in evaluation mode but your plugin should be fully functional. Cheers, Thomas > On Jan 27, 2021, at 1:46 AM, Justine Williams <jus...@uw...> wrote: > > Dear users, > > Could someone please help me with installing open source pymol on MacOS? I created a plugin, but to allow it to be more easily available to users with different OS, I need to include installation instructions for installing open source pymol on each. I prepared some installation instructions for creating a conda environment that works with Windows and Linux, but am having some issues getting the installation to work consistently for the MacOS case. As a note, I am not a Mac user myself, and have been trying to troubleshoot remotely with the help of colleagues who own Macs. > > I need to have the rdkit package usable to pymol, which is why I was creating the conda environment. The general conda steps that worked for Windows/Linux were to install and activate Anaconda3 (https://docs.anaconda.com/anaconda/install/mac-os/). Next, to open a terminal in the Anaconda3 directory named "envs." Then to use the following command to create an environment named pymol with the packages necessary: > > conda create -n pymol python=3.7 rdkit=2020.03.3.0 matplotlib seaborn pip numpy conda-forge::pmw tpeulen::pymol-open-source scikit-learn git > > Finally, to activate the environment: > > conda activate pymol > > The error that is generated for this approach is “ImportError: dlopen(/Users/FarFar/anaconda3/envs/pymol/lib/python3.7/site-packages/pymol/_cmd.cpython-37m-darwin.so, 2): Symbol not found: _glAccum” > > I would really appreciate any assistance with installation for Mac cases, or if anyone knows of known issues with this. As of now, it seems like using homebrew to install open source pymol and rdkit might be the best approach to take, but I have not been able to get that working. If there are other strategies for installing open source pymol and rdkit I would really appreciate the help. > > Thank you, > > Justine > _______________________________________________ > PyMOL-users mailing list > Archives: http://www.mail-archive.com/pym...@li... > Unsubscribe: https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe -- Thomas Holder PyMOL Principal Developer Schrödinger, Inc. |
From: Justine W. <jus...@uw...> - 2021-01-27 01:01:58
|
Dear users, Could someone please help me with installing open source pymol on MacOS? I created a plugin, but to allow it to be more easily available to users with different OS, I need to include installation instructions for installing open source pymol on each. I prepared some installation instructions for creating a conda environment that works with Windows and Linux, but am having some issues getting the installation to work consistently for the MacOS case. As a note, I am not a Mac user myself, and have been trying to troubleshoot remotely with the help of colleagues who own Macs. I need to have the rdkit package usable to pymol, which is why I was creating the conda environment. The general conda steps that worked for Windows/Linux were to install and activate Anaconda3 (https://docs.anaconda.com/anaconda/install/mac-os/). Next, to open a terminal in the Anaconda3 directory named "envs." Then to use the following command to create an environment named pymol with the packages necessary: conda create -n pymol python=3.7 rdkit=2020.03.3.0 matplotlib seaborn pip numpy conda-forge::pmw tpeulen::pymol-open-source scikit-learn git Finally, to activate the environment: conda activate pymol The error that is generated for this approach is "ImportError: dlopen(/Users/FarFar/anaconda3/envs/pymol/lib/python3.7/site-packages/pymol/_cmd.cpython-37m-darwin.so, 2): Symbol not found: _glAccum" I would really appreciate any assistance with installation for Mac cases, or if anyone knows of known issues with this. As of now, it seems like using homebrew to install open source pymol and rdkit might be the best approach to take, but I have not been able to get that working. If there are other strategies for installing open source pymol and rdkit I would really appreciate the help. Thank you, Justine |
From: Tomas M. <tom...@gm...> - 2021-01-18 08:35:16
|
Hi Emilia, You might try the following: set cartoon_side_chain_helper, on Hope that helps, Tomas On Mon, Jan 18, 2021 at 7:52 AM Emilia C. Arturo (Emily) <ecg...@gm...> wrote: > > Hi All, > > I'm wondering if anyone here knows how to represent an amino acid residue side chain that resides within a beta strand in stick representation such that the residue is linked in space with the backbone. This works fine when representing as sticks a residue that is within a loop or helix, but not within a strand; there it just sticks out into space, which looks awful if the figure is not turned 'just so' so that the viewer cannot see the space. I am using version 2.4.0 on my Mac. > > Regards, > Emilia. > > -- > "Study as if you were going to live forever; live as if you were going to die tomorrow." - Maria Mitchell > > "I'm not afraid of storms for I'm learning to sail my ship." - Louisa May Alcott > > _______________________________________________ > PyMOL-users mailing list > Archives: http://www.mail-archive.com/pym...@li... > Unsubscribe: https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe |
From: Emilia C. A. (Emily) <ecg...@gm...> - 2021-01-16 00:25:51
|
Hi All, I'm wondering if anyone here knows how to represent an amino acid residue side chain that resides within a beta strand in stick representation such that the residue is linked in space with the backbone. This works fine when representing as sticks a residue that is within a loop or helix, but not within a strand; there it just sticks out into space, which looks awful if the figure is not turned 'just so' so that the viewer cannot see the space. I am using version 2.4.0 on my Mac. Regards, Emilia. -- "Study as if you were going to live forever; live as if you were going to die tomorrow." - Maria Mitchell "I'm not afraid of storms for I'm learning to sail my ship." - Louisa May Alcott |
From: Ioannis G. R. <riz...@eb...> - 2021-01-13 09:38:44
|
Hello, Is there any way to iterate over residues by index in the PDB file (not resi, but the absolute order of the residues in the pdb). Something like the equivalent of ‘rank’ for atoms, but in residue level. Best, Ioannis |