#9 User adjustable filter for tracks.

closed
Lincoln Stein
Gbrowse (28)
5
2006-02-24
2005-09-06
Anonymous
No

I was wondering if it would be possible to make the value
of the filter adjustable by the user ?
I thought a combo-box in the "Tracks" section next to
the relevant tick box would be a good idea.
Unfortunately, I'm not a Perl/JavaScript whiz or I would
have tried it myself but has anyone else had a go at
something like this?

Then instead of your filter sub looking like this:
filter = sub {my $feat = shift;
(my $rank) = $feat->attributes('coverage');
$rank < 60;
}

You would have something like this:
sub {my $feat = shift;
(my $rank) = $feat->attributes('coverage');
$rank < $value_from_combobox;
}

thanx,

Russell Smithies
__russell.smithies@agresearch.co.nz__

Discussion

  • photoshopped image of what the combo-box could look like

     
    Attachments
  • Scott Cain
    Scott Cain
    2005-09-07

    • assigned_to: scottcain --> lstein
     
  • Scott Cain
    Scott Cain
    2006-02-24

    • status: open --> closed