Error when trying to run IGV on server
1
1
Entering edit mode
5.2 years ago

I want to use IGV on a server so I don't have to download bam files to my local machine. I used conda to install igvtools. When I type igvtools in the command line I get this error:

Using system JDK. Unrecognized option: --module-path=/home/kmmahan/miniconda3/envs/igv/share/igvtools-2.5.3-0/lib Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.

  1. Can igv be used on a server
  2. How do you launch igv once it is installed on a server
  3. What are these errors?

Any help would be appreciated

igv • 5.1k views
ADD COMMENT
2
Entering edit mode

I am pretty sure that igvtools is not the same thing as IGV.

ADD REPLY
0
Entering edit mode

Command line version of IGV includes igvtools. That package requires Java 11.

ADD REPLY
0
Entering edit mode

IGV can be used on a server. Do you have java installed on this server? IGV needs Java. Local installs require Java 11.

ADD REPLY
0
Entering edit mode

(igv) [kmmahan@blogin4 analysis]$ java -version openjdk version "1.7.0_91" OpenJDK Runtime Environment (Zulu 7.12.0.3-linux64) (build 1.7.0_91-b15) OpenJDK 64-Bit Server VM (Zulu 7.12.0.3-linux64) (build 24.91-b15, mixed mode)

So it is using JDK instead of JVM?

ADD REPLY
0
Entering edit mode

I am guessing that 1.7 is based on Java 7? If thats the case you will need to update this.

ADD REPLY
2
Entering edit mode
3.8 years ago
kvshamsudheen ▴ 120

If any one looking for the fix, install the latest openjdk using conda by conda install -c conda-forge openjdk and it works.

ADD COMMENT
0
Entering edit mode

I did this and I got :

:# All requested packages already installed.

But still I get an error that igv cannot load my sam file..

enter image description here

ADD REPLY
0
Entering edit mode

Is your sam file sorted and indexed? Do you get this error when browsing in IGV GUI to select the file you are trying to view?

ADD REPLY
0
Entering edit mode

Yes , my sam file was sorted and indexed ,I fixed the problem by uploading the correct reference genome. I didnt know that the default refseq is the human genome. thats was my problem.

ADD REPLY

Login before adding your answer.

Traffic: 1750 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6