commit/galaxy-central: Jeremy Goecks: Trackster: add color for read track histograms so that histograms are colorful. Read blocks are still gray to allow for seeing variants easily.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/54695d3fa468/ Changeset: 54695d3fa468 User: Jeremy Goecks Date: 2014-04-23 19:56:26 Summary: Trackster: add color for read track histograms so that histograms are colorful. Read blocks are still gray to allow for seeing variants easily. Affected #: 2 files diff -r b801d178c90c0ca22d4fe9c219af7f9ae603b8c9 -r 54695d3fa468250b1ee13a90facc753dc3d9831d static/scripts/viz/trackster/painters.js --- a/static/scripts/viz/trackster/painters.js +++ b/static/scripts/viz/trackster/painters.js @@ -781,7 +781,7 @@ seq_offset = 0, gap = Math.round(w_scale/2), char_width_px = ctx.canvas.manager.char_width_px, - block_color = (strand === "+" ? this.prefs.block_color : this.prefs.reverse_strand_color), + block_color = (strand === "+" ? this.prefs.detail_block_color : this.prefs.reverse_strand_color), pack_mode = (mode === 'Pack'), paint_utils = new ReadPainterUtils(ctx, (pack_mode ? PACK_FEATURE_HEIGHT : SQUISH_FEATURE_HEIGHT), w_scale, mode), drawing_blocks = []; diff -r b801d178c90c0ca22d4fe9c219af7f9ae603b8c9 -r 54695d3fa468250b1ee13a90facc753dc3d9831d static/scripts/viz/trackster/tracks.js --- a/static/scripts/viz/trackster/tracks.js +++ b/static/scripts/viz/trackster/tracks.js @@ -4234,8 +4234,9 @@ extend(ReadTrack.prototype, Drawable.prototype, TiledTrack.prototype, FeatureTrack.prototype, { config_params: _.union( Drawable.prototype.config_params, [ - { key: 'block_color', label: 'Block and sense strand color', type: 'color', 'default_value': '#DDDDDD' }, - { key: 'reverse_strand_color', label: 'Antisense strand color', type: 'color', 'default_value': '#AAAAAA' }, + { key: 'block_color', label: 'Histogram color', type: 'color' }, + { key: 'detail_block_color', label: 'Sense strand block color', type: 'color', 'default_value': '#AAAAAA' }, + { key: 'reverse_strand_color', label: 'Antisense strand block color', type: 'color', 'default_value': '#DDDDDD' }, { key: 'label_color', label: 'Label color', type: 'color', default_value: 'black' }, { key: 'show_insertions', label: 'Show insertions', type: 'bool', default_value: false }, { key: 'show_differences', label: 'Show differences only', type: 'bool', default_value: true }, Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org