Details
-
Type: Bug
-
Status: To-Do (View Workflow)
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Story Points:3
-
Epic Link:
-
Sprint:Spring 3 : 3 Feb to 14 Feb, Spring 3 : 17 Feb to 28 Feb
Description
Situation: If a bedgraph file has the name option within the track definition line at the top of the file, IGB overrides style changes such as color when data are loaded.
For example, open the attached file (BedGraph_HomoSapien_name.bedGraph) in IGB, but do not click Load Data. Change the foreground/background color of the file in the Data Access tab. Click Load Data. Note that the foreground/background color revert to their default colors (blue/white). Now do the same thing for the BedGraph_HomoSapien_noName.bedGraph file.
Hypothesis: When the file is added to IGB, the file itself is not read. IGB sets the style for the file with the key being the file name. When load data is clicked, IGB reads the file and sees the name option in the track definition line. IGB uses this name as a new identifier. IGB then searches for styles associated with this file using the new identifier and finds none. It then uses the default style.
Task: Fix the issue so that a bedgraph file with a name option does not override user selected color options upon clicking Load Data.
Note: This is important for the CyVerse/BioViz Connect project.
Attachments
Issue Links
- relates to
-
IGBF-1933 Investigate: Data data set name for bw (bigwig) files
- Closed
Important files:
Bedgraph files are parsed using Wiggle.java. Within the method createGraphSyms there is logic for setting the graph_id and graph_name.
Set a breakpoint within IGBStateProvider.java in the getAnnotStyle method to see whether the style has been overwritten by default values.