Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Story Points:2
-
Sprint:Sprint 1, Sprint 2
Description
I noticed this when working with files imported from Galaxy.
If I load a file from Galaxy and change the Load Mode to "Genome," then all the data are loaded into IGB, and if I click a new chromosome, I don't have to then click "Load Data" to see the data. And if I right-click a track label, I see an option to Save the track as a file. However, if I do that, only the data from the current loaded track are saved, even though I've loaded the entire genome.
It would be far, far better if all the data were saved to the file. Otherwise, I would have to click on each chromosome one by one and save the data as multiple files, one per chromosome. This is very tedious and painful and defeats the purpose of having such a nice feature.
Instead, what should happen is that everything the user has loaded into IGB for the selected track should be saved. If there are some file or track types where this is not feasible, then we can omit those, but for tracks loaded from BED, GFF, or GTF files, then we should save out ALL the data that the user has loaded.
By the way, this feature is extremely useful for converting GTF or GFF files to BED. To my knowledge, there is no really good, open source GFF or GTF to bed converter. And so I would LOVE it if we could provide this feature for users, especially now that we are making it very easy for users to run view output of CuffLinks via the Galaxy-to-IGB link.
Ideas for testing:
1) Load a BED file, change it to whole genome load mode, and the save it. Next, load it back into the viewer and make sure it looks the same.
2) Load a BED detail file and make sure it saves fields 13 and 14 correctly. Check that nothing gets truncated.
3) Load a GTF file and try to save it as BED format. You can GTF files from Galaxy. Look at output of CuffLinks.
4) Load a GTF file, load part of it on several different chromosomes, save it as BED, and then make sure that the load data got saved.
5) Make a new track from another track using track operations and then save the output. Make sure that all places where data were added to the new track get saved. Open the saved file and check that it looks right.