Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-2944

Update annots.xml url validation and filetype determination for trackhubs

    Details

      Description

      To replicate this exception, add the following data source to IGB, and open the genome hg38.

      https://translate.bioviz.org/rest_api/?hubUrl=https://api.wenglab.org/screen_v13/hubs/rna22/hub.txt&fileName=/

      Note: You may need to run the trackhub backend locally to ensure you are checkout out at https://bitbucket.org/lorainelab/hub-facade/commits/7c75ef9a6991c932e71724e675315938f5176f35 or earlier, as new changes may prevent this exception from being thrown.

      Stack trace:

      18:03:48.959 ERROR c.a.genometry.thread.CThreadWorker - sun.net.www.protocol.http.HttpURLConnection cannot be cast to javax.net.ssl.HttpsURLConnection
      java.lang.ClassCastException: sun.net.www.protocol.http.HttpURLConnection cannot be cast to javax.net.ssl.HttpsURLConnection
      	at org.lorainelab.igb.quickload.util.QuickloadUtils.isValidRepositoryUrl(QuickloadUtils.java:133) ~[na:na]
      	at org.lorainelab.igb.quickload.util.QuickloadUtils.getGenomeVersionData(QuickloadUtils.java:160) ~[na:na]
      	at org.lorainelab.igb.quickload.QuickloadDataProvider.getAvailableDataSets(QuickloadDataProvider.java:189) ~[na:na]
      	at com.affymetrix.igb.view.load.GeneralLoadUtils.initializeDataContainer(GeneralLoadUtils.java:293) ~[na:na]
      	at com.affymetrix.igb.view.load.GeneralLoadUtils.lambda$initVersionAndSeq$137(GeneralLoadUtils.java:315) ~[na:na]
      	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[na:1.8.0_181]
      	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[na:1.8.0_181]
      	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[na:1.8.0_181]
      	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) ~[na:1.8.0_181]
      	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[na:1.8.0_181]
      	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[na:1.8.0_181]
      	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[na:1.8.0_181]
      	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[na:1.8.0_181]
      	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[na:1.8.0_181]
      	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) ~[na:1.8.0_181]
      	at com.affymetrix.igb.view.load.GeneralLoadUtils.initVersionAndSeq(GeneralLoadUtils.java:313) ~[na:na]
      	at com.affymetrix.igb.view.SeqGroupView$InitVersionWorker.runInBackground(SeqGroupView.java:680) ~[na:na]
      	at com.affymetrix.igb.view.SeqGroupView$InitVersionWorker.runInBackground(SeqGroupView.java:668) ~[na:na]
      	at com.affymetrix.genometry.thread.CThreadWorker.doInBackground(CThreadWorker.java:73) ~[na:na]
      	at javax.swing.SwingWorker$1.call(SwingWorker.java:295) [na:1.8.0_181]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_181]
      	at javax.swing.SwingWorker.run(SwingWorker.java:334) [na:1.8.0_181]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_181]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_181]
      	at java.lang.Thread.run(Thread.java:748) [na:1.8.0_181
      

        Attachments

          Issue Links

            Activity

            Hide
            pbadzuh Philip Badzuh (Inactive) added a comment -

            I have rebased and tests are passing. Please see the PR here.

            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - I have rebased and tests are passing. Please see the PR here .
            Hide
            ann.loraine Ann Loraine added a comment - - edited

            Merged; main branch installers built and ready for testing.

            Show
            ann.loraine Ann Loraine added a comment - - edited Merged; main branch installers built and ready for testing.
            Hide
            ann.loraine Ann Loraine added a comment -

            Request for Nowlan Freese: Could you test the installer for MacOS? Testing could be a bit involved, including testing from a variety of quickload data sources, including from saved quickloads.

            Show
            ann.loraine Ann Loraine added a comment - Request for Nowlan Freese : Could you test the installer for MacOS? Testing could be a bit involved, including testing from a variety of quickload data sources, including from saved quickloads.
            Hide
            nfreese Nowlan Freese added a comment -

            I can take a look.

            Show
            nfreese Nowlan Freese added a comment - I can take a look.
            Hide
            nfreese Nowlan Freese added a comment - - edited

            Here is what I have tested so far on Mac 11.6 with IGB 9.1.10 (commit: dcc2086b995ef4f49eb8770cb891d372f3ca0022)
            Everything has worked so far.

            IGB Quickload:

            hg38
            blacklist
            UCSC Das
            UCSC tracks folder
            genetics folder
            giab

            TAIR10
            chip-seq folder
            bar folder
            rna-seq folder

            blueberry
            gene predictions
            rna-seq
            454

            g_max_jan_2014
            soyseq

            Local Quickload - worked

            BioViz Connect
            worked on SRR10060911.bam

            efp-seq browser
            worked on AT2G24270

            usegalaxy
            worked on https://usegalaxy.org/u/rajeevnepal/h/unnamed-history

            Loading BAM file data from a quickload stored on CyVerse worked.

            Show
            nfreese Nowlan Freese added a comment - - edited Here is what I have tested so far on Mac 11.6 with IGB 9.1.10 (commit: dcc2086b995ef4f49eb8770cb891d372f3ca0022) Everything has worked so far. IGB Quickload: hg38 blacklist UCSC Das UCSC tracks folder genetics folder giab TAIR10 chip-seq folder bar folder rna-seq folder blueberry gene predictions rna-seq 454 g_max_jan_2014 soyseq Local Quickload - worked BioViz Connect worked on SRR10060911.bam efp-seq browser worked on AT2G24270 usegalaxy worked on https://usegalaxy.org/u/rajeevnepal/h/unnamed-history Loading BAM file data from a quickload stored on CyVerse worked.

              People

              • Assignee:
                pbadzuh Philip Badzuh (Inactive)
                Reporter:
                pbadzuh Philip Badzuh (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: