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

          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!
          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.
          Show
          sjagarap saideepthi jagarapu (Inactive) added a comment - PR https://bitbucket.org/lorainelab/integrated-genome-browser/pull-requests/1089
          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!
          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.

            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: