Details
-
Type:
Task
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Story Points:1
-
Epic Link:
-
Sprint:Fall 9
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:
- Open the hg38 human genome (H_sapiens_Dec_2013)
- Go to chr16:28,931,601-28,939,711
- Select File > Open URL...
- 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
- Click Load Data
- Right-click on the track label and select Track Operations > Copy
- A new track should be created that is a copy of the original track
- Click Load Data
- 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.
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.