Commit Graph
319 Commits
Author SHA1 Message Date
James Taylor 287dddc06f Fixing jslint problems 2011-01-29 21:13:25 -05:00
James Taylor 761734318f Update to jquery.event.[drag|drop] 2.0, fix panels, workflow editory, and trackster for compatibility 2011-01-29 20:51:55 -05:00
Jeremy Goecks 52b908e808 Fix bugs from changesets b242befbcd1f and e58f1dc1f5ee: (a) provide default value for is_child attribute for backward compatibility; and (b) check whether dataset has data on a chromosome when initializing. 2011-01-27 18:30:47 -05:00
Jeremy Goecks 206bbf51c2 Trackster: add support for child tracks. Each track in a view can now have child tracks; child tracks have a different icon and are themselves draggable and sortable amongst each other. However, child tracks follow parents when parents are sorted/dragged. Child tracks are used for nicely displaying tracks generated by visual analytics framework.
Also better handling of tool execution errors when doing visual analytics.
2011-01-27 12:59:21 -05:00
Kanwei Li ed947c6032 trackster: Display ready message after data is checked to be indexed; small bugfix 2011-01-27 01:28:20 -05:00
Jeremy Goecks c63bc7cf1b Trackster: (a) fix cigar parsing bug that prevented sequence data from being displayed correctly; (b) extend cigar parsing to handle all operations; (c) UI hints for zooming out/in. 2011-01-24 16:40:20 -05:00
Jeremy Goecks f13b3beaf2 Improve data fetching and caching in trackster. Detailed data is now reused when possible and initialization sequence is simplified and unneeded data requests are removed. 2011-01-24 14:49:28 -05:00
Dannon Baker 89be044152 Workflows containing tools that are not loaded will now open in the editor instead of failing on the dictionary lookup.
The offending nodes are marked as having an error state, and the workflow cannot be saved.
This will enable users to at least look at and try to recover a workflow by removing (and potentially replacing) the offending steps, as well as providing a better view of what's actually wrong with the workflow.
2011-01-21 15:50:21 -05:00
Jeremy Goecks 13c2f73f34 Trackster improvements: (a) track name uses config data rather than dataset name; (b) track ids are encoded; (c) dashed lines to connect paired reads (solid lines denote skipped bases in reads). 2011-01-20 19:10:33 -05:00
Jeremy Goecks a0d252acb0 Trackster: fixed bugs and refactored code to better support BAM visualization. Bugs fixed: (a) multi-mapping reads now display correctly; (b) no_detail display for interval index works; and (c) paired reads now have independent CIGAR strings. Also, BAI payload now mirrors interval_index payload so that both datatypes can be handled in the same code. 2011-01-18 15:54:13 -05:00
Jeremy Goecks 33aa20daf3 Fix type in 4858:459a8b52dc90. 2011-01-17 11:05:59 -05:00
Jeremy Goecks 70eb8c4131 Fix bug in 4856:3b741c9cd4e7 so that data is displayed correctly when clicking on the view icon. 2011-01-17 09:08:17 -05:00
Jeremy Goecks f141710463 Show Galaxy masthead as often as possible using the following approaches: (a) when the galaxy_main frame is not present, all links targeting the galaxy_main frame include the parameter and value 'use_panels=True'; (b) logout links target galaxy_main rather than _top; and (c) enable custom dbkeys page is work with and without frames. Also enable 'Saved Histories' grid to work outside of galaxy_main panel.
Important: these changes only guarantee that use_panels is appended to page requests when necessary. It does not guarantee that controller methods work with use_panels or that methods behave correctly with and without panels.
2011-01-16 15:48:58 -05:00
Jeremy Goecks 41f937d166 Cleanup from changeset 4815:761738c53c8f: (1) fix bug that was loading jquery twice and hence causing problems; and (2) move setting of modal's min-width from init function into modal code itself. 2011-01-10 11:21:08 -05:00
Jeremy Goecks e490ab0c38 Trackster: fix bug that prevented 'Dense' mode from working. Also tweaked BAM density display, performed some refactoring, and added some documention. 2011-01-06 23:36:30 -05:00
Jeremy Goecks 76b8710677 Enhancements to visual analytics: (1) refactoring of tracks controller to enable more efficient dataset indexing and reuse of code; (2) new features in track browser: custom wait times, programmatic track renaming, strict synchronization b/t slider and parameter values, and labeling for tracking parameter values. 2011-01-06 12:12:43 -05:00
Jeremy Goecks 06d7ba44a4 Visual analytics: enable users to click on and type in values for tool parameters. 2010-12-22 16:11:58 -05:00
Jeremy Goecks 3e98171846 Speed and usability improvements for visual analytics. New track now appears immediately when user runs tool, and track data is pulled directly from file to avoid indexing delay. 2010-12-21 13:23:18 -05:00
Dannon Baker fb30a7db55 Fixed the javascript error on workflow saving introduced by the workflow parameter display. 2010-12-15 20:38:40 -05:00
Dannon Baker c8e438f6d0 Repacked galaxy.workflow_editor.canvas.js. 2010-12-15 13:10:57 -05:00
Dannon Baker 4a92ae2b29 Primitive workflow parameter display. Doesn't do anything yet, but it gives a simple overview of what parameters have been used.
Fixed divide by zero that I introduced with the new color generation.  D'oh.
2010-12-14 13:11:08 -05:00
Kanwei Li 5962f0ab2e trackster: Add bigWig display to trackster. Automatically converts wig to bigwig if needed (NOTE: datatypes_conf.xml.sample has been edited to add the new converter, you must update datatypes_conf.xml to use it). The converter requires that wigToBigWig be in the PATH, but no other tools are needed to view bigwig files as they are provided by bx_python.
- Fix track preferences not being applied
- Fix chroms not being selectable when a new track browser is created
- Fix ReferenceTrack not working with filters
- Fix visual analytics error when tool configuration has changed
2010-12-10 14:59:43 -05:00
Jeremy Goecks 59bc7f7669 Add dynamically-generated tracks to trackster as child tracks; this enables comparison between original track and track generated from running a tool on a subset of original track's data. Child tracks are not currently saved, however. Also added many comments to trackster code and refactored tools and filters out of Track class and into TiledTrack class. 2010-12-06 15:26:38 -05:00
Greg Von Kuster 51e9ae9296 Add a sequencer emulator webapp for demonstration purposes. 2010-12-03 11:43:08 -05:00
Jeremy Goecks c1b0c1e27e Add basic visual analytics framework to Galaxy/trackster. When viewing a dataset in trackster, a user can adjust parameters and rerun the tool used to create the dataset and view the new, corresponding dataset in trackster.
Basic steps are:

