- pyqt5
Snapshot-GUI is based on PyQt5 and python 2.7.
We recommand three quick ways to install PyQt5 for your python 2.7.
You can install PyQt5 using Homebrew: brew install pyqt5
.
-
Install Anaconda, and PyQt5 is included in Anaconda.
-
Download Anaconda:
wget https://repo.continuum.io/archive/Anaconda2-5.1.0-MacOSX-x86_64.sh
-
Install Anaconda:
bash Anaconda2-5.1.0-MacOSX-x86_64.sh
. Press Enter and answeryes
if questions are asked to install Anaconda in default directory. -
Enable Anaconda PATH:
bash ~/.bash_profile
PyQt5 is included in Anaconda.
Install PyQt5 from PyQt5 official website
To start Snapshot-GUI, run command python ./bin/gui/main.py
.
Figure 1 illustrate the Snapshot-GUI start window.
Click the Choose Directory
button for Input Directory
to choose input directory.
The input directory should contains necessary input files and directories, as illustrated in Figure 2:
function_label
foldatac_sig
foldatac_pick
foldsignal_list.txt
filepeak_list.txt
filefunction_list.txt
filefunction_color_list.txt
filecd_tree.txt
file
Click the Choose Directory
button for Output Directory
to choose output directory. All analysis results will be saved in output directory.
Click the Preprocess
button to check the input and output directories. Please make sure the input and output directories are chosen before preprocessing, otherwise, you will get warning as in Figure 3.
After preprocessing, the OK
button is able to use, and the Change Display Color
and Change Parameters
buttons are also able to use, as illustrated in Figure 4.
You can change parameters and display colors by click Change Parameters
and Change Display Color
button.
Click OK
button to analyze your data, the Snapshot-GUI will automatically analyze your data in background, the progress bar is used to indicate the analysis progress, as shown in Figure 5.
When the data analysis finishes, the visualization window will pop out automatically, as illustrated in Figure 6.
The default visualization is Index-set mean signal heatmap (as in Figure 6). You can also choose to visualize the Index-set most frequent functional annotation heatmap, as shown in Figure 7.
All analysis results are stored in output directory, as illustrated in Figure 8.