Details

      Description

      Situation: Quickloads that point to files stored in ftp are unable to be loaded in IGB. This feature was last working in version 8.3.4, indicating a change in 8.4.0 broke some of the functionality.

      The issue may be several issues. For example, in FeatureTreeView.java actionPerformed there is a check to see if the data is reachable. In 9.1.6 attempting to load an ftp via quickload causes the isReachable(dataset) to return false. If this is hardcoded to true, then the file will be added to IGB, however, when the data are loaded a bai index file not found error is then thrown.

      Note that loading ftp data directly through IGB works, it is only when the ftp data are attempted to load through the quickload that it fails.

      Task: Implement a fix so that ftp files can be loaded via quickload.

        Attachments

          Issue Links

            Activity

            nfreese Nowlan Freese created issue -
            nfreese Nowlan Freese made changes -
            Field Original Value New Value
            Epic Link IGBF-1765 [ 17855 ]
            nfreese Nowlan Freese made changes -
            Link This issue relates to IGBF-1217 [ IGBF-1217 ]
            Hide
            nfreese Nowlan Freese added a comment -

            I have attached an example quickload (zip file) for the human genome that includes links to two bam files. The Illumina_2x250 points to an ftp file.

            Show
            nfreese Nowlan Freese added a comment - I have attached an example quickload (zip file) for the human genome that includes links to two bam files. The Illumina_2x250 points to an ftp file.
            ssegu Sai Supreeth Segu (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            nfreese Nowlan Freese made changes -
            Description Situation: Quickloads that point to files stored in ftp are unable to be loaded in IGB. This feature was last working in version 8.3.4, indicating a change in 8.4.0 broke some of the functionality. The issue may be several issues. For example, in FeatureTreeView.java actionPerformed there is a check to see if the data is reachable. In 9.1.6 attempting to load an ftp via quickload causes the isReachable(dataset) to return false. If this is hardcoded to true, then the file will be added to IGB, however, when the data are loaded a bai index file not found error is then thrown. Note that loading ftp data directly through IGB works, it is only when the ftp data are attempted to load through the quickload that it fails.

            Task: Implement a fix so that ftp files can be loaded via quickload.
            Situation: Quickloads that point to files stored in ftp are unable to be loaded in IGB. This feature was last working in version 8.3.4, indicating a change in 8.4.0 broke some of the functionality.

            The issue may be several issues. For example, in FeatureTreeView.java actionPerformed there is a check to see if the data is reachable. In 9.1.6 attempting to load an ftp via quickload causes the isReachable(dataset) to return false. If this is hardcoded to true, then the file will be added to IGB, however, when the data are loaded a bai index file not found error is then thrown.

            Note that loading ftp data directly through IGB works, it is only when the ftp data are attempted to load through the quickload that it fails.

            Task: Implement a fix so that ftp files can be loaded via quickload.
            nfreese Nowlan Freese made changes -
            Link This issue blocks IGBF-1217 [ IGBF-1217 ]
            nfreese Nowlan Freese made changes -
            Link This issue relates to IGBF-1217 [ IGBF-1217 ]
            ssegu Sai Supreeth Segu (Inactive) made changes -
            Status In Progress [ 3 ] To-Do [ 10305 ]
            ssegu Sai Supreeth Segu (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            ssegu Sai Supreeth Segu (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            ssegu Sai Supreeth Segu (Inactive) made changes -
            Assignee Sai Supreeth Segu [ ssegu ]
            Hide
            ssegu Sai Supreeth Segu (Inactive) added a comment - - edited

            Fixed the errors and updated the changes. Please review my changes.
            Link for the branch: https://bitbucket.org/supreeth27/integrated-genome-browser/branch/IGBF-2589#diff

            Show
            ssegu Sai Supreeth Segu (Inactive) added a comment - - edited Fixed the errors and updated the changes. Please review my changes. Link for the branch: https://bitbucket.org/supreeth27/integrated-genome-browser/branch/IGBF-2589#diff
            ssegu Sai Supreeth Segu (Inactive) made changes -
            Assignee Sai Supreeth Segu [ ssegu ]
            ssegu Sai Supreeth Segu (Inactive) made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            ssegu Sai Supreeth Segu (Inactive) made changes -
            Status First Level Review in Progress [ 10301 ] To-Do [ 10305 ]
            ssegu Sai Supreeth Segu (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            ssegu Sai Supreeth Segu (Inactive) made changes -
            Assignee Sai Supreeth Segu [ ssegu ]
            ssegu Sai Supreeth Segu (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            Hide
            ann.loraine Ann Loraine added a comment - - edited

            I have a request for clarification:

            It looks like there is some logic intended to handle all the protocols - http, etc.

            FTP was not handled & now it is.

            Should we also address https? I am not seeing where it is handled, but I may be missing it.

            Show
            ann.loraine Ann Loraine added a comment - - edited I have a request for clarification: It looks like there is some logic intended to handle all the protocols - http, etc. FTP was not handled & now it is. Should we also address https? I am not seeing where it is handled, but I may be missing it.
            ann.loraine Ann Loraine made changes -
            Assignee Sai Supreeth Segu [ ssegu ]
            ann.loraine Ann Loraine made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            ann.loraine Ann Loraine made changes -
            Status First Level Review in Progress [ 10301 ] To-Do [ 10305 ]
            Hide
            ssegu Sai Supreeth Segu (Inactive) added a comment -

            [~aloraine] (!file.getName().startsWith("http") handles https as well because https also starts with http. I have already tested https request as well.

            Show
            ssegu Sai Supreeth Segu (Inactive) added a comment - [~aloraine] (!file.getName().startsWith("http") handles https as well because https also starts with http. I have already tested https request as well.
            ssegu Sai Supreeth Segu (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            ssegu Sai Supreeth Segu (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            ssegu Sai Supreeth Segu (Inactive) made changes -
            Assignee Sai Supreeth Segu [ ssegu ]
            nfreese Nowlan Freese made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            nfreese Nowlan Freese made changes -
            Assignee Nowlan Freese [ nfreese ]
            Hide
            nfreese Nowlan Freese added a comment -

            Tested IGBF-2589 installer on Mac from Supreeth's branch.

            Able to load ftp and http remotely hosted files as specified through the quickload.

            Sai Supreeth Segu please create a pull request.

            Show
            nfreese Nowlan Freese added a comment - Tested IGBF-2589 installer on Mac from Supreeth's branch. Able to load ftp and http remotely hosted files as specified through the quickload. Sai Supreeth Segu please create a pull request.
            nfreese Nowlan Freese made changes -
            Assignee Nowlan Freese [ nfreese ] Sai Supreeth Segu [ ssegu ]
            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 ]
            Show
            ssegu Sai Supreeth Segu (Inactive) added a comment - Please review my pull request. Link for pull request: https://bitbucket.org/lorainelab/integrated-genome-browser/pull-requests/847/igbf-2589-fixing-ftp-quickload
            ssegu Sai Supreeth Segu (Inactive) made changes -
            Assignee Sai Supreeth Segu [ ssegu ]
            nfreese Nowlan Freese made changes -
            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 -

            Merged and master branch installers built.

            Show
            ann.loraine Ann Loraine added a comment - Merged and master branch installers built.
            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 ]
            nfreese Nowlan Freese made changes -
            Story Points 3 2
            Hide
            nfreese Nowlan Freese added a comment -

            Tested master dmg installer on Mac.

            Able to view remote ftp and http data from local quickload.

            Closing issue.

            Show
            nfreese Nowlan Freese added a comment - Tested master dmg installer on Mac. Able to view remote ftp and http data from local quickload. Closing issue.
            nfreese Nowlan Freese made changes -
            Assignee Nowlan Freese [ nfreese ] Sai Supreeth Segu [ ssegu ]
            nfreese Nowlan Freese made changes -
            Resolution Done [ 10000 ]
            Status Post-merge Testing In Progress [ 10003 ] Closed [ 6 ]
            nfreese Nowlan Freese made changes -
            Fix Version/s 9.1.6 Major Release [ 10604 ]

              People

              • Assignee:
                ssegu Sai Supreeth Segu (Inactive)
                Reporter:
                nfreese Nowlan Freese
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: