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

Implement logic to load data for Psl file type

    Details

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

      Description

      Develop code to connect to this https://api.genome.ucsc.edu/getData/track?genome=hg19;track=xenoMrna;chrom=chrM API and load Data for PSL file type.

        Attachments

        1. allMis_JH738473_xenoMrna.psl
          3.48 MB
          Nowlan Freese
        2. Screenshot 2024-02-06 at 11.47.53 AM.png
          250 kB
          Jaya Sravani Sirigineedi
        3. Screenshot 2024-02-06 at 11.57.22 AM.png
          197 kB
          Jaya Sravani Sirigineedi
        4. Screenshot 2024-02-27 at 3.48.26 PM.png
          280 kB
          Jaya Sravani Sirigineedi

          Activity

          Hide
          jsirigin Jaya Sravani Sirigineedi (Inactive) added a comment -

          Code development is done for the PSL file type, while testing found out that the track name is changing to "Pairwise Alignment" debugging this issue now, but apart from that the data loading is being done correctly.

          Show
          jsirigin Jaya Sravani Sirigineedi (Inactive) added a comment - Code development is done for the PSL file type, while testing found out that the track name is changing to "Pairwise Alignment" debugging this issue now, but apart from that the data loading is being done correctly.
          Hide
          jsirigin Jaya Sravani Sirigineedi (Inactive) added a comment -

          Fixed the issue and tested, working as expected. Code is available at branch https://bitbucket.org/jaya-sravani/integrated-genome-browser/branch/IGBF-3501.
          To test:

          1. Download https://bitbucket.org/jaya-sravani/integrated-genome-browser/downloads/ installer or clone this branch to local https://bitbucket.org/jaya-sravani/integrated-genome-browser/branch/IGBF-3501 and start the application.
          2. Select a particular genome, preferably one that doesn't have data in IGB quick load.
          3. Select a PSL track (dataset) type.
          4. Click on the load data button either from the top right corner or in the data management table.
          Show
          jsirigin Jaya Sravani Sirigineedi (Inactive) added a comment - Fixed the issue and tested, working as expected. Code is available at branch https://bitbucket.org/jaya-sravani/integrated-genome-browser/branch/IGBF-3501 . To test: Download https://bitbucket.org/jaya-sravani/integrated-genome-browser/downloads/ installer or clone this branch to local https://bitbucket.org/jaya-sravani/integrated-genome-browser/branch/IGBF-3501 and start the application. Select a particular genome, preferably one that doesn't have data in IGB quick load. Select a PSL track (dataset) type. Click on the load data button either from the top right corner or in the data management table.
          Hide
          nfreese Nowlan Freese added a comment -

          Tested on mouse genome (mm39) on Mac using Sravani's installer.
          In IGB, navigate to chr1:60,380,220-60,429,457
          Load data from UCSC REST > mRNA
          Load data from IGB Quickload > mRNA
          The two files matched very closely, which is expected, as the IGB Quickload mRNA file was created from the UCSC Table Browser as a psl file (see IGBF-3330).
          The API call for the same data is: https://api.genome.ucsc.edu/getData/track?genome=mm39;track=all_mrna;chrom=chr1;start=60380220;end=60429457

          Closing ticket.

          Show
          nfreese Nowlan Freese added a comment - Tested on mouse genome (mm39) on Mac using Sravani's installer. In IGB, navigate to chr1:60,380,220-60,429,457 Load data from UCSC REST > mRNA Load data from IGB Quickload > mRNA The two files matched very closely, which is expected, as the IGB Quickload mRNA file was created from the UCSC Table Browser as a psl file (see IGBF-3330 ). The API call for the same data is: https://api.genome.ucsc.edu/getData/track?genome=mm39;track=all_mrna;chrom=chr1;start=60380220;end=60429457 Closing ticket.
          Hide
          jsirigin Jaya Sravani Sirigineedi (Inactive) added a comment - - edited

          Reopening the ticket, as while testing it again I found that a few strands are not displaying currently mostly in the negative area. Found one problem in the code, investigating how to solve it.

          Show
          jsirigin Jaya Sravani Sirigineedi (Inactive) added a comment - - edited Reopening the ticket, as while testing it again I found that a few strands are not displaying currently mostly in the negative area. Found one problem in the code, investigating how to solve it.
          Hide
          jsirigin Jaya Sravani Sirigineedi (Inactive) added a comment - - edited

          Fixed the issue by changing the logic of the calculation of the same orientation, blockSizes, qmins, and tmins by using the already existing function in the AbstractPSLParser class. Attached screenshots below to see he difference. also, code is available at https://bitbucket.org/jaya-sravani/integrated-genome-browser/branch/IGBF-3501.
          Before:

          After:

          Show
          jsirigin Jaya Sravani Sirigineedi (Inactive) added a comment - - edited Fixed the issue by changing the logic of the calculation of the same orientation, blockSizes, qmins, and tmins by using the already existing function in the AbstractPSLParser class. Attached screenshots below to see he difference. also, code is available at https://bitbucket.org/jaya-sravani/integrated-genome-browser/branch/IGBF-3501 . Before: After:
          Hide
          nfreese Nowlan Freese added a comment - - edited

          I compared the xenoMrna as loaded from UCSC Rest to the xenoMrna file I pulled from the UCSC table browser. The allMis_JH738473_xenoMrna.psl file should effectively be the same data as what is provided by UCSC Rest, and as far as I can tell they appear the same when loaded in IGB.

          See IGBF-3330 for instructions on creating a psl file from the UCSC Table Browser.

          Closing ticket.

          Show
          nfreese Nowlan Freese added a comment - - edited I compared the xenoMrna as loaded from UCSC Rest to the xenoMrna file I pulled from the UCSC table browser . The allMis_JH738473_xenoMrna.psl file should effectively be the same data as what is provided by UCSC Rest, and as far as I can tell they appear the same when loaded in IGB. See IGBF-3330 for instructions on creating a psl file from the UCSC Table Browser. Closing ticket.

            People

            • Assignee:
              jsirigin Jaya Sravani Sirigineedi (Inactive)
              Reporter:
              jsirigin Jaya Sravani Sirigineedi (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: