VISPR Visualization
-
Prerequisites
- MAGeCK output files (
.vispr.yaml) - RCAC HPC account (Negishi or Bell)
- MAGeCK output files (
-
Objective
Visualize the MAGeCK-VISPR results generated on the cluster.
MAGeCK-VISPR is a comprehensive quality control, analysis, and visualization workflow for CRISPR/Cas9 screens. This guide provides a straightforward method for running the visualization component on an HPC cluster and viewing the results on your local machine.
1. Connect to HPC and start an interactive session¶
First, open a terminal on your local computer and connect to the HPC cluster. Then, request an interactive session on a compute node.
Once the job is allocated, you'll be automatically connected to a compute node. Take note of the node's name (e.g., a446) as you will need it later.
You can also do echo $SLURM_JOB_NODELIST to see the node name.
2. Load the modules and start the VISPR server¶
Next, load the required software modules and navigate to the directory containing your MAGeCK-VISPR results.
This command will output a port number that is not currently in use. You can use this port number to run the VISPR server. In my case, it returned 45511, but yours may be different.
The server will start and indicate it's running on a specific port, 45511. Leave this terminal running.
Warning
The session should remain active and should not display any errors. Warning messages are normal, but if you see errors, please check the module versions or your input files.
Click to see example server output
Above command will output something like this:
3. Forward the port to your local computer¶
To view the web interface, you need to create an SSH tunnel from the compute node to your local machine.
Open a new, second terminal on your local computer and run the following command.
Note
Use your local terminal
This SSH tunnel command must be run from your local machine, not the HPC node.
- Windows: Use WSL or PowerShell with SSH support.
- macOS/Linux: Use the default terminal.
Example:
If your job is on node a446, the server is on port 45511, your username is pete, and you log into negishi.rcac.purdue.edu, the command would be:
Note
You will be asked to enter your password for the HPC login node (or use the ssh-key if you have set it up and login without any prompt). Since you will likely be connecting to the compute node for the very first time you will also be asked to confirm the authenticity of the host. Type "yes" to continue.

Figure 1: SSH tunnel command output (local PowerShell terminal is being used here)
SSH tunnel command breakdown¶
The following table explains the components of the SSH command used to tunnel port 45511 through a jump host:
| Option | Description |
|---|---|
-f |
Forks SSH to the background (ideal for port forwarding). |
-N |
Tells SSH not to run remote commands (just tunnel). |
-L 8788:localhost:45511 |
Forwards local port to the remote compute node port. |
-J pete@negishi.rcac.purdue.edu |
Jump host (Negishi login node). |
pete@a446.negishi.rcac.purdue.edu |
Target compute node running the server. |
4. View the VISPR interface¶
After successfully establishing the SSH tunnel, you can now access the VISPR web interface from your local machine.
Open a browser and go to:
Note
Replace 8788 with the local port number you used for forwarding
You should now see the interactive VISPR dashboard rendered locally!

Figure 2: VISPR interface loaded in a web browser