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

Investigate the existing logic of showing the species list

    Details

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

      Description

      Investigate the existing logic of showing the species list and find how the UCSC genomes are shown in the list.

        Attachments

          Activity

          jsirigin Jaya Sravani Sirigineedi created issue -
          jsirigin Jaya Sravani Sirigineedi made changes -
          Field Original Value New Value
          Epic Link IGBF-3555 [ 22774 ]
          jsirigin Jaya Sravani Sirigineedi made changes -
          Status To-Do [ 10305 ] In Progress [ 3 ]
          jsirigin Jaya Sravani Sirigineedi made changes -
          Story Points 2 1
          Hide
          jsirigin Jaya Sravani Sirigineedi added a comment - - edited

          Investigated the code and found the class and method that is responsible for this logic, the method retrieveDataContainer() inside GeneralLoadUtils is responsible for the addition of species to the species list. This method is called for each data provider from the loadSupportedGenomeVersions() method in the DataProviderManager class. We can change the logic in the retrieveDataContainer() method to check whether the species that is being loaded by the Ensembl provider is already present in the species list but have to check whether this method is called by all the data providers simultaneously (multi-threaded) or we can change the logic after all the species are loaded.

          Show
          jsirigin Jaya Sravani Sirigineedi added a comment - - edited Investigated the code and found the class and method that is responsible for this logic, the method retrieveDataContainer() inside GeneralLoadUtils is responsible for the addition of species to the species list. This method is called for each data provider from the loadSupportedGenomeVersions() method in the DataProviderManager class. We can change the logic in the retrieveDataContainer() method to check whether the species that is being loaded by the Ensembl provider is already present in the species list but have to check whether this method is called by all the data providers simultaneously (multi-threaded) or we can change the logic after all the species are loaded.
          jsirigin Jaya Sravani Sirigineedi made changes -
          Story Points 1 2
          jsirigin Jaya Sravani Sirigineedi made changes -
          Sprint Summer 2 [ 196 ]
          Hide
          jsirigin Jaya Sravani Sirigineedi added a comment - - edited

          Changing the logic in the retrieveDataContainer() method is working as the providers are not initialized simultaneously (multi-threaded), tested it with the UCSC provider. Also, while doing this change, found out that the data providers are not initializing based on the load priority but based on the order in the igbDefaultPrefs.json file. We can change this behavior by sorting the dataProviders list after retrieving them from the json based on the load priority. Below are the custom print messages which I have added to check this.

          ===================Current thread: AWT-EventQueue-0 Provider: RNA-Seq Priority: 0====================
          ===================Current thread: AWT-EventQueue-0 Provider: IGB Quickload Priority: 2====================
          ===================Current thread: AWT-EventQueue-0 Provider: Blueberry Priority: 3====================
          ===================Current thread: AWT-EventQueue-0 Provider: UCSC REST Priority: 6====================
          ===================Current thread: AWT-EventQueue-0 Provider: Bio-Analytic Resource Priority: 1====================
          ===================Current thread: AWT-EventQueue-0 Provider: ChIP-Seq Priority: 1====================
          ===================Current thread: AWT-EventQueue-0 Provider: Genome in a Bottle Priority: 1====================

          Nowlan Freese - Could you please look into this and let me know if I need to change the logic to load them based on the load priority.

          Show
          jsirigin Jaya Sravani Sirigineedi added a comment - - edited Changing the logic in the retrieveDataContainer() method is working as the providers are not initialized simultaneously (multi-threaded), tested it with the UCSC provider. Also, while doing this change, found out that the data providers are not initializing based on the load priority but based on the order in the igbDefaultPrefs.json file. We can change this behavior by sorting the dataProviders list after retrieving them from the json based on the load priority. Below are the custom print messages which I have added to check this. ===================Current thread: AWT-EventQueue-0 Provider: RNA-Seq Priority: 0==================== ===================Current thread: AWT-EventQueue-0 Provider: IGB Quickload Priority: 2==================== ===================Current thread: AWT-EventQueue-0 Provider: Blueberry Priority: 3==================== ===================Current thread: AWT-EventQueue-0 Provider: UCSC REST Priority: 6==================== ===================Current thread: AWT-EventQueue-0 Provider: Bio-Analytic Resource Priority: 1==================== ===================Current thread: AWT-EventQueue-0 Provider: ChIP-Seq Priority: 1==================== ===================Current thread: AWT-EventQueue-0 Provider: Genome in a Bottle Priority: 1==================== Nowlan Freese - Could you please look into this and let me know if I need to change the logic to load them based on the load priority.
          jsirigin Jaya Sravani Sirigineedi made changes -
          Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
          jsirigin Jaya Sravani Sirigineedi made changes -
          Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
          jsirigin Jaya Sravani Sirigineedi made changes -
          Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
          jsirigin Jaya Sravani Sirigineedi made changes -
          Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
          jsirigin Jaya Sravani Sirigineedi made changes -
          Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
          jsirigin Jaya Sravani Sirigineedi made changes -
          Status Reviewing Pull Request [ 10303 ] Pull Request Submitted [ 10101 ]
          jsirigin Jaya Sravani Sirigineedi made changes -
          Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
          jsirigin Jaya Sravani Sirigineedi made changes -
          Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
          jsirigin Jaya Sravani Sirigineedi made changes -
          Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
          jsirigin Jaya Sravani Sirigineedi made changes -
          Resolution Done [ 10000 ]
          Status Post-merge Testing In Progress [ 10003 ] Closed [ 6 ]
          Hide
          nfreese Nowlan Freese added a comment -

          Please go ahead and create a new ticket to fix the load priority in the igbDefaultPrefs.json file.

          Show
          nfreese Nowlan Freese added a comment - Please go ahead and create a new ticket to fix the load priority in the igbDefaultPrefs.json file.
          Hide
          jsirigin Jaya Sravani Sirigineedi added a comment -

          Created a ticket for fixing the order: https://jira.bioviz.org/browse/IGBF-3774

          Show
          jsirigin Jaya Sravani Sirigineedi added a comment - Created a ticket for fixing the order: https://jira.bioviz.org/browse/IGBF-3774

            People

            • Assignee:
              jsirigin Jaya Sravani Sirigineedi
              Reporter:
              jsirigin Jaya Sravani Sirigineedi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: