CCTBX-fedora32: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
(Created page with "This page describes how to use the Computational Crystallography Toolbox (cctbx) with open-source PyMOL on Fedora 32 which has python3 only installed. CCTBX and PyMOL need to...")
 
No edit summary
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
This page describes how to use the Computational Crystallography Toolbox (cctbx) with open-source PyMOL on Fedora 32 which has python3 only installed.
 
''' This page describes how to use the Computational Crystallography Toolbox (cctbx) with open-source PyMOL on Fedora 32 which has python3 only installed. '''
 
----
 


CCTBX and PyMOL need to be compiled with the same Python distribution, otherwise they won't be compatible.
CCTBX and PyMOL need to be compiled with the same Python distribution, otherwise they won't be compatible.


Open-Source PyMOL


Linux
Confirmed procedure to get this working on Linux Fedora 32 with PyQt5 and CCTBX build dev-2130, which is based on conda:
Confirmed procedure to get this working on Linux Fedora 32 with PyQt5 and CCTBX build dev-2130, which is based on conda:


Download cctbx from http://cci.lbl.gov/cctbx_build
 
Install cctbx: ./install --prefix=/usr/local
1. Download cctbx from http://cci.lbl.gov/cctbx_build
Install latest Miniconda3 from https://repo.anaconda.com/miniconda
 
Install pymol dependencies with conda into the cctbx environment :
2. Install cctbx:  
/usr/local/miniconda3/bin/conda install -p /usr/local/cctbx-dev-2130/conda_base -c conda-forge glew freeglut libpng freetype libxml2 msgpack-c pyqt glm catch2 libnetcdf
./install --prefix=/usr/local
Download mmtf-cpp from https://github.com/rcsb/mmtf-cpp and copy the content of the include subdirectory to /usr/local/cctbx-dev-2130/conda_base/include
 
Activate cctbx: source /usr/local/cctbx-dev-2130/cctbx_env.csh
 
Compile PyMOL with: cctbx.python setup.py install (see Linux Install for details)
3. Install latest Miniconda3 in /usr/local from https://repo.anaconda.com/miniconda
Install Pmw from https://github.com/schrodinger/pmw-patched with: cctbx.python setup.py install
 
Run PyMOL with: cctbx.python -m pymol
4. Install pymol dependencies with conda into the cctbx environment:
 
  /usr/local/miniconda3/bin/conda install -p /usr/local/cctbx-dev-2130/conda_base -c conda-forge glew freeglut libpng freetype libxml2 msgpack-c pyqt qt glm qt catch2 libnetcdf
 
5. Download mmtf-cpp from https://github.com/rcsb/mmtf-cpp and copy the content of the include subdirectory to /usr/local/cctbx-dev-2130/conda_base/include
 
6. Activate cctbx:  
source /usr/local/cctbx-dev-2130/cctbx_env.csh
 
 
7. Compile PyMOL with:  
cctbx.python setup.py install
 
 
8. Install Pmw from https://github.com/schrodinger/pmw-patched with:  
cctbx.python setup.py install
 
 
9. Run PyMOL with:  
cctbx.python -m pymol

Latest revision as of 05:19, 8 September 2020

This page describes how to use the Computational Crystallography Toolbox (cctbx) with open-source PyMOL on Fedora 32 which has python3 only installed.



CCTBX and PyMOL need to be compiled with the same Python distribution, otherwise they won't be compatible.


Confirmed procedure to get this working on Linux Fedora 32 with PyQt5 and CCTBX build dev-2130, which is based on conda:


1. Download cctbx from http://cci.lbl.gov/cctbx_build

2. Install cctbx:

./install --prefix=/usr/local


3. Install latest Miniconda3 in /usr/local from https://repo.anaconda.com/miniconda

4. Install pymol dependencies with conda into the cctbx environment:

 /usr/local/miniconda3/bin/conda install -p /usr/local/cctbx-dev-2130/conda_base -c conda-forge glew freeglut libpng freetype libxml2 msgpack-c pyqt qt glm qt catch2 libnetcdf

5. Download mmtf-cpp from https://github.com/rcsb/mmtf-cpp and copy the content of the include subdirectory to /usr/local/cctbx-dev-2130/conda_base/include

6. Activate cctbx:

source /usr/local/cctbx-dev-2130/cctbx_env.csh


7. Compile PyMOL with:

cctbx.python setup.py install


8. Install Pmw from https://github.com/schrodinger/pmw-patched with:

cctbx.python setup.py install


9. Run PyMOL with:

cctbx.python -m pymol