Details
-
Type:
Improvement
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 10.1.0
-
Labels:None
-
Story Points:1
-
Epic Link:
-
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, Spring 10
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
- relates to
-
IGBF-1879 Ensure Galaxy default dbkey values are in synonyms.txt
-
- Closed
-
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]