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

Fix IGB unable to load files/folders with spaces

    Details

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

      Description

      Situation: A user reported an issue loading a local file in IGB 10.0.0. The issue appears to be that there was an illegal character, a space, in the name of a folder on the path to the file. The issue was not present in IGB 9.1.10. Therefore, the issue may be due to our upgrade in either the htsjdk or in Java.

      The two filetypes affected appear to be bigwig and bigbed. Example files can be found here: https://data.bioviz.org/smokeTestingQuickload/H_sapiens_Dec_2013/

      Task: Allow IGB to load bigwig and bigbed files from local paths that contain spaces.

        Attachments

          Issue Links

            Activity

            Hide
            nfreese Nowlan Freese added a comment - - edited

            Branch built off of Main: https://bitbucket.org/nfreese/nowlanfork-igb/branch/IGBF-3670
            Branch built off of release-10.0.0: https://bitbucket.org/nfreese/nowlanfork-igb/branch/IGBF-3670-V10.0.1

            Test local files:

            • Download the BigWig_HomoSapien.bigWig and BigBed_HomoSapien.bigbed from https://data.bioviz.org/smokeTestingQuickload/H_sapiens_Dec_2013/
            • Move the files into a folder that has a name with spaces and special characters, such as "test space folder []"
            • Download installer or pull my branch (IGBF-3670-V10.0.1)
            • Start IGB
              • (Not required, but I would suggest disabling UCSC REST and DAS data sources as it will speed up loading the human genome)
            • Go to the human genome (H_sapiens_Dec_2013)
            • Navigate to chr1:86,545,393-86,582,438
            • Add the BigWig_HomoSapien.bigWig and BigBed_HomoSapien.bigbed files to IGB (can drag and drop or use File > Open File...)
            • Click Load Data
            • Check that data load for both files, and that there are no errors in the log.

            Test HTTPS files:

            • Download installer or pull my branch (IGBF-3670-V10.0.1)
            • Start IGB
              • (Not required, but I would suggest disabling UCSC REST and DAS data sources as it will speed up loading the human genome)
            • Go to the human genome (H_sapiens_Dec_2013)
            • Navigate to chr1:86,545,393-86,582,438
            • Select File > Open URL...
            • Copy and paste this bigBed URL
            • Click OK
            • Select File > Open URL...
            • Copy and paste this bigWig URL
            • Click OK
            • Click Load Data
            • Check that data load for both files, and that there are no errors in the log.

            Test HTTP files:

            • Download installer or pull my branch (IGBF-3670-V10.0.1)
            • Start IGB
              • (Not required, but I would suggest disabling UCSC REST and DAS data sources as it will speed up loading the human genome)
            • Go to the human genome (H_sapiens_Dec_2013)
            • Navigate to chr1:86,545,393-86,582,438
            • Select File > Open URL...
            • Copy and paste this bigBed URL
            • Click OK
            • Select File > Open URL...
            • Copy and paste this bigWig URL
            • Click OK
            • Click Load Data
            • Check that data load for both files, and that there are no errors in the log.

            Test Quickload:

            • Download installer or pull my branch (IGBF-3670-V10.0.1)
            • Start IGB
              • (Not required, but I would suggest disabling UCSC REST and DAS data sources as it will speed up loading the human genome)
            • Go to the human genome (H_sapiens_Dec_2013)
            • Navigate to chr1:86,545,393-86,582,438
            • Add http://igbquickload.org/smokeTestingQuickload/ as a new quickload in the Data Sources tab of the IGB Preferences
            • Select the BigBed and BigWig files in the Available Data window
            • Click Load Data
            • Check that data load for both files, and that there are no errors in the log.
            Show
            nfreese Nowlan Freese added a comment - - edited Branch built off of Main: https://bitbucket.org/nfreese/nowlanfork-igb/branch/IGBF-3670 Branch built off of release-10.0.0: https://bitbucket.org/nfreese/nowlanfork-igb/branch/IGBF-3670-V10.0.1 Test local files: Download the BigWig_HomoSapien.bigWig and BigBed_HomoSapien.bigbed from https://data.bioviz.org/smokeTestingQuickload/H_sapiens_Dec_2013/ Move the files into a folder that has a name with spaces and special characters, such as "test space folder []" Download installer or pull my branch ( IGBF-3670 -V10.0.1) Start IGB (Not required, but I would suggest disabling UCSC REST and DAS data sources as it will speed up loading the human genome) Go to the human genome (H_sapiens_Dec_2013) Navigate to chr1:86,545,393-86,582,438 Add the BigWig_HomoSapien.bigWig and BigBed_HomoSapien.bigbed files to IGB (can drag and drop or use File > Open File...) Click Load Data Check that data load for both files, and that there are no errors in the log. Test HTTPS files: Download installer or pull my branch ( IGBF-3670 -V10.0.1) Start IGB (Not required, but I would suggest disabling UCSC REST and DAS data sources as it will speed up loading the human genome) Go to the human genome (H_sapiens_Dec_2013) Navigate to chr1:86,545,393-86,582,438 Select File > Open URL... Copy and paste this bigBed URL Click OK Select File > Open URL... Copy and paste this bigWig URL Click OK Click Load Data Check that data load for both files, and that there are no errors in the log. Test HTTP files: Download installer or pull my branch ( IGBF-3670 -V10.0.1) Start IGB (Not required, but I would suggest disabling UCSC REST and DAS data sources as it will speed up loading the human genome) Go to the human genome (H_sapiens_Dec_2013) Navigate to chr1:86,545,393-86,582,438 Select File > Open URL... Copy and paste this bigBed URL Click OK Select File > Open URL... Copy and paste this bigWig URL Click OK Click Load Data Check that data load for both files, and that there are no errors in the log. Test Quickload: Download installer or pull my branch ( IGBF-3670 -V10.0.1) Start IGB (Not required, but I would suggest disabling UCSC REST and DAS data sources as it will speed up loading the human genome) Go to the human genome (H_sapiens_Dec_2013) Navigate to chr1:86,545,393-86,582,438 Add http://igbquickload.org/smokeTestingQuickload/ as a new quickload in the Data Sources tab of the IGB Preferences Select the BigBed and BigWig files in the Available Data window Click Load Data Check that data load for both files, and that there are no errors in the log.
            Hide
            kgopu Kaushik Gopu added a comment -
            • Tested different scenarios as described in the notes.
            • No issues found while testing. The logs are clean without any errors or exceptions.
            Show
            kgopu Kaushik Gopu added a comment - Tested different scenarios as described in the notes. No issues found while testing. The logs are clean without any errors or exceptions.
            Show
            nfreese Nowlan Freese added a comment - Pull request: https://bitbucket.org/lorainelab/integrated-genome-browser/pull-requests/1001
            Hide
            ann.loraine Ann Loraine added a comment - - edited

            PR is merged. Main branch installers are built and deployed to BioViz.org as "early access" IGB.

            Show
            ann.loraine Ann Loraine added a comment - - edited PR is merged. Main branch installers are built and deployed to BioViz.org as "early access" IGB.
            Hide
            nfreese Nowlan Freese added a comment - - edited

            Tested IGB main installer on Mac, Linux, and Windows. I was able to load a bigwig and bigbed file that were located in a folder with spaces in the name.

            Closing ticket.

            Show
            nfreese Nowlan Freese added a comment - - edited Tested IGB main installer on Mac, Linux, and Windows. I was able to load a bigwig and bigbed file that were located in a folder with spaces in the name. Closing ticket.

              People

              • Assignee:
                nfreese Nowlan Freese
                Reporter:
                nfreese Nowlan Freese
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: