From: Pascal A. <p.a...@ib...> - 2014-11-13 10:02:16
|
Hello, I was wondering if there is a way to save CIF files with pymol. We need this for the large ribosomal PDB files that are available in the PDB as “split” files (PDB format) or .cif files (for example 4u3u.cif). As a related issue, if we load a large cif file (more than 99999 atoms and two letter chain codes), we can save this file as a PDB file, ideally, the line number in the PDB file could correspond to the atom number in the cif file but the ordering of the atoms in the .cif file differs from that of the output PDB file (the chain code is correctly written in the SEGID column). Any clue on how to solve these issues ? Thanks a lot, Pascal ----- Pascal Auffinger IBMC/CNRS 15 rue René Descartes 67084 Strasbourg Cedex p.a...@ib... <mailto:p.a...@ib...> ----- |
From: Thomas H. <tho...@sc...> - 2014-11-14 16:26:13
|
Hi Pascal, we have implemented basic cif export (only atom table and symmetry header for now), this will be available in the next PyMOL release. The cif export code is already in the open-source repository, so if you need it urgently or want to test it, you could compile from source. To preserve atom order between load/save, use the retain_order setting: http://pymolwiki.org/index.php/Retain_order Cheers, Thomas On 13 Nov 2014, at 04:42, Pascal Auffinger <p.a...@ib...> wrote: > Hello, > > I was wondering if there is a way to save CIF files with pymol. > We need this for the large ribosomal PDB files that > are available in the PDB as “split” files (PDB format) or .cif files > (for example 4u3u.cif). > > As a related issue, if we load a large cif file (more than 99999 atoms > and two letter chain codes), we can save this file as a PDB file, > ideally, the line number in the PDB file could correspond to > the atom number in the cif file but the ordering of the atoms in the > .cif file differs from that of the output PDB file (the chain code > is correctly written in the SEGID column). > Any clue on how to solve these issues ? > > Thanks a lot, > > Pascal > > > ----- > Pascal Auffinger > IBMC/CNRS > 15 rue René Descartes > 67084 Strasbourg Cedex > > p.a...@ib... > ----- -- Thomas Holder PyMOL Developer Schrödinger, Inc. |
From: Pascal A. <p.a...@ib...> - 2014-11-19 12:43:51
|
Hi, Thomas pointed to me that the code for saving cif files is already in the open source directory. We need some help here. The current version is 1.7.2.3. In Sourceforge it is 1.7.2.2. We didn't find the option for saving .cif files as indicated by Thomas in his last reply. ___ we have implemented basic cif export (only atom table and symmetry header for now), this will be available in the next PyMOL release. The cif export code is already in the open-source repository, so if you need it urgently or want to test it, you could compile from source. ___ Any indications on how to get this saving cif option to work ? Best, Pascal ----- Pascal Auffinger IBMC/CNRS 15 rue René Descartes 67084 Strasbourg Cedex p.a...@ib... <mailto:p.a...@ib...> ----- |
From: Thomas H. <tho...@sc...> - 2014-11-19 13:53:43
|
Hi Pascal, these changes are beyond the versioned source tarballs. The SVN repository is more frequently updated to make new (often experimental) features available to people who like to test them or need them urgently. CIF write support was added in this commit: http://sourceforge.net/p/pymol/code/4089 Cheers, Thomas Pascal Auffinger wrote, On 11/19/14 07:43: > Hi, > > Thomas pointed to me that the code for saving cif files is already > in the open source directory. > > We need some help here. > > The current version is 1.7.2.3. > In Sourceforge it is 1.7.2.2. > > We didn't find the option for saving .cif files as indicated by Thomas > in his last reply. > > ___ > we have implemented basic cif export (only atom table and symmetry > header for now), this will be available in the next PyMOL release. The > cif export code is already in the open-source repository, so if you need > it urgently or want to test it, you could compile from source. > ___ > > Any indications on how to get this saving cif option to work ? > > Best, > > Pascal > > ----- > Pascal Auffinger > IBMC/CNRS > 15 rue René Descartes > 67084 Strasbourg Cedex > > p.a...@ib... <mailto:p.a...@ib...> > -- -- Thomas Holder PyMOL Developer Schrödinger, Inc. |