# Hosting IGV web on a server

I have my analysis on a cloud server. The data is quite large, so copying it locally is not really an option. I want to be able to host IGV as a server on that server, so that it can access those files.

I installed IGV web (https://github.com/igvteam/igv-webapp) on my server, and ran it, but the Tracks → Local File option opens a file browser on my local machine, it doesn't let me select files on the server.

Is there any easy way to host IGV web on a cloud server?

• Please add some info. Which cloud platform are you using? A commercial solution or an in-house server? What operating system are you using to access the server? – Kohl Kinning Jul 23 at 4:23
• I'm not sure the cloud platform matters. It's just a remote server setup using OpenStack. I'm using Ubuntu both on the server and on my local machine. – Migwell Jul 23 at 5:51
• It only matters in the in way that you enable X11 forwarding in my solution below. I suppose the specifics of X11 forwarding on different platforms would be better suited for StackOverflow. My answer outlines how to run IGV on a server and access the GUI using an ssh client. – Kohl Kinning Jul 24 at 16:22

You can use X11 forwarding to run IGV on the headless server where the data is located and simply forward the GUI to your client machine using the X11 protocol. This is a solution I use consistently for my research when working with 20+ tracks that I want to keep on the server.

2. Connect to the server using ssh with X11 forwarding enabled

ssh -X user@server

3. Navigate to the recently downloaded and unzipped IGV folder. Execute the igv.sh script.

./igv.sh

The script launches the IGV session with 4gb of memory. Edit the script to launch with more, 32gb in this edited excerpt.

exec java -showversion --module-path="$${prefix}/lib" -Xmx32g \ @"$${prefix}/igv.args" \