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
|
7
|
8
|
9
|
10
(2) |
11
(5) |
12
(1) |
13
(2) |
14
|
15
|
16
|
17
(2) |
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
(3) |
27
(1) |
28
|
29
|
30
|
31
(1) |
|
|
|
From: Gary H. <gar...@um...> - 2018-01-31 09:22:33
|
My pymolrc file contains a line: viewport 1350,950 which nicely fills my screen when I start pymol 1.8. However in pymol2 the screen has the correct dimensions but the whole thing is offest to the right and down. What should be the top left corner of the window is placed about a quarter of the way from the left hand side and about one sixth of the way down from the top. Is it a bug or is there a new viewport command? -- Prof. Gary J. Hunter, Laboratory of Biochemistry and Protein Science, Department of Physiology and Biochemistry, University of Malta, Msida, MSD 2080, Malta. phone: +356 2340 2917 phone: +356 21316655 (secretary), Fax: +356 21310577 http://www.um.edu.mt/ms/physbiochem There may be confidential information within the contents of this email meant only for the person addressed. This email must not be forwarded to third parties without the express consent of the sender. If you believe you have received this email in error please inform the sender and remove it from your system. |
From: Jared S. <jar...@co...> - 2018-01-27 05:41:55
|
Hi Mohammad - The `align` function (https://pymolwiki.org/index.php/Align) does a sequence-based (as opposed to structural-based) alignment of different objects. If you need to use a specific alignment from an external program, see Thomas Holder's post to this mailing list from last week: https://sourceforge.net/p/pymol/mailman/message/36193233/ Hope that helps, Cheers, Jared On January 26, 2018 at 6:12:25 PM, Mohammad Goodarzi (moh...@gm...) wrote: Jared, Thanks for your message. Do you know how to align several proteins based on their similar domain ? I mean overlap them based on their similar sequence that I know the read ? Thanks Mohammad On Fri, Jan 26, 2018 at 3:53 PM, Jared Sampson <jar...@co...> wrote: Hi Mohammad - If you know the residue numbers at the domain boundaries, you can do this at the command line with, e.g.: color red, chain A and resi 1-100 color cyan, chain A and resi 101-200 etc. Hope that helps. Cheers, Jared On January 26, 2018 at 4:48:43 PM, Mohammad Goodarzi (moh...@gm...) wrote: Hello, I have a sequence and I obtain various domains. I want to show them with various colors. How can one do that? for example can one of you show it on SIRT1 Thanks Mohammad ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________ PyMOL-users mailing list (PyM...@li...) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pym...@li... |
From: Mohammad G. <moh...@gm...> - 2018-01-26 23:12:25
|
Jared, Thanks for your message. Do you know how to align several proteins based on their similar domain ? I mean overlap them based on their similar sequence that I know the read ? Thanks Mohammad On Fri, Jan 26, 2018 at 3:53 PM, Jared Sampson <jar...@co...> wrote: > Hi Mohammad - > > If you know the residue numbers at the domain boundaries, you can do this > at the command line with, e.g.: > > color red, chain A and resi 1-100 > color cyan, chain A and resi 101-200 > etc. > > Hope that helps. > > Cheers, > Jared > > > On January 26, 2018 at 4:48:43 PM, Mohammad Goodarzi ( > moh...@gm...) wrote: > > Hello, > > I have a sequence and I obtain various domains. I want to show them with > various colors. > How can one do that? for example can one of you show it on SIRT1 > > Thanks > Mohammad > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot______ > _________________________________________ > PyMOL-users mailing list (PyM...@li...) > Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users > Archives: http://www.mail-archive.com/pym...@li... > > |
From: Jared S. <jar...@co...> - 2018-01-26 21:53:26
|
Hi Mohammad - If you know the residue numbers at the domain boundaries, you can do this at the command line with, e.g.: color red, chain A and resi 1-100 color cyan, chain A and resi 101-200 etc. Hope that helps. Cheers, Jared On January 26, 2018 at 4:48:43 PM, Mohammad Goodarzi (moh...@gm...) wrote: Hello, I have a sequence and I obtain various domains. I want to show them with various colors. How can one do that? for example can one of you show it on SIRT1 Thanks Mohammad ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________ PyMOL-users mailing list (PyM...@li...) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pym...@li... |
From: Mohammad G. <moh...@gm...> - 2018-01-26 21:48:27
|
Hello, I have a sequence and I obtain various domains. I want to show them with various colors. How can one do that? for example can one of you show it on SIRT1 Thanks Mohammad |
From: Tony L. <ton...@gm...> - 2018-01-17 11:31:15
|
Hi Thomas, In my use-case, I'd like to distribute .pml scripts to my PyMOL-using users, which display the alignment correctly out-of-the-box, without the users having to install anything. AFAIU, it doesn't sound as though I'd be able to do that with this solution. Please may I add 1 vote for supporting this feature out-of-the-box. :) Anyway, thanks very much for your help - much appreciated. Kind regards, Tony On 17 January 2018 at 10:04, Thomas Holder <tho...@sc...> wrote: > Hi Tony, > > It's possible, but not out of the box. I wrote a script for this some time > ago which uses biopython and emboss. If you're using Linux or MacOS, > everything is prepackaged for you in Anaconda Cloud. For installation > instructions and examples, see: > https://pymolwiki.org/index.php/Load_aln > > Cheers, > Thomas > > > On Jan 11, 2018, at 11:40 AM, Tony Lewis <ton...@gm...> wrote: > > > > Dear PyMOL people, > > > > Please can anyone tell me whether there's an easy way to use an > alignment of the residues in the displayed structures (say, from a FASTA > file) to align the residues shown in the sequence display? > > > > I would find this a very powerful feature. > > > > Many thanks for any help. > > > > Tony Lewis > > -- > Thomas Holder > PyMOL Principal Developer > Schrödinger, Inc. > > |
From: Thomas H. <tho...@sc...> - 2018-01-17 10:04:44
|
Hi Tony, It's possible, but not out of the box. I wrote a script for this some time ago which uses biopython and emboss. If you're using Linux or MacOS, everything is prepackaged for you in Anaconda Cloud. For installation instructions and examples, see: https://pymolwiki.org/index.php/Load_aln Cheers, Thomas > On Jan 11, 2018, at 11:40 AM, Tony Lewis <ton...@gm...> wrote: > > Dear PyMOL people, > > Please can anyone tell me whether there's an easy way to use an alignment of the residues in the displayed structures (say, from a FASTA file) to align the residues shown in the sequence display? > > I would find this a very powerful feature. > > Many thanks for any help. > > Tony Lewis -- Thomas Holder PyMOL Principal Developer Schrödinger, Inc. |
From: David H. <li...@co...> - 2018-01-13 02:16:07
|
The source of 1.9.0.0 is likely the subversion repository, which also has the history that shows the changes. https://sourceforge.net/p/pymol/code/4184/log/?path=/trunk As for pymol 2.0 coming to open source, the announcement for 2.0 said the improvements would be pushed to the open source repository in early 2018. On Fri, Jan 12, 2018 at 4:48 PM, CAS IT Services <ca...@al...> wrote: > Disclaimer: I am not a chemist, nor a PyMol user. I am an IT guy trying > to assist students and educators with installing PyMol. > > I am pretty sure I can figure out how to get PyMol working from the > compiled source that Christoph Gohlke offers for download, but I thought I > should try to compile it myself. > > Does anyone know why there is a discrepancy between the version of the > downloadable source tarball found here (v1.8.6.0) and the version Christoph > offers (v1.9.0.0)? > > Assuming that I trust Christoph's offering, what changed between 1.8.6.0 > and 1.9.0.0? > > Also, does anyone know if 1.9.0.0 is the end for open source PyMol? Has > Schrodinger completed a conversion to a fully commercial (and likely > profitable) version with v2.0? > > Thanks. > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > PyMOL-users mailing list (PyM...@li...) > Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users > Archives: http://www.mail-archive.com/pym...@li... > |
From: CAS IT S. <ca...@al...> - 2018-01-13 00:21:54
|
Disclaimer: I am not a chemist, nor a PyMol user. I am an IT guy trying to assist students and educators with installing PyMol. I am pretty sure I can figure out how to get PyMol working from the compiled source that Christoph Gohlke offers for download, but I thought I should try to compile it myself. Does anyone know why there is a discrepancy between the version of the downloadable source tarball found here (v1.8.6.0) and the version Christoph offers (v1.9.0.0)? Assuming that I trust Christoph's offering, what changed between 1.8.6.0 and 1.9.0.0? Also, does anyone know if 1.9.0.0 is the end for open source PyMol? Has Schrodinger completed a conversion to a fully commercial (and likely profitable) version with v2.0? Thanks. |
From: David H. <li...@co...> - 2018-01-12 01:13:34
|
The transform matrix you’re using is the identity matrix, so it won’t have any effect. -David > On Jan 11, 2018, at 6:54 PM, Benjamin Bailly <bb...@gm...> wrote: > > Hi Thomas, > > Thanks for your reply. > > So if I am correct, for my protein get_coords fetches a very large matrix of thousands and thousands of rows. This could prove very impractical if I want to stores those coordinates in a script. > > To circumvent this issue I tried the following but it did not seem to work: > > print cmd.get_object_matrix('%prot') # to obtain my coordinates in a 4X4 format > > PyMOL>cmd.transform_selection("su", [[1.0,0.0,0.0,0.0], [0.0,1.0,0.0,0.0], [0.0,0.0,1.0,0.0], [0.0,0.0,0.0,1.0]], homogenous=1) > CmdTransformSelection-DEBUG: bad matrix > > PyMOL>cmd.transform_selection("su", [1.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,1.0], homogenous=1) # In that case nothing happens > > What do you think I am doing wrong? > > Many thanks, > > Ben > > -- > > Dr Benjamin Bailly | Research Scientist – von Itzstein group > > Institute for Glycomics > Griffith University | Gold Coast campus | QLD 4222 | Institute for Glycomics (G26) Room 4.30 > > > > _______________________ > > Benjamin Bailly > +61 479 17 66 34 (Australia) > >> On 11 January 2018 at 17:26, Thomas Holder <tho...@sc...> wrote: >> Hi Ben, >> >> The coordinates argument must have a Nx3 shape, that means: >> len(coordinates) = number of atoms >> len(coordinates[0]) = 3 >> >> You can use numpy's reshape() function: >> >> import numpy >> coordinates = numpy.asfarray(coordinates).reshape((-1,3)) >> cmd.load_coords(coordinates, '%prot') >> >> I recommend to prefix the object name with "%" to unambiguously address a named object or selection. I mention this because I just ran into a common selection language ambiguity problem myself: I named my object "obj01" and then pasted your code without changing the object name. The error message was "atom count mismatch" instead of "invalid selection name". Why? Because "prot" was evaluated as the selection keyword "protected", so it was a valid (but empty) selection expression. >> >> Cheers, >> Thomas >> >> > On Jan 11, 2018, at 7:43 AM, Benjamin Bailly <bb...@gm...> wrote: >> > >> > Hi everyone, >> > >> > I have been scratching my head quite a bit on this one, I am sure there must be a simple solution but I can't seem to figure it out. >> > >> > In short, I would like to record the spacial coordinates of a protein so that when I run my script I can fetch it from the PDB and place it exactly where I would like it to be. >> > >> > I used this command to obtain the coordinates, and here is the output I get: >> > >> > PyMOL>print cmd.get_coords('prot') >> > [[159.402 258.709 204.556] >> > [159.932 259.514 204.223] >> > [158.951 258.206 203.792] >> > ... >> > [117.662 263.108 309.314] >> > [115.591 265.038 307.88 ] >> > [116.386 259.713 306.195]] >> > >> > To load the position in my script I know that I should be able to use the following command however I can not figure out the format required: >> > >> > cmd.load_coords(coordinates, 'prot') >> > >> > I tried to use all the floats the ones after the other like [1.1, 2.2, 3.3,...] and I was close to making it work, but it said the numbers of atoms did not match. I read that I should probably used a numpy array but I am not sure of its format. >> > >> > Your help would be much appreciated, >> > >> > Many thanks >> > >> > Ben >> >> -- >> Thomas Holder >> PyMOL Principal Developer >> Schrödinger, Inc. >> > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > PyMOL-users mailing list (PyM...@li...) > Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users > Archives: http://www.mail-archive.com/pym...@li... |
From: Benjamin B. <bb...@gm...> - 2018-01-11 23:54:55
|
Hi Thomas, Thanks for your reply. So if I am correct, for my protein get_coords fetches a very large matrix of thousands and thousands of rows. This could prove very impractical if I want to stores those coordinates in a script. To circumvent this issue I tried the following but it did not seem to work: print cmd.get_object_matrix('%prot') # to obtain my coordinates in a 4X4 format PyMOL>cmd.transform_selection("su", [[1.0,0.0,0.0,0.0], [0.0,1.0,0.0,0.0], [0.0,0.0,1.0,0.0], [0.0,0.0,0.0,1.0]], homogenous=1) CmdTransformSelection-DEBUG: bad matrix PyMOL>cmd.transform_selection("su", [1.0,0.0,0.0,0.0,0.0,1.0,0.0, 0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,1.0], homogenous=1) # In that case nothing happens What do you think I am doing wrong? Many thanks, Ben -- Dr Benjamin Bailly | Research Scientist – von Itzstein group Institute for Glycomics Griffith University | Gold Coast campus | QLD 4222 | Institute for Glycomics (G26) Room 4.30 _______________________ *Benjamin Bailly* +61 479 17 66 34 (Australia) On 11 January 2018 at 17:26, Thomas Holder <tho...@sc...> wrote: > Hi Ben, > > The coordinates argument must have a Nx3 shape, that means: > len(coordinates) = number of atoms > len(coordinates[0]) = 3 > > You can use numpy's reshape() function: > > import numpy > coordinates = numpy.asfarray(coordinates).reshape((-1,3)) > cmd.load_coords(coordinates, '%prot') > > I recommend to prefix the object name with "%" to unambiguously address a > named object or selection. I mention this because I just ran into a common > selection language ambiguity problem myself: I named my object "obj01" and > then pasted your code without changing the object name. The error message > was "atom count mismatch" instead of "invalid selection name". Why? Because > "prot" was evaluated as the selection keyword "protected", so it was a > valid (but empty) selection expression. > > Cheers, > Thomas > > > On Jan 11, 2018, at 7:43 AM, Benjamin Bailly <bb...@gm...> wrote: > > > > Hi everyone, > > > > I have been scratching my head quite a bit on this one, I am sure there > must be a simple solution but I can't seem to figure it out. > > > > In short, I would like to record the spacial coordinates of a protein so > that when I run my script I can fetch it from the PDB and place it exactly > where I would like it to be. > > > > I used this command to obtain the coordinates, and here is the output I > get: > > > > PyMOL>print cmd.get_coords('prot') > > [[159.402 258.709 204.556] > > [159.932 259.514 204.223] > > [158.951 258.206 203.792] > > ... > > [117.662 263.108 309.314] > > [115.591 265.038 307.88 ] > > [116.386 259.713 306.195]] > > > > To load the position in my script I know that I should be able to use > the following command however I can not figure out the format required: > > > > cmd.load_coords(coordinates, 'prot') > > > > I tried to use all the floats the ones after the other like [1.1, 2.2, > 3.3,...] and I was close to making it work, but it said the numbers of > atoms did not match. I read that I should probably used a numpy array but I > am not sure of its format. > > > > Your help would be much appreciated, > > > > Many thanks > > > > Ben > > -- > Thomas Holder > PyMOL Principal Developer > Schrödinger, Inc. > > |
From: Jorns,Marilyn <mj...@dr...> - 2018-01-11 20:37:10
|
When I attempt to run Caver3.01 as a plugin in Pymol 2.0.6 , I get Java error messages: 1) Testing if Java is installed, FAIL; 2) Can't execute ['java", 'version'] Error 6] The handle is invalid. Java version 8 Update 151 is installed on my 64 bit PC running under Win7 Has anyone encountered this problem? Marilyn Jorns **************************************** Marilyn Jorns, PhD Professor Department of Biochemistry and Molecular Biology Drexel University College of Medicine 245 N. 15th Street Philadelphia PA 19102 Phone: (215) 762 7495 FAX: (215) 762 4452 |
From: Tony L. <ton...@gm...> - 2018-01-11 10:40:08
|
Dear PyMOL people, Please can anyone tell me whether there's an easy way to use an alignment of the residues in the displayed structures (say, from a FASTA file) to align the residues shown in the sequence display? I would find this a very powerful feature. Many thanks for any help. Tony Lewis |
From: Thomas H. <tho...@sc...> - 2018-01-11 07:26:31
|
Hi Ben, The coordinates argument must have a Nx3 shape, that means: len(coordinates) = number of atoms len(coordinates[0]) = 3 You can use numpy's reshape() function: import numpy coordinates = numpy.asfarray(coordinates).reshape((-1,3)) cmd.load_coords(coordinates, '%prot') I recommend to prefix the object name with "%" to unambiguously address a named object or selection. I mention this because I just ran into a common selection language ambiguity problem myself: I named my object "obj01" and then pasted your code without changing the object name. The error message was "atom count mismatch" instead of "invalid selection name". Why? Because "prot" was evaluated as the selection keyword "protected", so it was a valid (but empty) selection expression. Cheers, Thomas > On Jan 11, 2018, at 7:43 AM, Benjamin Bailly <bb...@gm...> wrote: > > Hi everyone, > > I have been scratching my head quite a bit on this one, I am sure there must be a simple solution but I can't seem to figure it out. > > In short, I would like to record the spacial coordinates of a protein so that when I run my script I can fetch it from the PDB and place it exactly where I would like it to be. > > I used this command to obtain the coordinates, and here is the output I get: > > PyMOL>print cmd.get_coords('prot') > [[159.402 258.709 204.556] > [159.932 259.514 204.223] > [158.951 258.206 203.792] > ... > [117.662 263.108 309.314] > [115.591 265.038 307.88 ] > [116.386 259.713 306.195]] > > To load the position in my script I know that I should be able to use the following command however I can not figure out the format required: > > cmd.load_coords(coordinates, 'prot') > > I tried to use all the floats the ones after the other like [1.1, 2.2, 3.3,...] and I was close to making it work, but it said the numbers of atoms did not match. I read that I should probably used a numpy array but I am not sure of its format. > > Your help would be much appreciated, > > Many thanks > > Ben -- Thomas Holder PyMOL Principal Developer Schrödinger, Inc. |
From: Benjamin B. <bb...@gm...> - 2018-01-11 06:43:55
|
Hi everyone, I have been scratching my head quite a bit on this one, I am sure there must be a simple solution but I can't seem to figure it out. In short, I would like to record the spacial coordinates of a protein so that when I run my script I can fetch it from the PDB and place it exactly where I would like it to be. I used this command to obtain the coordinates, and here is the output I get: PyMOL>print cmd.get_coords('prot') [[159.402 258.709 204.556] [159.932 259.514 204.223] [158.951 258.206 203.792] ... [117.662 263.108 309.314] [115.591 265.038 307.88 ] [116.386 259.713 306.195]] To load the position in my script I know that I should be able to use the following command however I can not figure out the format required: cmd.load_coords(coordinates, 'prot') I tried to use all the floats the ones after the other like [1.1, 2.2, 3.3,...] and I was close to making it work, but it said the numbers of atoms did not match. I read that I should probably used a numpy array but I am not sure of its format. Your help would be much appreciated, Many thanks Ben |
From: Jared S. <jar...@co...> - 2018-01-10 17:22:30
|
Hi Rex - Open-Source PyMOL is freely available. You can find installation instructions on the PyMOL Wiki: https://pymolwiki.org/index.php/Linux_Install https://pymolwiki.org/index.php/MAC_Install https://pymolwiki.org/index.php/Windows_Install Hope that helps, Cheers, Jared On January 10, 2018 at 12:13:26 PM, Rex Palmer (rex...@bt...) wrote: As a retired member of academic staff (Birlbeck College, London) I would like to know if it is possible for me to obtain a free copy of the Pymol software. This would be of great help in my research on high resolution protein structures. I have recently published a 0.9A X-ray study of Human Recombinant Insulin. Best wishes Rex Palmer http://www.bbk.ac.uk/biology/our-staff/emeritus-staff http://www.springer.com/978-1-4641-3954-7 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________ PyMOL-users mailing list (PyM...@li...) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pym...@li... |
From: Rex P. <rex...@bt...> - 2018-01-10 17:13:13
|
As a retired member of academic staff (Birlbeck College, London) I would like to knowif it is possible for me to obtain a free copy of the Pymol software.This would be of great help in my research on high resolution protein structures.I have recently published a 0.9A X-ray study of Human Recombinant Insulin.Best wishes Rex Palmer http://www.bbk.ac.uk/biology/our-staff/emeritus-staff http://www.springer.com/978-1-4641-3954-7 |