# IGV interactive web server app - Anyone have one up and running on their OOD?

**URL:** https://discourse.openondemand.org/t/igv-interactive-web-server-app-anyone-have-one-up-and-running-on-their-ood/827
**Category:** Get Help
**Created:** [April 9, 2020, 6:36am UTC](https://discourse.openondemand.org/t/igv-interactive-web-server-app-anyone-have-one-up-and-running-on-their-ood/827 "2020-04-09T06:36:33Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![christopherwelsh](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/christopherwelsh/32/354_2.png) [@christopherwelsh](https://discourse.openondemand.org/u/christopherwelsh)
#### Post date: [April 9, 2020, 6:36am UTC](https://discourse.openondemand.org/t/igv-interactive-web-server-app-anyone-have-one-up-and-running-on-their-ood/827/1 "2020-04-09T06:36:34Z")

</div>

Hi Folks,  
One issue with our staff working from home is using IGV. I wondered what would be involved/required to spin up a custom IGV singularity container runing a web server GUI for IGV and redirect an IGV web front end to OOD as an interactive app running on our SLURm cluster? From there remove, users could possibly upload BAM files, review, display them, etc in IGV.

I love the capabilities of the RStudio and gave a demo of OOD the other day to our research groups, they are so excited with the whole thing you are all doing. Great work is the feedback! This question came up by quite a few staff.

Christopher Welsh

---

<div class="post-metadata">

### Author: ![alanc](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/alanc/32/2524_2.png) [@alanc](https://discourse.openondemand.org/u/alanc)
#### Post date: [April 9, 2020, 11:58am UTC](https://discourse.openondemand.org/t/igv-interactive-web-server-app-anyone-have-one-up-and-running-on-their-ood/827/2 "2020-04-09T11:58:24Z")

</div>

Christopher:

One of the ‘canned’ answers I always give when someone asks “can OOD do X” is: In general OOD can do X if a knowledgable and sophisticated user can do X on your systems using some combination of existing command line tools, scripts, and X windows. We’re not familiar with IGV (in fact I had to Google it to even find out what it was, just like with MetaShape from your earlier question), so the question I’d ask in return is how do your clients currently utilize / access it? What are the existing components that come with a standard installation of it?

We’ve successfully deployed MANY different types of apps within OnDemand, ranging from ones that traditionally would be accessed via a desktop or X11 connection (such as MATLAB or ANSYS) to ones that traditionally would require their own server and web stack (such as COMSOL or Jupyter). So I’m sure we can provide guidance on how to do virtually any other app.

---

<div class="post-metadata">

### Author: ![christopherwelsh](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/christopherwelsh/32/354_2.png) [@christopherwelsh](https://discourse.openondemand.org/u/christopherwelsh)
#### Post date: [April 11, 2020, 8:25am UTC](https://discourse.openondemand.org/t/igv-interactive-web-server-app-anyone-have-one-up-and-running-on-their-ood/827/3 "2020-04-11T08:25:24Z")

</div>

Hi Alan,

Unfortunately, I am not an IGV user. Most use it on their workstations. I believe it is available on windows and Mac OSX and there is a version that embeds into web pages. There is an Rstidio and Jupiter notebook plugin that allows U to run it by calling methods bit that is not the use case our users are after.

Larger files. The issue is that we prevent upload and download of large files, so those (many) who work from home can grab an RDP desktop and use it on remote workstations. Using it remotely gives them access to all the files on the file server in a speedy fashion, but they are limited to two concurrent remote RDP (windows) connections per workstation which I am told is not enough to meet demand.

I will take a look at how OOD RStudio is configured and connects the interface to the OOD portal. Maybe I can figure out a solution.

IGV tool is heavily used in the bioinformatics, research and Molpath clinical space. I think it could be a welcome inclusion to the OOD inventory.

I suspect Melbourne University have IGV running via their implementation of OOD to their Spartan cluster, so as you mentioned, it is likely this could be made to work.

Have a great and safe Easter break Alan.

Christopher.

regards,

Christopher Welsh  
On his mobile.

---

<div class="post-metadata">

### Author: ![christopherwelsh](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/christopherwelsh/32/354_2.png) [@christopherwelsh](https://discourse.openondemand.org/u/christopherwelsh)
#### Post date: [April 11, 2020, 8:40am UTC](https://discourse.openondemand.org/t/igv-interactive-web-server-app-anyone-have-one-up-and-running-on-their-ood/827/4 "2020-04-11T08:40:29Z")

</div>

I will work my way back from this example pdf. Looks like a java app.

[https://www.google.com/url?sa=t&source=web&rct=j&url=https://wikis.utexas.edu/spaces/flyingpdf/pdfpageexport.action%3FpageId%3D33949640&ved=2ahUKEwjf8ovV-t\_oAhW2zDgGHVn5Cq0QFjARegQIBhAB&usg=AOvVaw1ueHD8j-YOv3vC46mzYuTr&cshid=1586593975120](https://www.google.com/url?sa=t&source=web&rct=j&url=https://wikis.utexas.edu/spaces/flyingpdf/pdfpageexport.action%3FpageId%3D33949640&ved=2ahUKEwjf8ovV-t_oAhW2zDgGHVn5Cq0QFjARegQIBhAB&usg=AOvVaw1ueHD8j-YOv3vC46mzYuTr&cshid=1586593975120)

I.e

.Launching IGV  
There are two ways; Launching IGV in your web browser or by downloading the binaries locally and running IGV from your machine.  
Locally on the classroom machines booted in Linux  
This downloads the IGV executable and tells the command line to launch it (via the java command).  
wget [http://www.broadinstitute.org/igv/projects/downloads/IGV\_2.3.5.zip](http://www.broadinstitute.org/igv/projects/downloads/IGV_2.3.5.zip)  
unzip IGV\_2.3.5.zip[http://IGV\_2.3.5.zip](http://IGV_2.3.5.zip)  
cd IGV\_2.3.5  
java -Xmx2g -jar igv.jar  
In a Web browser  
Navigate a web browser to this page: [http://www.broadinstitute.org/software/igv/download](http://www.broadinstitute.org/software/igv/download). You will need to register your email address to use this option!  
Go ahead and click on the “Launch with 2 GB” option. This will download a “Java Web Start” file that you can launch by locating it on your Desktop and  
double-clicking.

Thx Again.

regards,

Christopher Welsh  
On his mobile.

---

<div class="post-metadata">

### Author: ![novosirj](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/novosirj/32/339_2.png) [@novosirj](https://discourse.openondemand.org/u/novosirj)
#### Post date: [April 16, 2020, 6:14am UTC](https://discourse.openondemand.org/t/igv-interactive-web-server-app-anyone-have-one-up-and-running-on-their-ood/827/5 "2020-04-16T06:14:46Z")

</div>

Yup, it’s definitely just an uncomplicated Java/X11 type app – we use it/I’ve installed it. Pretty basic. I have less experience with making my own apps for OOD than this app, but I suspect if you know how to do the former, the latter will be simple.

---

<div class="post-metadata">

### Author: ![maflister](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/maflister/32/139_2.png) [@maflister](https://discourse.openondemand.org/u/maflister)
#### Post date: [April 17, 2020, 7:23pm UTC](https://discourse.openondemand.org/t/igv-interactive-web-server-app-anyone-have-one-up-and-running-on-their-ood/827/6 "2020-04-17T19:23:03Z")

</div>

We’re using a basic IGV app.

> **[mcw-rcc/bc\_rcc\_igv](https://github.com/mcw-rcc/bc_rcc_igv)**
>
> IGV app for Open OnDemand. Contribute to mcw-rcc/bc\_rcc\_igv development by creating an account on GitHub.

---

<div class="post-metadata">

### Author: ![christopherwelsh](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/christopherwelsh/32/354_2.png) [@christopherwelsh](https://discourse.openondemand.org/u/christopherwelsh)
#### Post date: [April 19, 2020, 10:37pm UTC](https://discourse.openondemand.org/t/igv-interactive-web-server-app-anyone-have-one-up-and-running-on-their-ood/827/7 "2020-04-19T22:37:32Z")

</div>

Thx Maflister,

I will take a look today. Once again, many thx.

regards,

Christopher Welsh  
On his mobile.

---

<div class="post-metadata">

### Author: ![christopherwelsh](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/christopherwelsh/32/354_2.png) [@christopherwelsh](https://discourse.openondemand.org/u/christopherwelsh)
#### Post date: [April 20, 2020, 12:39pm UTC](https://discourse.openondemand.org/t/igv-interactive-web-server-app-anyone-have-one-up-and-running-on-their-ood/827/8 "2020-04-20T12:39:10Z")

</div>

Hi Maflister,

Installed IGV and it works fine. (THX) Users were wondering if the default could be resized. I cannot get the App to scale to fit more of the VNC window. Any idea what needs doing? Got an example? Tries bc\_vnc\_resolution and custom settings but no joy

Thx.

Browser screen dump. IGV takes only one third of the vnc window

Not sure if images get dropped in this forum but here’s the image.

 ![Screen Shot 2020-04-20 at 10.32.38 pm](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/42d69e4e45ec6a5ffed815dba2052ed53daf08d3.png)

---

<div class="post-metadata">

### Author: ![efranz](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/efranz/32/27_2.png) [@efranz](https://discourse.openondemand.org/u/efranz)
#### Post date: [April 20, 2020, 1:41pm UTC](https://discourse.openondemand.org/t/igv-interactive-web-server-app-anyone-have-one-up-and-running-on-their-ood/827/9 "2020-04-20T13:41:36Z")

</div>

Do you mind if we post links to this and other MCW OnDemand app repos in the documentation? We have a list of published apps from other sites we are building up in the dev version of the documentation here: [https://osc.github.io/ood-documentation-test/develop/install-ihpc-apps.html](https://osc.github.io/ood-documentation-test/develop/install-ihpc-apps.html) that will be published sometime this or next week along with 1.7.

---

<div class="post-metadata">

### Author: ![maflister](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/maflister/32/139_2.png) [@maflister](https://discourse.openondemand.org/u/maflister)
#### Post date: [April 20, 2020, 7:02pm UTC](https://discourse.openondemand.org/t/igv-interactive-web-server-app-anyone-have-one-up-and-running-on-their-ood/827/10 "2020-04-20T19:02:41Z")

</div>

Our first attempt didn’t include a window manager. We’ve updated to include an Xfce window manager which enables resizing of the window. Most of this is taken directly from other OOD apps (Matlab, QGIS) as examples and adapted to IGV. For our cluster, we don’t have any desktop installed so this app makes use of Singularity to containerize Xfce.

You can install the container on your cluster with `singularity pull shub://mcw-rcc/xfce-ood-desktop:latest`. You’ll need to adjust the hard-coded location in `template/script.sh.erb`.

This is slightly more involved so your mileage may vary depending on the configuration of your cluster.

---

<div class="post-metadata">

### Author: ![maflister](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/maflister/32/139_2.png) [@maflister](https://discourse.openondemand.org/u/maflister)
#### Post date: [April 20, 2020, 7:04pm UTC](https://discourse.openondemand.org/t/igv-interactive-web-server-app-anyone-have-one-up-and-running-on-their-ood/827/11 "2020-04-20T19:04:53Z")

</div>

Sure thing. We’ve searched for other OOD apps in the past with mixed results. This is a welcome addition.

---

<div class="post-metadata">

### Author: ![christopherwelsh](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/christopherwelsh/32/354_2.png) [@christopherwelsh](https://discourse.openondemand.org/u/christopherwelsh)
#### Post date: [April 20, 2020, 11:29pm UTC](https://discourse.openondemand.org/t/igv-interactive-web-server-app-anyone-have-one-up-and-running-on-their-ood/827/12 "2020-04-20T23:29:05Z")

</div>

Yep, thought this approach may be necessary. And thx, I will give this a go.  
Hey, Do you think this is a limitation with not being able to set IGV’s window size as a IGV parameter when it starts or with any app that starts in vnc without a window manager?

Thx

---

<div class="post-metadata">

### Author: ![christopherwelsh](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/christopherwelsh/32/354_2.png) [@christopherwelsh](https://discourse.openondemand.org/u/christopherwelsh)
#### Post date: [April 20, 2020, 11:32pm UTC](https://discourse.openondemand.org/t/igv-interactive-web-server-app-anyone-have-one-up-and-running-on-their-ood/827/13 "2020-04-20T23:32:22Z")

</div>

Hi Efranz,

Good idea as I’d expect you will get a lot of uptake with IGV.

---

<div class="post-metadata">

### Author: ![maflister](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/maflister/32/139_2.png) [@maflister](https://discourse.openondemand.org/u/maflister)
#### Post date: [April 21, 2020, 3:51pm UTC](https://discourse.openondemand.org/t/igv-interactive-web-server-app-anyone-have-one-up-and-running-on-their-ood/827/14 "2020-04-21T15:51:12Z")

</div>

Not sure, as we haven’t tested another java app with this method. But I’d guess its an issue with any app without a window manager. We opted to use a variant of the default method. We’re working on a setting to start the window maximized as well. Although we’ve had no luck so far.

---

<div class="post-metadata">

### Author: ![christopherwelsh](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/christopherwelsh/32/354_2.png) [@christopherwelsh](https://discourse.openondemand.org/u/christopherwelsh)
#### Post date: [May 18, 2020, 2:58am UTC](https://discourse.openondemand.org/t/igv-interactive-web-server-app-anyone-have-one-up-and-running-on-their-ood/827/15 "2020-05-18T02:58:38Z")

</div>

Hi maflister,

Any chance I can get my hands on any window resiziinf config you have working?

Thx, Christopher

---

<div class="post-metadata">

### Author: ![maflister](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/maflister/32/139_2.png) [@maflister](https://discourse.openondemand.org/u/maflister)
#### Post date: [May 18, 2020, 2:37pm UTC](https://discourse.openondemand.org/t/igv-interactive-web-server-app-anyone-have-one-up-and-running-on-their-ood/827/16 "2020-05-18T14:37:58Z")

</div>

We’re using Xfce to support a windowed IGV. The window is then resizable. We based this on the OSC Matlab app. The specific configs are in the Git repo above. The file `script.sh.erb` syntax will depend on if you have Xfce installed in your host OS or if you need to use a container. In our cluster, we don’t have desktops on compute nodes, so we’ve containerized the commands that launch the window manager. Happy to help if you have more questions.

-Matt

---

<div class="post-metadata">

### Author: ![christopherwelsh](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/christopherwelsh/32/354_2.png) [@christopherwelsh](https://discourse.openondemand.org/u/christopherwelsh)
#### Post date: [May 18, 2020, 10:59pm UTC](https://discourse.openondemand.org/t/igv-interactive-web-server-app-anyone-have-one-up-and-running-on-their-ood/827/17 "2020-05-18T22:59:57Z")

</div>

Thx Matt,

I will take a look and let you know how I go.

regards,

Christopher Welsh  
On his mobile.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)
#### Post date: [May 19, 2022, 6:05pm UTC](https://discourse.openondemand.org/t/igv-interactive-web-server-app-anyone-have-one-up-and-running-on-their-ood/827/18 "2022-05-19T18:05:32Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