-create subset of input data
-run tool with input data subset
-convert new output for display in trackster
-display in trackster

Although framework is applicable to any tool, only cufflinks wrapper has been augmented to work in visual analytics framework. Specifically, min and max values have been added to cufflinks' numerical parameters.

Currently, when a tool is run in trackster, all of a tool's input and output datasets are associated with the original dataset's history, though they are hidden.

Enhancements that were made to support visual analytics include:
-add UI for setting tool parameters in trackster;
-add tool_data method to trackster controller that reruns a tool and produce;
-refactoring of GFFReaderWrapper code for efficiency;
-enabling a tool's output datasets to be directed to a particular history rather than only the current history;
-optional 'min' and 'max' attributes for tool integer and float parameters;
-enable trackster data providers to write a region of data--defined by chrom, start, and end--to a file;
-styles for tool parameters and dynamic filters.
2010-12-02 10:32:55 -05:00
Kanwei Li 5db2483fdb Make tool_search always the top option even after toggle. Extend make_popup_menus() to create 'label' elements when no href is specified. Added download link for original dataset when there is a dropdown for the download. Call make_popup_menus() when loading embedded items in pages. 2010-11-18 19:42:14 -05:00
Kanwei Li cd44249bd5 Explicitly convert autocomplete dropdown values on refresh_on_change 2010-11-18 15:25:25 -05:00
Kanwei Li 3ff65d03b6 Don't 'use strict' as FF4 beta doesn't support it 2010-11-16 16:58:08 -05:00
Kanwei Li 7fc83886e4 trackster: Fix error on saving when no chrom is currently viewed due to new saving of current viewport. Remove debug statements 2010-11-15 14:39:16 -05:00
Kanwei Li 48f582c3c4 trackster: Make navbar more compact; line things up properly. Fix ReferenceTrack adding extra space to top LabelTrack 2010-11-14 17:53:25 -05:00
James Taylor 87e426f400 Trackster: packed scripts, support LEN files that are space separated 2010-11-10 13:43:16 -05:00
James Taylor bb665f6b5e Trackster: save current viewport when saving viz 2010-11-07 17:31:07 -05:00
James Taylor 81b8472a87 Trackster UI tweaks, mainly moving the navigation to the top, still needs to be compressed and cleaned up. Also, getting borders and spacing a little more even. Some intial keyboard navigation 2010-11-07 15:56:53 -05:00
Ramkrishna Chakrabarty 45c6515b8b sample tracking
- new file browser for selecting datasets in the sequencer
2010-11-03 01:02:27 -04:00
Kanwei Li 6fd59bd382 No longer pre-generate menus on page load for popup-style menus. Instead, create menu dynamically when needed, greatly improving load time especially on data libraries with large number of potential menus.
Remove the creation of a background element that closes the active menu clicked. Instead, bind an event to close active menus to the document object of current and all other framesets. Tested in IE.

