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

Include schema of UCSC data in the properties filed of the dataset.

    Details

    • Type: Task
    • Status: In Progress (View Workflow)
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Pass the schema of the UCSC data in the properties field while constructing the dataset. This enables developers to extract the schema/metadata of the data easily. This metadata can be used to provide rich set of Filter by/Color by options to IGB users. Structure the metadata in the same way as actual data, for example, [attribute 1, attribute 2, ..., props].

        Attachments

        1. Screenshot_1.png
          Screenshot_1.png
          211 kB
        2. Screenshot_2.png
          Screenshot_2.png
          64 kB
        3. Screenshot_3.png
          Screenshot_3.png
          118 kB
        4. Screenshot_4.png
          Screenshot_4.png
          72 kB

          Issue Links

            Activity

            Hide
            ann.loraine Ann Loraine added a comment -

            PR is now merged. Thank you Jaya Sravani Sirigineedi for letting me know you were waiting on this!

            Show
            ann.loraine Ann Loraine added a comment - PR is now merged. Thank you Jaya Sravani Sirigineedi for letting me know you were waiting on this!
            Hide
            nfreese Nowlan Freese added a comment -

            After discussion with Sravani, we have decided to attempt to only make the schema API call when a user selects a specific data set.

            For example, a user selects the galGal6 genome (no schema API calls are made). Then, under Available Data > UCSC REST (UCSC REST), when the user selects cpgIslandExt the schema API call is made for just cpgIslandExt.

            Show
            nfreese Nowlan Freese added a comment - After discussion with Sravani, we have decided to attempt to only make the schema API call when a user selects a specific data set. For example, a user selects the galGal6 genome (no schema API calls are made). Then, under Available Data > UCSC REST (UCSC REST), when the user selects cpgIslandExt the schema API call is made for just cpgIslandExt.
            Hide
            jsirigin Jaya Sravani Sirigineedi added a comment -

            Started investigating on where to add the integration of this schema API i.e., have to find what part of code is responsible for displaying the empty track when user clicks on the track checkbox under Available Data.

            Show
            jsirigin Jaya Sravani Sirigineedi added a comment - Started investigating on where to add the integration of this schema API i.e., have to find what part of code is responsible for displaying the empty track when user clicks on the track checkbox under Available Data.
            Hide
            jsirigin Jaya Sravani Sirigineedi added a comment -

            When the user clicks on the track checkbox under Available Data, the addFeatureTier method in GeneralLoadUtils is being called which uses the addEmptyTierFor method from TrackView class to display both the forward and reverse empty tracks. Code can be added here to get the schema for the selected track as the Dataset is available in the method. But the only problem is right now in Kaushik Gopu implementation he is getting tracks from the DataProvider again, this might override the featureProps and assign it to null, have to chack whether the same dataset can be used in his implementation as this is saved in a ITrackStyleExtended instance as well.

            Show
            jsirigin Jaya Sravani Sirigineedi added a comment - When the user clicks on the track checkbox under Available Data, the addFeatureTier method in GeneralLoadUtils is being called which uses the addEmptyTierFor method from TrackView class to display both the forward and reverse empty tracks. Code can be added here to get the schema for the selected track as the Dataset is available in the method. But the only problem is right now in Kaushik Gopu implementation he is getting tracks from the DataProvider again, this might override the featureProps and assign it to null, have to chack whether the same dataset can be used in his implementation as this is saved in a ITrackStyleExtended instance as well.
            Hide
            jsirigin Jaya Sravani Sirigineedi added a comment -

            Had a discussion with Kaushik Gopu and we think the above approach might work, implementing it right now. Will update here once it's tested.

            Show
            jsirigin Jaya Sravani Sirigineedi added a comment - Had a discussion with Kaushik Gopu and we think the above approach might work, implementing it right now. Will update here once it's tested.

              People

              • Assignee:
                jsirigin Jaya Sravani Sirigineedi
                Reporter:
                kgopu Kaushik Gopu
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: