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

Investigate copied bam track cannot use find junctions

    Details

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

      Description

      Situation: When copying a BAM track the copied track is missing several Track Operations options, including Find Junctions.

      Task: Investigate why Track Operations > Find Junctions is missing from a copied BAM track.

      To reproduce:

      1. Open the hg38 human genome (H_sapiens_Dec_2013)
      2. Go to chr16:28,931,601-28,939,711
      3. Select File > Open URL...
      4. Paste the following URL and click OK - https://quickload-testing.s3.amazonaws.com/smokeTestingQuickload/H_sapiens_Dec_2013/Bam/BAM_hg38_10k_PBMC_CD19.bam
      5. Click Load Data
      6. Right-click on the track label and select Track Operations > Copy
        1. A new track should be created that is a copy of the original track
      7. Click Load Data
      8. Right-click on the track label of the new Copy track and select Track Operations - Note that Find Junctions and Find Junctions (TopHat) are missing.

        Attachments

          Activity

          nfreese Nowlan Freese created issue -
          nfreese Nowlan Freese made changes -
          Field Original Value New Value
          Epic Link IGBF-1765 [ 17855 ]
          nfreese Nowlan Freese made changes -
          Status To-Do [ 10305 ] In Progress [ 3 ]
          Hide
          sjagarap saideepthi jagarapu (Inactive) added a comment - - edited

          Branch code changes: https://bitbucket.org/lorainelab-deepthi/integrated-genome-browser/branch/IGBF-4373

          Created CopyAlignmentOperator.operate() to preserve the original track's ext when creating the copy. It uses reflection to read the private ext from the source TypeContainerAnnot (defaulting to "bam" if unavailable), then creates the copy with new TypeContainerAnnot(t.getType(), ext, false) instead of new TypeContainerAnnot(t.getType()) used CopyXOperator.java file as reference. This ensures the copied track maintains FileTypeCategory.Alignment instead of defaulting to Annotation, so alignment-specific operations like "Find Junctions" remain available in the Track Operations menu.

          Show
          sjagarap saideepthi jagarapu (Inactive) added a comment - - edited Branch code changes: https://bitbucket.org/lorainelab-deepthi/integrated-genome-browser/branch/IGBF-4373 Created CopyAlignmentOperator.operate() to preserve the original track's ext when creating the copy. It uses reflection to read the private ext from the source TypeContainerAnnot (defaulting to "bam" if unavailable), then creates the copy with new TypeContainerAnnot(t.getType(), ext, false) instead of new TypeContainerAnnot(t.getType()) used CopyXOperator.java file as reference. This ensures the copied track maintains FileTypeCategory.Alignment instead of defaulting to Annotation, so alignment-specific operations like "Find Junctions" remain available in the Track Operations menu.
          Hide
          pkulzer Paige Kulzer added a comment -

          Tested with Dr. Freese, FindJunctions is now able to be used on copied BAM tracks. No errors in the Log.

          Recommending PR!

          Show
          pkulzer Paige Kulzer added a comment - Tested with Dr. Freese, FindJunctions is now able to be used on copied BAM tracks. No errors in the Log. Recommending PR!
          pkulzer Paige Kulzer made changes -
          Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
          pkulzer Paige Kulzer made changes -
          Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
          pkulzer Paige Kulzer made changes -
          Status First Level Review in Progress [ 10301 ] Needs 1st Level Review [ 10005 ]
          pkulzer Paige Kulzer made changes -
          Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
          pkulzer Paige Kulzer made changes -
          Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
          Show
          sjagarap saideepthi jagarapu (Inactive) added a comment - PR https://bitbucket.org/lorainelab/integrated-genome-browser/pull-requests/1089
          sjagarap saideepthi jagarapu (Inactive) made changes -
          Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
          sjagarap saideepthi jagarapu (Inactive) made changes -
          Assignee saideepthi jagarapu [ sjagarap ]
          Hide
          ann.loraine Ann Loraine added a comment - - edited

          PR is merged. Installers built and deployed to bioviz.org. Ready for testing.

          Show
          ann.loraine Ann Loraine added a comment - - edited PR is merged. Installers built and deployed to bioviz.org. Ready for testing.
          ann.loraine Ann Loraine made changes -
          Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
          ann.loraine Ann Loraine made changes -
          Assignee Ann Loraine [ aloraine ]
          ann.loraine Ann Loraine made changes -
          Assignee Ann Loraine [ aloraine ]
          ann.loraine Ann Loraine made changes -
          Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
          pkulzer Paige Kulzer made changes -
          Assignee Paige Kulzer [ pkulzer ]
          pkulzer Paige Kulzer made changes -
          Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
          Hide
          pkulzer Paige Kulzer added a comment -

          FindJunctions is now an option for both BAM and copied BAM tracks. Creating multiple copied tracks and multiple FindJunctions tracks does not cause any issues. I can apply filters and other settings to these tracks as expected. No errors in the Log.

          At one point, I ran into an issue during testing where the Lock/Unlock Track Height option was greyed out incorrectly but I am unable to reproduce this issue and I'm not sure what originally called it.

          Closing this ticket!

          Show
          pkulzer Paige Kulzer added a comment - FindJunctions is now an option for both BAM and copied BAM tracks. Creating multiple copied tracks and multiple FindJunctions tracks does not cause any issues. I can apply filters and other settings to these tracks as expected. No errors in the Log. At one point, I ran into an issue during testing where the Lock/Unlock Track Height option was greyed out incorrectly but I am unable to reproduce this issue and I'm not sure what originally called it. Closing this ticket!
          pkulzer Paige Kulzer made changes -
          Resolution Done [ 10000 ]
          Status Post-merge Testing In Progress [ 10003 ] Closed [ 6 ]
          pkulzer Paige Kulzer made changes -
          Assignee Paige Kulzer [ pkulzer ] saideepthi jagarapu [ sjagarap ]

            People

            • Assignee:
              sjagarap saideepthi jagarapu (Inactive)
              Reporter:
              nfreese Nowlan Freese
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: