This is the most recent version of 3DFSC, by Philip Baldwin, Yong Zi Tan, and Dmitry Lyumkis.
GPU code and Conda environment by Carl Negro.
3DFSC Program Suite requires Miniconda 3 to run, and UCSF Chimera to visualize the outputs.
Important: this version of the software has been modified to work with updated dependencies (October 2023). I have tested it with cudatoolkit 11.8
conda create -y -n fsc3D-3.0 "python<3.12" cudatoolkit=11.8
conda activate fsc3D-3.0
pip install numpy numba scipy click h5py scikit-image matplotlib mrcfile
git clone https://github.com/azazellochg/fsc3D fsc3D-3.0
To view the 3DFSC parameters, access the help info like ThreeDFSC/ThreeDFSC_Start.py -h
.
3DFSC now has GPU support through Numba for faster execution (typically ~10x faster than the CPU implementation). This requires that CUDA is installed correctly. See http://www.nvidia.com/Download/index.aspx.
To make use of a GPU, simply append the --gpu
flag as a parameter to ThreeDFSC_Start.py script.
You can select which GPU to use for processing with the --gpu_id
flag. E.g. --gpu_id=2
to run 3DFSC on the GPU with index number 2. The program currently only allows a single GPU to be used at once; this may change in future versions.
To see a list of available GPU's and corresponding indices, run nvidia-smi
. If you are unable to run nvidia-smi
, check to make sure you have CUDA installed correctly.
Note that GPU memory is limited, so that processing jobs with large box sizes will fail.
Questions and feedback welcomed, and should be sent to prbprb2@gmail.com, ytan@nysbc.org and dlyumkis@salk.edu.