broadinstitute / infercnv

Inferring CNV from Single-Cell RNA-Seq
Other
566 stars 166 forks source link

export to ngchm failed #417

Closed Sa753 closed 2 years ago

Sa753 commented 2 years ago

Dear team,

I am trying to run ngchm() but getting the following error. I am using infercnv version 1.11 and Java version 1.8.

Any suggestions please?

library(infercnvNGCHM) ngchm(infercnv_obj = infercnv_object_example,

  • out_dir = '~/test/',
  • path_to_shaidyMapGen = '~/Downloads/ShaidyMapGen.jar',
  • gene_symbol = "bio.gene.hugo") INFO [2022-05-06 16:34:50] Creating NGCHM as infercnv.ngchm INFO [2022-05-06 16:34:50] Initializing new NGCHM InferCNV Object. INFO [2022-05-06 16:34:54] Saving new NGCHM object Fri May 06 16:34:54 2022 PROGRESS :Writing specification: 50 creating specification directory Fri May 06 16:34:54 2022 PROGRESS :Writing specification: 80 writing extra support files Exception in thread "main" java.lang.UnsupportedClassVersionError: mda/ngchm/datagenerator/ShaidyRMapGen : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) Error in NGCHM::chmExportToFile(hm, file_path, overwrite = TRUE, shaidyMapGen = path_to_shaidyMapGen) : export to ngchm failed

Thanks