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

Fix UCSC trackhub to IGB quickload converter

    Details

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

      Description

      The UCSC track data hubs to IGB quickload converter is currently not working with the newest version of IGB (10.0.0). I've confirmed that it does work with the previous version (9.1.10). Similarly, adding a public UCSC track hub to IGB from this https://bioviz.org/public-trackhubs.html webpage using the "+" button doesn't work either.

      The error in both cases reads: Could not add to IGB. Please update IGB to latest version.

        Attachments

          Activity

          pkulzer Paige Kulzer created issue -
          pkulzer Paige Kulzer made changes -
          Field Original Value New Value
          Epic Link IGBF-3142 [ 21688 ]
          pkulzer Paige Kulzer made changes -
          Attachment Screenshot 2024-01-24 at 16.08.11.png [ 18182 ]
          pkulzer Paige Kulzer made changes -
          nfreese Nowlan Freese made changes -
          Assignee Karthik Raveendran [ karthik ]
          karthik Karthik Raveendran made changes -
          Status To-Do [ 10305 ] In Progress [ 3 ]
          Hide
          karthik Karthik Raveendran added a comment -

          When we made the changes to IGB in 9.1.10 to accept trackhub requests we added a condition to the bioviz code base to check versions: any version below 9.1.10 would send a toast to user saying, "Could not add to IGB. Please update IGB to latest version.". However, the condition was incomplete and only checked the if the last part of the version is less than 10 and disregards the rest of the version. The new changes to bioviz has the complete conditional statement for the version. See commit

          As this is a small change, I have also created the PR: https://bitbucket.org/lorainelab/bioviz/pull-requests/124

          Show
          karthik Karthik Raveendran added a comment - When we made the changes to IGB in 9.1.10 to accept trackhub requests we added a condition to the bioviz code base to check versions: any version below 9.1.10 would send a toast to user saying, "Could not add to IGB. Please update IGB to latest version.". However, the condition was incomplete and only checked the if the last part of the version is less than 10 and disregards the rest of the version. The new changes to bioviz has the complete conditional statement for the version. See commit As this is a small change, I have also created the PR: https://bitbucket.org/lorainelab/bioviz/pull-requests/124
          karthik Karthik Raveendran made changes -
          Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
          karthik Karthik Raveendran made changes -
          Assignee Karthik Raveendran [ karthik ]
          karthik Karthik Raveendran made changes -
          Assignee Paige Kulzer [ pkulzer ]
          Hide
          pkulzer Paige Kulzer added a comment - - edited

          Tested locally on Mac with 9.1.4 and 9.1.10 and 10.0.0, no issues found.

          Show
          pkulzer Paige Kulzer added a comment - - edited Tested locally on Mac with 9.1.4 and 9.1.10 and 10.0.0, no issues found.
          pkulzer Paige Kulzer made changes -
          Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
          pkulzer Paige Kulzer made changes -
          Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
          karthik Karthik Raveendran made changes -
          Assignee Paige Kulzer [ pkulzer ] Karthik Raveendran [ karthik ]
          Show
          karthik Karthik Raveendran added a comment - PR Submitted: https://bitbucket.org/lorainelab/bioviz/pull-requests/124
          karthik Karthik Raveendran made changes -
          Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
          karthik Karthik Raveendran made changes -
          Assignee Karthik Raveendran [ karthik ]
          ann.loraine Ann Loraine made changes -
          Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
          Hide
          ann.loraine Ann Loraine added a comment -

          Change request:

          • Please issue PR to a different target: branch "main" (master branch is no longer the main branch)
          Show
          ann.loraine Ann Loraine added a comment - Change request: Please issue PR to a different target: branch "main" (master branch is no longer the main branch)
          ann.loraine Ann Loraine made changes -
          Assignee Karthik Raveendran [ karthik ]
          ann.loraine Ann Loraine made changes -
          Status Reviewing Pull Request [ 10303 ] To-Do [ 10305 ]
          Show
          karthik Karthik Raveendran added a comment - PR Submitted: https://bitbucket.org/lorainelab/bioviz/pull-requests/125
          karthik Karthik Raveendran made changes -
          Status To-Do [ 10305 ] In Progress [ 3 ]
          karthik Karthik Raveendran made changes -
          Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
          karthik Karthik Raveendran made changes -
          Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
          karthik Karthik Raveendran made changes -
          Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
          karthik Karthik Raveendran made changes -
          Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
          karthik Karthik Raveendran made changes -
          Assignee Karthik Raveendran [ karthik ]
          ann.loraine Ann Loraine made changes -
          Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
          ann.loraine Ann Loraine made changes -
          Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
          Hide
          ann.loraine Ann Loraine added a comment - - edited

          Thanks Karthik Raveendran!

          PR is merged.

          For testing, we'll need to use a new test server that I have not yet set up. I'll post here again when the testing site is ready.

          Assigning this ticket to me so that it's more clear that I still need to do a thing before the new code can be tested and ticket closed.

          Show
          ann.loraine Ann Loraine added a comment - - edited Thanks Karthik Raveendran ! PR is merged. For testing, we'll need to use a new test server that I have not yet set up. I'll post here again when the testing site is ready. Assigning this ticket to me so that it's more clear that I still need to do a thing before the new code can be tested and ticket closed.
          ann.loraine Ann Loraine made changes -
          Assignee Ann Loraine [ aloraine ]
          ann.loraine Ann Loraine made changes -
          Sprint Spring 2 [ 186 ] Spring 2, Spring 3 [ 186, 187 ]
          ann.loraine Ann Loraine made changes -
          Rank Ranked higher
          Hide
          ann.loraine Ann Loraine added a comment -

          Test server is now available.

          See: https://biovizubuntutest.bioviz.org

          Show
          ann.loraine Ann Loraine added a comment - Test server is now available. See: https://biovizubuntutest.bioviz.org
          ann.loraine Ann Loraine made changes -
          Assignee Ann Loraine [ aloraine ]
          nfreese Nowlan Freese made changes -
          Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
          nfreese Nowlan Freese made changes -
          Assignee Nowlan Freese [ nfreese ]
          Hide
          nfreese Nowlan Freese added a comment -

          Tested on Mac using IGB 10.0.0 early access.

          The test page for bioviz.org (https://biovizubuntutest.bioviz.org/public-trackhubs.html) is working correctly, I am able to add the trackhub to IGB as a new data source.

          The converter page (https://translate.bioviz.org/) will need to be updated (this page is hosted separately from bioviz.org). Looks like the change should be made here -> https://bitbucket.org/lorainelab/hub-facade/src/main/igb_trackhub/ui/static/js/manualConverter.js

          Show
          nfreese Nowlan Freese added a comment - Tested on Mac using IGB 10.0.0 early access. The test page for bioviz.org ( https://biovizubuntutest.bioviz.org/public-trackhubs.html ) is working correctly, I am able to add the trackhub to IGB as a new data source. The converter page ( https://translate.bioviz.org/ ) will need to be updated (this page is hosted separately from bioviz.org). Looks like the change should be made here -> https://bitbucket.org/lorainelab/hub-facade/src/main/igb_trackhub/ui/static/js/manualConverter.js
          nfreese Nowlan Freese made changes -
          Assignee Nowlan Freese [ nfreese ] Karthik Raveendran [ karthik ]
          nfreese Nowlan Freese made changes -
          Status Post-merge Testing In Progress [ 10003 ] To-Do [ 10305 ]
          karthik Karthik Raveendran made changes -
          Status To-Do [ 10305 ] In Progress [ 3 ]
          Hide
          karthik Karthik Raveendran added a comment -
          Show
          karthik Karthik Raveendran added a comment - Changes implement: PR Submitted https://bitbucket.org/lorainelab/hub-facade/pull-requests/32
          karthik Karthik Raveendran made changes -
          Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
          karthik Karthik Raveendran made changes -
          Assignee Karthik Raveendran [ karthik ]
          Hide
          nfreese Nowlan Freese added a comment -

          The code change looks good.

          Ready for pull request.

          Show
          nfreese Nowlan Freese added a comment - The code change looks good. Ready for pull request.
          nfreese Nowlan Freese made changes -
          Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
          nfreese Nowlan Freese made changes -
          Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
          nfreese Nowlan Freese made changes -
          Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
          nfreese Nowlan Freese made changes -
          Assignee Ann Loraine [ aloraine ]
          karthik Karthik Raveendran made changes -
          Assignee Ann Loraine [ aloraine ] Karthik Raveendran [ karthik ]
          ann.loraine Ann Loraine made changes -
          Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
          ann.loraine Ann Loraine made changes -
          Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
          ann.loraine Ann Loraine made changes -
          Assignee Karthik Raveendran [ karthik ]
          ann.loraine Ann Loraine made changes -
          Comment [ PR is merged.

          To deploy, run playbooks with inventory file:

          {code}
          [hub_facade_hosts]
          prodhub1 ansible_host=54.145.113.158 domain=translate.bioviz.org secret_key=dkasdkhjwns igb_repository=https://bitbucket.org/lorainelab/integrated-genome-browser igb_branch=master quickload_contents_txt=http://www.igbquickload.org/quickload/contents.txt stack=Prod

          [hub_facade_hosts:vars]
          ansible_ssh_common_args="-o StrictHostKeyChecking=no"
          ansible_python_interpreter=/usr/bin/python3
          ansible_ssh_user=ubuntu
          {code}



          ]
          Hide
          ann.loraine Ann Loraine added a comment -

          Proceeding to deploy changes for testing.

          Show
          ann.loraine Ann Loraine added a comment - Proceeding to deploy changes for testing.
          Hide
          ann.loraine Ann Loraine added a comment -

          Deployed changes:

          • Changed into ansible-playbooks directory of cloned hub-facade repository
          • Updated code with:
          ansible-playbook -i inventory.ini setup.yml 
          

          using inventory file:

          [hub_facade_hosts]
          translate ansible_host=3.213.48.139 domain=translate.bioviz.org secret_key=dkasdkhjwns igb_repository=https://bitbucket.org/lorainelab/integrated-genome-browser/ igb_branch=master quickload_contents_txt=http://igbquickload.org/quickload/contents.txt stack=Prod
          
          [hub_facade_hosts:vars]
          ansible_ssh_common_args="-o StrictHostKeyChecking=no"
          ansible_python_interpreter=/usr/bin/python3
          
          Show
          ann.loraine Ann Loraine added a comment - Deployed changes: Changed into ansible-playbooks directory of cloned hub-facade repository Updated code with: ansible-playbook -i inventory.ini setup.yml using inventory file: [hub_facade_hosts] translate ansible_host=3.213.48.139 domain=translate.bioviz.org secret_key=dkasdkhjwns igb_repository=https: //bitbucket.org/lorainelab/integrated-genome-browser/ igb_branch=master quickload_contents_txt=http://igbquickload.org/quickload/contents.txt stack=Prod [hub_facade_hosts:vars] ansible_ssh_common_args= "-o StrictHostKeyChecking=no" ansible_python_interpreter=/usr/bin/python3
          Hide
          ann.loraine Ann Loraine added a comment -

          Changes should now be deployed and are ready for testing.

          cc:

          Paige Kulzer
          Karthik Raveendran
          Nowlan Freese

          Show
          ann.loraine Ann Loraine added a comment - Changes should now be deployed and are ready for testing. cc: Paige Kulzer Karthik Raveendran Nowlan Freese
          ann.loraine Ann Loraine made changes -
          Sprint Spring 2, Spring 3 [ 186, 187 ] Spring 2, Spring 3, Spring 4 [ 186, 187, 188 ]
          ann.loraine Ann Loraine made changes -
          Rank Ranked higher
          nfreese Nowlan Freese made changes -
          Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
          nfreese Nowlan Freese made changes -
          Assignee Nowlan Freese [ nfreese ]
          Hide
          nfreese Nowlan Freese added a comment - - edited

          Testing on Mac

          https://translate.bioviz.org/ - Working correctly on main-JDK21-with-javafx-no-theme and IGB 9.1.10

          https://biovizubuntutest.bioviz.org/public-trackhubs.html - Working correctly on main-JDK21-with-javafx-no-theme and IGB 9.1.10

          Final step is to deploy changes to bioviz.org

          Show
          nfreese Nowlan Freese added a comment - - edited Testing on Mac https://translate.bioviz.org/ - Working correctly on main-JDK21-with-javafx-no-theme and IGB 9.1.10 https://biovizubuntutest.bioviz.org/public-trackhubs.html - Working correctly on main-JDK21-with-javafx-no-theme and IGB 9.1.10 Final step is to deploy changes to bioviz.org
          nfreese Nowlan Freese made changes -
          Assignee Nowlan Freese [ nfreese ] Ann Loraine [ aloraine ]
          nfreese Nowlan Freese made changes -
          Status Post-merge Testing In Progress [ 10003 ] To-Do [ 10305 ]
          nfreese Nowlan Freese made changes -
          Status To-Do [ 10305 ] In Progress [ 3 ]
          nfreese Nowlan Freese made changes -
          Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
          nfreese Nowlan Freese made changes -
          Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
          nfreese Nowlan Freese made changes -
          Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
          nfreese Nowlan Freese made changes -
          Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
          nfreese Nowlan Freese made changes -
          Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
          nfreese Nowlan Freese made changes -
          Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
          nfreese Nowlan Freese made changes -
          Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
          nfreese Nowlan Freese made changes -
          Status Post-merge Testing In Progress [ 10003 ] To-Do [ 10305 ]
          nfreese Nowlan Freese made changes -
          Status To-Do [ 10305 ] In Progress [ 3 ]
          nfreese Nowlan Freese made changes -
          Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
          nfreese Nowlan Freese made changes -
          Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
          nfreese Nowlan Freese made changes -
          Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
          nfreese Nowlan Freese made changes -
          Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
          nfreese Nowlan Freese made changes -
          Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
          nfreese Nowlan Freese made changes -
          Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
          nfreese Nowlan Freese made changes -
          Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
          nfreese Nowlan Freese made changes -
          Assignee Ann Loraine [ aloraine ] Nowlan Freese [ nfreese ]
          Hide
          nfreese Nowlan Freese added a comment -

          Tested on newly deployed https://www.bioviz.org/public-trackhubs.html - everything working correctly, able to add public hubs as new data sources to IGB on 9.1.10 and 10.0.0

          Closing ticket.

          Show
          nfreese Nowlan Freese added a comment - Tested on newly deployed https://www.bioviz.org/public-trackhubs.html - everything working correctly, able to add public hubs as new data sources to IGB on 9.1.10 and 10.0.0 Closing ticket.
          nfreese Nowlan Freese made changes -
          Assignee Nowlan Freese [ nfreese ] Karthik Raveendran [ karthik ]
          nfreese Nowlan Freese made changes -
          Resolution Done [ 10000 ]
          Status Post-merge Testing In Progress [ 10003 ] Closed [ 6 ]

            People

            • Assignee:
              karthik Karthik Raveendran
              Reporter:
              pkulzer Paige Kulzer
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: