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.
Attachments
Activity
| Field | Original Value | New Value |
|---|---|---|
| Epic Link | IGBF-1765 [ 17855 ] |
| Status | To-Do [ 10305 ] | In Progress [ 3 ] |
| Status | In Progress [ 3 ] | Needs 1st Level Review [ 10005 ] |
| Status | Needs 1st Level Review [ 10005 ] | First Level Review in Progress [ 10301 ] |
| Status | First Level Review in Progress [ 10301 ] | Needs 1st Level Review [ 10005 ] |
| Status | Needs 1st Level Review [ 10005 ] | First Level Review in Progress [ 10301 ] |
| Status | First Level Review in Progress [ 10301 ] | Ready for Pull Request [ 10304 ] |
| Status | Ready for Pull Request [ 10304 ] | Pull Request Submitted [ 10101 ] |
| Assignee | saideepthi jagarapu [ sjagarap ] |
| Status | Pull Request Submitted [ 10101 ] | Reviewing Pull Request [ 10303 ] |
| Assignee | Ann Loraine [ aloraine ] |
| Assignee | Ann Loraine [ aloraine ] |
| Status | Reviewing Pull Request [ 10303 ] | Merged Needs Testing [ 10002 ] |
| Assignee | Paige Kulzer [ pkulzer ] |
| Status | Merged Needs Testing [ 10002 ] | Post-merge Testing In Progress [ 10003 ] |
| Resolution | Done [ 10000 ] | |
| Status | Post-merge Testing In Progress [ 10003 ] | Closed [ 6 ] |
| Assignee | Paige Kulzer [ pkulzer ] | saideepthi jagarapu [ sjagarap ] |
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.