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

index attribute for file tag in annots.xml

    Details

      Description

      Cloud storage providers like Dropbox typically make it possible for users to create links to files and then share the links. However, paths exposed in links don't correspond to physical storage, which means that IGB can't make assumptions about the location of index files for BAM, tabix, or other indexed, random access formats.

      Let's add a new optional attribute ("index") to the QuickLoad "file" tag where "index" indicates the location of the index file. Same rules about defining file locations should apply.

        Attachments

          Issue Links

            Activity

            Show
            jeckstein John Eckstein (Inactive) added a comment - http://test.bioviz.org/quickload/
            Show
            jeckstein John Eckstein (Inactive) added a comment - http://test.bioviz.org/quickload/A_thaliana_Jun_2009/annots.xml
            Hide
            mason Mason Meyer (Inactive) added a comment - - edited

            Testing for this issue included:

            -Verifying that annots.xml files with an index tag use the index in the specified location (verified on Mac and Windows).
            -Verifying that the index file specified in the index tag overrides any index file in the folder with the file needing indexing.
            -I removed the index attribute for bam files to verify that the bam would not load.
            -I tested loading of bam files with an index file in the same directory and with an index file specified in the annots.xml to test differences and see which one gets used if both are present (annots.xml overrides an index in same directory).

            Show
            mason Mason Meyer (Inactive) added a comment - - edited Testing for this issue included: -Verifying that annots.xml files with an index tag use the index in the specified location (verified on Mac and Windows). -Verifying that the index file specified in the index tag overrides any index file in the folder with the file needing indexing. -I removed the index attribute for bam files to verify that the bam would not load. -I tested loading of bam files with an index file in the same directory and with an index file specified in the annots.xml to test differences and see which one gets used if both are present (annots.xml overrides an index in same directory).
            Hide
            mason Mason Meyer (Inactive) added a comment - - edited

            While testing I noticed that the index attribute in the annots.xml file is being ignored for local Quickloads.

            We should look into this to see if this can be fixed for local Quickloads.

            Reassigning to John to take a look at this issue.

            Show
            mason Mason Meyer (Inactive) added a comment - - edited While testing I noticed that the index attribute in the annots.xml file is being ignored for local Quickloads. We should look into this to see if this can be fixed for local Quickloads. Reassigning to John to take a look at this issue.
            Hide
            ann.loraine Ann Loraine added a comment -

            Yes, we definitely will want to fix this, as people might think they can put indexes in other places besides the same directory as the target (indexed) file.

            Show
            ann.loraine Ann Loraine added a comment - Yes, we definitely will want to fix this, as people might think they can put indexes in other places besides the same directory as the target (indexed) file.
            Hide
            mason Mason Meyer (Inactive) added a comment -

            Testing for this issue included:

            -Verifying that annots.xml files with an index tag use the index in the specified location (verified on Mac and Windows).
            -Verifying that the index file specified in the index tag overrides any index file in the folder with the file needing indexing.
            -I removed the index attribute for bam files to verify that the bam would not load.
            -I tested loading of bam files with an index file in the same directory and with an index file specified in the annots.xml to test differences and see which one gets used if both are present (annots.xml overrides an index in same directory).
            -Verifying that the index attribute in the annots.xml for local Quickloads is not being ignored.
            Since this story is resolved it will now be closed.

            Show
            mason Mason Meyer (Inactive) added a comment - Testing for this issue included: -Verifying that annots.xml files with an index tag use the index in the specified location (verified on Mac and Windows). -Verifying that the index file specified in the index tag overrides any index file in the folder with the file needing indexing. -I removed the index attribute for bam files to verify that the bam would not load. -I tested loading of bam files with an index file in the same directory and with an index file specified in the annots.xml to test differences and see which one gets used if both are present (annots.xml overrides an index in same directory). -Verifying that the index attribute in the annots.xml for local Quickloads is not being ignored. Since this story is resolved it will now be closed.
            Hide
            ann.loraine Ann Loraine added a comment -

            This comment sounds wrong:

            "I removed the index attribute for bam files to verify that the bam would not load."

            If you remove the index attribute, then the file should STILL load if the index is in the same directory as the BAM file.

            The index attribute is optional, not required. If the index file attribute is not present in the annots.xml file, then IGB should attempt to retrieve the index file from the same directory (context root) where the BAM file is located.

            Show
            ann.loraine Ann Loraine added a comment - This comment sounds wrong: "I removed the index attribute for bam files to verify that the bam would not load." If you remove the index attribute, then the file should STILL load if the index is in the same directory as the BAM file. The index attribute is optional, not required. If the index file attribute is not present in the annots.xml file, then IGB should attempt to retrieve the index file from the same directory (context root) where the BAM file is located.

              People

              • Assignee:
                mason Mason Meyer (Inactive)
                Reporter:
                ann.loraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: