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

Investigate: ProtAnnot can no longer query InterProScan

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      I attempted to run a search of InterPro using ProtAnnot but the search did not execute properly. (See attached image for a view of ProtAnnot.)

      It looks like maybe the InterProScan Web service API has changed and ProtAnnot needs to be updated.

      Note:
      To understand how to run a search of InterPro using ProtAnnot, watch the video linked from the top page of https://apps.bioviz.org. The first part of the video explains how to install an IGB App using the App Store. You can skip the first part, since you probably should work with the development (current master branch) version of ProtAnnot available from the Downloads section of a ProtAnnot bitbucket repository. To just see how to run a search with ProtAnnot, you can skip ahead to 1:43 minutes into the video.

      The error, copied from IGB "log" tab:

      01:20:10.863 INFO com.affymetrix.igb.IGB - Completed loading sequence for Chr1 : 7,284,963 - 7,290,069 from IGB Quickload http://lorainelab-quickload.scidas.org/quickload/
      01:21:04.688 INFO o.l.i.p.i.InterProscanServiceRest - iprscan5-R20230710-072102-0693-74435734-p1m
      01:21:05.129 ERROR o.l.i.p.i.InterProscanServiceRest - No enum constant org.lorainelab.igb.protannot.interproscan.api.InterProscanService.Status.QUEUED
      java.lang.IllegalArgumentException: No enum constant org.lorainelab.igb.protannot.interproscan.api.InterProscanService.Status.QUEUED
      at java.lang.Enum.valueOf(Enum.java:238) ~[na:1.8.0_332]
      at org.lorainelab.igb.protannot.interproscan.api.InterProscanService$Status.valueOf(InterProscanService.java:29) ~[-1688969961404:na]
      at org.lorainelab.igb.protannot.interproscan.InterProscanServiceRest.status(InterProscanServiceRest.java:106) ~[-1688969961404:na]
      at org.lorainelab.igb.protannot.ProtAnnotService$5.run(ProtAnnotService.java:692) [-1688969961404:na]
      at java.util.TimerThread.mainLoop(Timer.java:555) [na:1.8.0_332]
      at java.util.TimerThread.run(Timer.java:505) [na:1.8.0_332]
      01:21:05.130 INFO o.l.igb.protannot.ProtAnnotService - iprscan5-R20230710-072102-0693-74435734-p1m Error

      For this task, determine if this error re-occurs in other searches.

      For your reference, one gene model searched. The gene model was "AT1G20920.7" from the "Araport" track of Arabidopsis genome version A_thaliana_Jun_2009.

      I discovered the error during final testing of IGBF-3202.

        Attachments

          Issue Links

            Activity

            Hide
            kgopu Kaushik Gopu added a comment -

            The error does not persist in 9.1.10 since it has older guava version. The 9.1.12 has new guava version which is causing this error. currently, I'm working on this issue on branch 3349.

            Show
            kgopu Kaushik Gopu added a comment - The error does not persist in 9.1.10 since it has older guava version. The 9.1.12 has new guava version which is causing this error. currently, I'm working on this issue on branch 3349.
            Hide
            nfreese Nowlan Freese added a comment -

            Testing on Mac with IGB 9.1.10
            Fetched Kaushik's IGBF-3381 branch, built locally and added as a repo.
            Tested multiple genes including Dscam1.
            ProtAnnot worked correctly, no errors in log, all gene models finished except those that reported Invalid Protein Sequence (unrelated to this ticket).

            I believe the EventBus error that Dr. Loraine was seeing was due to a change from IGBF-3349 being accidentally merged/included in the downloads folder.
            Kaushik Gopu - you will need to rebase IGBF-3381 on top of master before submitting a pull request.

            Show
            nfreese Nowlan Freese added a comment - Testing on Mac with IGB 9.1.10 Fetched Kaushik's IGBF-3381 branch, built locally and added as a repo. Tested multiple genes including Dscam1. ProtAnnot worked correctly, no errors in log, all gene models finished except those that reported Invalid Protein Sequence (unrelated to this ticket). I believe the EventBus error that Dr. Loraine was seeing was due to a change from IGBF-3349 being accidentally merged/included in the downloads folder. Kaushik Gopu - you will need to rebase IGBF-3381 on top of master before submitting a pull request.
            Hide
            kgopu Kaushik Gopu added a comment -
            Show
            kgopu Kaushik Gopu added a comment - Pull request submitted: https://bitbucket.org/lorainelab/protannot/pull-requests/15 .
            Hide
            ann.loraine Ann Loraine added a comment - - edited

            Merged PR.

            To test:

            • Download IGB 9.1.10 - the released version of IGB - and install it onto your computer
            • When IGB 9.1.10 starts, choose "File > Preferences > Other Options > Research Preferences to Defaults" to ensure you are working with a "fresh" installation of IGB, thus simulating what a naïve user would experience
            • Restart IGB 9.1.10
            • Choose Tools > Open App Manager
            • Observe that version 9.1.3 is the currently available version of ProtAnnot
            • Visit the IGB App Store (https://apps.bioviz.org) and open the page for ProtAnnot
            • Observe that the version available for installation is version 9.1.3 of ProtAnnot
            • Use either the App Manager interface or the App Store page to install version 9.1.3 of ProtAnnot
            • In IGB, choose Tools > Open App Manager > Manage Repositories
            • Add new repository "https://bitbucket.org/lorainelab/protannot/downloads/"
            • Quit IGB and then start IGB again.
            • Choose Tools > Open App Manager
            • Observe that the App Manager interface shows an option to update ProtAnnot to version 9.1.4
            • In IGB, visit the latest fruit fly genome and follow the instructions above to select Dscam1 gene models
            • Start ProtAnnot with Dscam1 gene models (as many as you can!)
            • Observe that ProtAnnots opens with Dscam1 gene models displayed in the IGB interface
            • Choose "run interproscan" button
            • Observe that every job runs and finishes, and ProtAnnot updates to show protein sequence motif "hits" (in green) beneath every gene model
            Show
            ann.loraine Ann Loraine added a comment - - edited Merged PR. To test: Download IGB 9.1.10 - the released version of IGB - and install it onto your computer When IGB 9.1.10 starts, choose "File > Preferences > Other Options > Research Preferences to Defaults" to ensure you are working with a "fresh" installation of IGB, thus simulating what a naïve user would experience Restart IGB 9.1.10 Choose Tools > Open App Manager Observe that version 9.1.3 is the currently available version of ProtAnnot Visit the IGB App Store ( https://apps.bioviz.org ) and open the page for ProtAnnot Observe that the version available for installation is version 9.1.3 of ProtAnnot Use either the App Manager interface or the App Store page to install version 9.1.3 of ProtAnnot In IGB, choose Tools > Open App Manager > Manage Repositories Add new repository "https://bitbucket.org/lorainelab/protannot/downloads/" Quit IGB and then start IGB again. Choose Tools > Open App Manager Observe that the App Manager interface shows an option to update ProtAnnot to version 9.1.4 In IGB, visit the latest fruit fly genome and follow the instructions above to select Dscam1 gene models Start ProtAnnot with Dscam1 gene models (as many as you can!) Observe that ProtAnnots opens with Dscam1 gene models displayed in the IGB interface Choose "run interproscan" button Observe that every job runs and finishes, and ProtAnnot updates to show protein sequence motif "hits" (in green) beneath every gene model
            Hide
            nfreese Nowlan Freese added a comment -

            Following the above testing gene models loaded in ProtAnnot and results were successful.

            Closing ticket

            Show
            nfreese Nowlan Freese added a comment - Following the above testing gene models loaded in ProtAnnot and results were successful. Closing ticket

              People

              • Assignee:
                kgopu Kaushik Gopu
                Reporter:
                ann.loraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: