This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to login to dowload datasets from EGA - European Genome-phenome Archive?

Hi,

Recently my PI got an account on EBI-EGA, which we are able to login from the browser (Chrome and Safari), but when I tried logging into the account from the terminal (Ubuntu 20.04), I constantly receive errors -

java -jar EgaDemoClient.jar

Welcome to the EGA Secure Data Shell Demo.

Type 'help' for help, and 'exit' to quit.

Ega Demo Download Client Version: 2.2.3

EGA > login PI@instiute.in

Password: **

java.lang.NoClassDefFoundError: com/sun/net/ssl/HostnameVerifier java.lang.NoClassDefFoundError: com/sun/net/ssl/HostnameVerifier at uk.ac.embl.ebi.ega.egaapiwrapper.EgaAPIWrapper.<init>(EgaAPIWrapper.java:159) at uk.ac.embl.ebi.ega.egaapiwrapper.EgaAPIWrapper.<init>(EgaAPIWrapper.java:134) at uk.ac.embl.ebi.ega.egadbapiwrapper.EgaDBAPIWrapper.<init>(EgaDBAPIWrapper.java:53) at egademoclient.EgaDemoClient.login(EgaDemoClient.java:182) at egademoclient.EgaDemoClient.login(EgaDemoClient.java:176) at egademoclient.EgaDemoClient.login(EgaDemoClient.java:171) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at asg.cliche.ShellCommand.invoke(ShellCommand.java:69) at asg.cliche.Shell.processCommand(Shell.java:294) at asg.cliche.Shell.processLine(Shell.java:276) at asg.cliche.Shell.commandLoop(Shell.java:231) at egademoclient.EgaDemoClient.main(EgaDemoClient.java:1841) Caused by: java.lang.ClassNotFoundException: com.sun.net.ssl.HostnameVerifier at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:606) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:168) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) ... 15 more

I have zero understanding of Java to understand and rectify these errors.

The method to login and download can be found at https://ega-archive.org/download/using-ega-download-client

P.S. The title of this post is similar, but it does not suit my purpose

Any help would be appreciated. Thanks in advance.

java

While someone may provide an answer you can contact EGA help desk in mean time.

1 answer

Thank you genomax, we wrote to them, and received a response saying that we need to use an updated version of the client, whose details can be fund here

Edit: Could you please tell me how to close the post?

Closing post is an action used by moderators to close posts that may be off-topic. I moved you comment to an answer. You can accept it (green checkmark) to provide closure to this thread.

Log in to answer this question.