Update Tool Search/Recently Used code to reflect new changes.

Made some small tweaks to pass JSlint
2010-11-02 21:45:18 -04:00
Kanwei Li 6c79a5d8b4 trackster: Fix summary_tree data provider to reflect bottom level not being indexed anymore.
- Fix a bug causing no display modes to appear.
- Update "Visualize in Trackster" init code in root/history.mako

Fix small typo in root/tool_menu.mako
2010-11-02 21:35:35 -04:00
Dannon Baker 9e01737db3 Packing editor.
Tweak to reload.
2010-11-01 17:21:47 -04:00
Dannon Baker db8e1c8954 Cleanup of debug info. 2010-11-01 17:09:35 -04:00
Dannon Baker 5f3b33fff5 Shift management of the interaction between workflow outputs and HideDatasetActions to the front end editor.
This resolves the issue with multiple HideDatasetActions being created.
Existing workflows displaying multiple HideDatasetActions per step on the Run Workflow screen will persist.
These extra HideDatasetActions are harmless, but a simple edit workflow -> save will remove them.
2010-11-01 17:08:50 -04:00
Daniel Blankenberg ce7e2d3be9 Fix for refresh_on_change javascript. 2010-10-27 12:26:00 -04:00
Jeremy Goecks 235773f1d4 Fix condition used to check if tiles have been loaded/drawn in trackster. 2010-10-27 09:26:47 -04:00
Jeremy Goecks 30980f8f9b Fix path to closebox.png image; this will show the close button for screencasts. 2010-10-26 22:59:40 -04:00
Kanwei Li c9a510104b trackster: Fix LineTrack rendering bug when more than one tile on screen. Refactored to pass JSLint 2010-10-26 19:24:26 -04:00
Kanwei Li 31e4dd2867 trackster: Fix shared visualizations
- Add excanvas support for IE <9 to trackster, but performance is bad
- Refactor unused/duplicate init code for trackster

- Fix IE workflow bug with Input Datasets
- Fix IE search button displaying twice
2010-10-25 18:49:26 -04:00
Kanwei Li 7e72dec4be Workflows now work in Internet Explorer again. IE does not implement Array.indexOf so we define it in galaxy.base. Update excanvas 2010-10-22 18:23:47 -04:00
Jeremy Goecks dc0075bf9a Fix setting of minimum and maximum values for tracker slider filters. 2010-10-20 00:42:45 -04:00
Kanwei Li 43028dbcc0 trackster: Add proper CIGAR support to BAM display (properly displays matches, deletions, skipped bases, and clipping. Padding and insertions are skipped as of now as there is no good way to insert new space into the view.)
- Don't re-add new datasets when refreshing after using "Add into current viz" link
- To prevent browser lockup, only display up to 50 lines of features by default (user-editable in future). TODO: add warning message when this occurs
2010-10-19 18:58:57 -04:00
Jeremy Goecks 3caf212cab Add dynamic attribute filtering framework for trackster and enable dynamic filtering of VCF quality values and BED score values. Framework enables users to interactively filter a visualized dataset within trackster; for example, a BED file of peaks can be filtering so that only peaks with a score greater than 100 are shown.
Individual changes include: (a) improvements to datatypes and data providers to support BED score filtering and VCF quality filtering; (b) addition of jQueryUI theme for slider; (c) modifications to trackster to show, update, and apply filters.
2010-10-19 16:25:51 -04:00
Kanwei Li 22525a5fe4 trackster:
- New histogram mode for LineTrack that's used by default.
- Refactored LineTrack drawing code
- Can change draw color of LineTrack
- summary_tree now shows maximum y-axis value
- When editing track config, "Enter" and "Esc" keys submit and cancel the changes, respectively
2010-10-15 14:24:35 -04:00
Kanwei Li fbae6b5f6a trackster: Fix ReferenceTrack not drawing, summary_tree display is now histogram and more fine grained. Small overview fix, UI tweaks 2010-10-13 17:59:56 -04:00