I want to check a sequence in my NGS data using IGV. I am wondering if I can install and run this software on a server since all .bam files (which are huge) were stored on a server and it will take forever to download to my computer.
remote bam files can be loaded from IGV: http://www.broadinstitute.org/software/igv/LoadData
load data from an HTTP URL: Select File>Load from URL. Enter the HTTP or FTP URL for a data file or sample information file, then click OK. Notes: For .bam, .tdf, and indexed file formats the server must support byte-range requests.
You can run IGV from a remote server, provided that you have X11 installed on the remote server (https://en.wikipedia.org/wiki/X_Window_System) and an X11 window program on the local machine.
On a Mac, you would:
make sure you have XQuartz installed
sshinto your server with the
ssh firstname.lastname@example.org -Y
start IGV on the remote server with the supplied
igv.shfile as described here: https://software.broadinstitute.org/software/igv/download
If everything works, a window will pop up on your local computer, which will display the GUI for IGV running on the remote server. Note that since the entire interface & user interaction is being transmitted across your network, this can be a bit laggy and buggy, but it is tolerable for some basic poking around in large .bam files stored on your remote server. However I would not recommend using this extensively as the latency and XQuartz bugs will drive you crazy. You are better off either converting the large .bam files to some other format like bigwig which is smaller & useable locally, or look into the IGV Snapshot Automator script which I posted about here:
source code here: