Welcome to the installation page of TranSPHIRE. The installation can be divided into three parts.
Installation of TranSPHIRE
Installation of the dependencies
Basic TranSPHIRE setup
The TranSPHIRE version changelog can be found here:
changelog-page
In order to install TranSPHIRE it is highly recommended to setup an / environment. The same installation can be used to install crYOLO and other dependencies later. In case you want to learn more about environments: Manage environments.
After successful installation, the command should be available. To make things easier for copy and pasting, the proposed commands utilize bash variables. The installation does usually not take longer than a few minutes.
- Specify Necessary variables
>>> TRANSPHIRE_ENV_NAME=transphire
- Create a environment
>>> conda create -n ${TRANSPHIRE_ENV_NAME} python=3.6 pyqt=5
- Activate the environment
>>> conda activate ${TRANSPHIRE_ENV_NAME}
Note
For older versions of conda it might be:
>>> source activate ${TRANSPHIRE_ENV_NAME}
- Install TranSPHIRE
>>> pip install transphire
- Test the installation
>>> transphire --version
TranSPHIRE is a wrapper for already existing software packages available. Therefore, it is necessary to install the dependencies separately. In the future, we will work on a dependency installer tool.
- version >= 1.4 / version >= 2.31
- version >= 4.9
- version >= 1.0 -
Note
The installation automatically installs all necessary tools for
- Particle extraction
- 3D initial model estimation
- 3D refinement
and installs utility programs from the EMAN2 package.
Note
The installation needs one additional command to function properly:
>>> bash ${SPHIRE_INSTALL_DIR}/utils/replace_shebang.sh
This script will replace the shebang line of the executables to avoid collision with other python interpreters in your PATH.
Note
for the installation, you need to make sure that the IMOD source file is sourced in order to run properly.
- version >= 1.0.0 -
- cisTEM version >= 1.0.0-beta
- version >= 4.1.8
- version >= 1.06
Note
GCtf version 1.18 is sometimes behaving different than expected. Use with caution.
- version >= 1.0.4 -
Note
cannot be installed within the TranSPHIRE anaconda environment. Fortunately, this is not a problem, due to the total independence of anaconda environments. After following the installation instructions of and installed it in a seperate environment just deactivate the environment and activate the TranSPHIRE environment again. Just provide the link to the executable file in the TranSPHIRE GUI. Those are usually located in ${_CONDA_ROOT}/envs/CRYOLO_ENV_NAME/bin. The information how and in which environment to execute the respective executables is provided in the header. Alternatively, the directory path ${_CONDA_ROOT}/envs/CRYOLO_ENV_NAME/bin can be added to the PATH variable.
- version >= 2.3.1
- version >= 0.3.1
Note
cannot be installed within the TranSPHIRE anaconda environment. Fortunately, this is not a problem, due to the total independence of anaconda environments. After following the installation instructions of and installed it in a seperate environment just deactivate the environment and activate the TranSPHIRE environment again. Just provide the link to the executable file in the TranSPHIRE GUI. Those are usually located in ${_CONDA_ROOT}/envs/CINDERELLA_ENV_NAME/bin. The information how and in which environment to execute the respective executables is provided in the header. Alternatively, the directory path ${_CONDA_ROOT}/envs/CINDERELLA_ENV_NAME/bin can be added to the PATH variable.