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

            ann.loraine Ann Loraine created issue -
            ann.loraine Ann Loraine made changes -
            Field Original Value New Value
            Sprint B - Summer 2018 [ 48 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Summary investigate whether investigate why REST API parameter not respected
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Story Points 0.5
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Summary investigate why REST API parameter not respected REST API parameter sym_name not respected
            kkorey Kiran Korey (Inactive) made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            kkorey Kiran Korey (Inactive) made changes -
            Status In Progress [ 3 ] Open [ 1 ]
            kkorey Kiran Korey (Inactive) made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            ann.loraine Ann Loraine made changes -
            Attachment test.html [ 14101 ]
            kkorey Kiran Korey (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint B - Summer 2018 [ 48 ] B - Summer 2018, Summer 2018 Part 2 [ 48, 49 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Link This issue relates to IGBF-1353 [ IGBF-1353 ]
            kkorey Kiran Korey (Inactive) made changes -
            Fix Version/s 9.0.2 [ 10600 ]
            kkorey Kiran Korey (Inactive) made changes -
            Assignee Kiran Korey [ kkorey ]
            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            Status Needs 1st Level Review [ 10005 ] In Progress [ 3 ]
            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            ieclabau Ivory Blakley (Inactive) made changes -
            Assignee Ivory Blakley [ ieclabau ]
            ieclabau Ivory Blakley (Inactive) made changes -
            Status Needs 1st Level Review [ 10005 ] Reviewing [ 10301 ]
            ieclabau Ivory Blakley (Inactive) made changes -
            Assignee Ivory Blakley [ ieclabau ] Kiran Korey [ kkorey ]
            ieclabau Ivory Blakley (Inactive) made changes -
            Status Reviewing [ 10301 ] Open [ 1 ]
            kkorey Kiran Korey (Inactive) made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            kkorey Kiran Korey (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            kkorey Kiran Korey (Inactive) made changes -
            Assignee Kiran Korey [ kkorey ]
            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            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 IBG with FOOBARBAZ as the track label.

            This should be fixed so that IGB respects the given parameters.
            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.
            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            Status Needs 1st Level Review [ 10005 ] Reviewing [ 10301 ]
            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            Assignee Sneha Ramesh Watharkar [ jdaly ]
            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            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.
            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_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.
            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            Assignee Sneha Ramesh Watharkar [ jdaly ] Kiran Korey [ kkorey ]
            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            Status Reviewing [ 10301 ] Open [ 1 ]
            kkorey Kiran Korey (Inactive) made changes -
            Assignee Kiran Korey [ kkorey ] Sneha Ramesh Watharkar [ jdaly ]
            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            Status Open [ 1 ] Needs 1st Level Review [ 10005 ]
            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            Status Needs 1st Level Review [ 10005 ] Reviewing [ 10301 ]
            kkorey Kiran Korey (Inactive) made changes -
            Status Reviewing [ 10301 ] Needs 1st Level Review [ 10005 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint B - Summer 2018, Summer 2018 Part 2 [ 48, 49 ] B - Summer 2018, Summer 2018 Part 2, Summer 2018 Part 3 [ 48, 49, 50 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            Status Needs 1st Level Review [ 10005 ] Reviewing [ 10301 ]
            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            Status Reviewing [ 10301 ] Open [ 1 ]
            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            Assignee Sneha Ramesh Watharkar [ jdaly ] Kiran Korey [ kkorey ]
            kkorey Kiran Korey (Inactive) made changes -
            Assignee Kiran Korey [ kkorey ] Sneha Ramesh Watharkar [ jdaly ]
            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            Status Open [ 1 ] Reviewing [ 10301 ]
            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            Status Reviewing [ 10301 ] Ready for Pull Request [ 10304 ]
            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            Status Ready for Pull Request [ 10304 ] Reviewing [ 10301 ]
            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            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_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.
            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.
            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            Status Reviewing [ 10301 ] Ready for Pull Request [ 10304 ]
            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            Assignee Sneha Ramesh Watharkar [ jdaly ] Kiran Korey [ kkorey ]
            kkorey Kiran Korey (Inactive) made changes -
            Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
            ann.loraine Ann Loraine made changes -
            Status Pull Request Submitted [ 10101 ] Needs Testing [ 10002 ]
            kkorey Kiran Korey (Inactive) made changes -
            Assignee Kiran Korey [ kkorey ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint B - Summer 2018, Summer 2018 Part 2, Summer 2018 Part 3 [ 48, 49, 50 ] B - Summer 2018, Summer 2018 Part 2, Summer 2018 Part 3, Fall 2018 1 [ 48, 49, 50, 51 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked lower
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint B - Summer 2018, Summer 2018 Part 2, Summer 2018 Part 3, Fall 2018 1 [ 48, 49, 50, 51 ] B - Summer 2018, Summer 2018 Part 2, Summer 2018 Part 3, Fall 2018 1, Fall 2018 Sprint 2 [ 48, 49, 50, 51, 52 ]
            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            Attachment Error1287Jira.PNG [ 14150 ]
            sneha Sneha Ramesh Watharkar (Inactive) made changes -
            Assignee Kiran Korey [ kkorey ]
            ieclabau Ivory Blakley (Inactive) made changes -
            Assignee Kiran Korey [ kkorey ] Ivory Blakley [ ieclabau ]
            ieclabau Ivory Blakley (Inactive) made changes -
            Status Needs Testing [ 10002 ] Testing In Progress [ 10003 ]
            ieclabau Ivory Blakley (Inactive) made changes -
            Status Testing In Progress [ 10003 ] Open [ 1 ]
            ieclabau Ivory Blakley (Inactive) made changes -
            Assignee Ivory Blakley [ ieclabau ] Kiran Korey [ kkorey ]
            kkorey Kiran Korey (Inactive) made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            kkorey Kiran Korey (Inactive) made changes -
            Status In Progress [ 3 ] Needs Testing [ 10002 ]
            kkorey Kiran Korey (Inactive) made changes -
            Assignee Kiran Korey [ kkorey ]
            ann.loraine Ann Loraine made changes -
            Comment [ When testing this issue on master,
            I noticed that the track name is not same as sym_name!
            It is displaying a long string and not the string value passed as sym_name.
            Steps followed.
            Running IGB on latest master.
            Clicking links in the issue description. IGB app opens the data set with some long string as track name.
            Attaching the screen shot for reference.
            Assigning it to [~kkorey] to check it once on master to verify this behaviour. ]
            ann.loraine Ann Loraine made changes -
            Comment [ I think one of the other commits or the merge process has caused this issue, need to investigate more.
            ]
            ann.loraine Ann Loraine made changes -
            ann.loraine Ann Loraine made changes -
            Comment [ See:

            BookmarkUnibrowControlServlet. It uses loadFromFile to trigger loading of a data set hosted on Galaxy or BAR into IGB.

            * To start, it moves IGB view to requested seq_id, start, and end if provided in the REST URL.
            * Next, it checks whether server_url parameter matches a loaded data provider.
            * If not, it invokes loadFromURL.

            Note:

            If server_url is absent, new track is not loaded. ]
            ieclabau Ivory Blakley (Inactive) made changes -
            Status Needs Testing [ 10002 ] Testing In Progress [ 10003 ]
            ieclabau Ivory Blakley (Inactive) made changes -
            Assignee Ivory Blakley [ ieclabau ]
            ieclabau Ivory Blakley (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status Testing In Progress [ 10003 ] Closed [ 6 ]
            ieclabau Ivory Blakley (Inactive) made changes -
            Assignee Ivory Blakley [ ieclabau ] Kiran Korey [ kkorey ]
            ann.loraine Ann Loraine made changes -
            Fix Version/s 9.0.2 Minor Release [ 10600 ]
            Labels Advanced
            ann.loraine Ann Loraine made changes -
            Fix Version/s 9.0.2 Minor Release [ 10600 ]
            ann.loraine Ann Loraine made changes -
            Workflow Loraine Lab Workflow [ 17978 ] Fall 2019 Workflow Update [ 19878 ]
            ann.loraine Ann Loraine made changes -
            Workflow Fall 2019 Workflow Update [ 19878 ] Revised Fall 2019 Workflow Update [ 21997 ]

              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: