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

REST API parameter sym_name not respected

    Details

    • Story Points:
      0.5
    • Sprint:
      B - Summer 2018, Summer 2018 Part 2, Summer 2018 Part 3, Fall 2018 1, Fall 2018 Sprint 2

      Description

      IGB has a REST API that allows users to control the application. We are using this to enable users to load data from external servers by clicking links that then get forwarded to a JavaScript "bridge" program running on BioViz.org.

      For example, here is a link from the BAR Web site. Note that it refers to a Web page on BioViz that contains JavaScript code that then tries to open a link on localhost, where IGB is running. IGB contains a build-in Web server that listens on a port for requests.

      http://bioviz.org/bar.html?version=Arabidopsis_thaliana_TAIR10&feature_url_0=http://s3.amazonaws.com/iplant-cdn/iplant/home/araport/rnaseq_bam/aerial/ERR274310/accepted_hits.bam&sym_name_0=accepted_hits.bam&sym_method_0=http://s3.amazonaws.com/iplant-cdn/iplant/home/araport/rnaseq_bam/aerial/ERR274310/accepted_hits.bam&query_url=http://s3.amazonaws.com/iplant-cdn/iplant/home/araport/rnaseq_bam/aerial/ERR274310/accepted_hits.bam&server_url=bar

      Note that the "sym_name" parameter is supposed to specify track label.

      However, it does not appear to be working correctly.

      For example,

      http://bioviz.org/bar.html?version=Arabidopsis_thaliana_TAIR10&feature_url_0=http://s3.amazonaws.com/iplant-cdn/iplant/home/araport/rnaseq_bam/aerial/ERR274310/accepted_hits.bam&sym_name_0=FOOBARBAZ&sym_method_0=http://s3.amazonaws.com/iplant-cdn/iplant/home/araport/rnaseq_bam/aerial/ERR274310/accepted_hits.bam&query_url=http://s3.amazonaws.com/iplant-cdn/iplant/home/araport/rnaseq_bam/aerial/ERR274310/accepted_hits.bam&server_url=bar

      Should result in a new track appearing in IGB with FOOBARBAZ as the track label.

      This should be fixed so that IGB respects the given parameters.

        Attachments

          Issue Links

            Activity

            No work has yet been logged on this issue.

              People

              • Assignee:
                kkorey Kiran Korey (Inactive)
                Reporter:
                ann.loraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: