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

Fix loading bookmark from Galaxy when genome from UCSC

    Details

    • Type: Improvement
    • Status: To-Do (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Story Points:
      3
    • Sprint:
      Spring 6 2021 May 31 - June 11, Summer 1 2021 Jun 14 - Jun 25, Summer 2 2021 Jun 28 - Jul 9, Summer 3 2021 Jul 12 - Jul 23

      Description

      Situation: Many genomes in IGB are provided by UCSC DAS, a service that is similar to Quickload. Galaxy is a website that provides analysis tools for genomes. The data produced by Galaxy can then be viewed in IGB by clicking a link in Galaxy. The link works through the BookmarkUnibrowControlServlet.java class to parse out the genome and other information.

      However, there is an edge case where if the genome is provided by UCSC DAS in IGB (as opposed to IGB Quickload) and the user has not first selected the correct genome, clicking the link in Galaxy will cause an error (see comment). This is because seqid is null. The seqid should be set to a chromosome/scaffold/contig of the genome. My guess is that because the genome is provided by UCSC DAS, which behaves differently than Quickload, the current methods to retrieve the seqid for the genome are returning null.

      Task: Implement a fix.

        Attachments

          Issue Links

            Activity

            Hide
            nfreese Nowlan Freese added a comment -

            No seqid: The bookmark did not specify a valid seqid: specified 'null'
            -------------------------------------------------------

            14:22:20.856 ERROR c.a.i.b.BookmarkUnibrowControlServlet - Error while loading bookmark.
            java.lang.NullPointerException: null
            at com.affymetrix.igb.bookmarks.BookmarkUnibrowControlServlet$1.runInBackground(BookmarkUnibrowControlServlet.java:224) ~[classes/:na]
            at com.affymetrix.genometry.thread.CThreadWorker.doInBackground(CThreadWorker.java:73) [genometry-9.1.8.jar:na]
            at javax.swing.SwingWorker$1.call(SwingWorker.java:295) [na:1.8.0_191]
            at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_191]
            at javax.swing.SwingWorker.run(SwingWorker.java:334) [na:1.8.0_191]
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_191]
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_191]
            at java.lang.Thread.run(Thread.java:748) [na:1.8.0_191]

            Show
            nfreese Nowlan Freese added a comment - No seqid: The bookmark did not specify a valid seqid: specified 'null' ------------------------------------------------------- 14:22:20.856 ERROR c.a.i.b.BookmarkUnibrowControlServlet - Error while loading bookmark. java.lang.NullPointerException: null at com.affymetrix.igb.bookmarks.BookmarkUnibrowControlServlet$1.runInBackground(BookmarkUnibrowControlServlet.java:224) ~ [classes/:na] at com.affymetrix.genometry.thread.CThreadWorker.doInBackground(CThreadWorker.java:73) [genometry-9.1.8.jar:na] at javax.swing.SwingWorker$1.call(SwingWorker.java:295) [na:1.8.0_191] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_191] at javax.swing.SwingWorker.run(SwingWorker.java:334) [na:1.8.0_191] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_191] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_191] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_191]
            Show
            nfreese Nowlan Freese added a comment - - edited To replicate: In IGB, navigate to File > Preferences... and then select the Data Sources tab Disable all data sources except for UCSC DAS Close and reopen IGB (do not reset preferences to default) In a web browser, paste the following link: http://bioviz.org/galaxy.htmlversion=hg38&feature_url_0=https://usegalaxy.org/display_application/bbd44e69cb8906b54ceaff322a0774ff/igb_bam/View/047ae2532cd2a978/data/BAM_NORMAL_RNA_STAR.bam&sym_name_0=BAM_NORMAL_RNA_STAR&sym_method_0=https://usegalaxy.org/display_application/bbd44e69cb8906b54ceaff322a0774ff/igb_bam/View/047ae2532cd2a978/data/BAM_NORMAL_RNA_STAR.bam&query_url=https://usegalaxy.org/display_application/bbd44e69cb8906b54ceaff322a0774ff/igb_bam/View/047ae2532cd2a978/data/BAM_NORMAL_RNA_STAR.bam&server_url=galaxy

              People

              • Assignee:
                Unassigned
                Reporter:
                nfreese Nowlan Freese
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: