LAPIS icon indicating copy to clipboard operation
LAPIS copied to clipboard

Wildcard based searches

Open theosanderson opened this issue 1 year ago • 8 comments

It would be nice to be able to search strings using wildcards. E.g. if my sequences have a name column which might look like AWESOME-LAB/SEQUENCE_22 it would be cool to be able to search with AWESOME-LAB* to find all awesome lab sequences.

theosanderson avatar Apr 23 '24 11:04 theosanderson

Having an SQL-equivalent LIKE statement would maybe be a sensible generalisation of this?

Taepper avatar Apr 24 '24 08:04 Taepper

(yes, that would be great!)

theosanderson avatar Apr 24 '24 08:04 theosanderson

To specify this a bit further in SILO terms: What do we want to support? A StringLike filter? What does it accept? Regex? Just a "string contains this value" functionality?

fengelniederhammer avatar Apr 24 '24 08:04 fengelniederhammer

Also to think about: should we support case-insensitive string search?

chaoran-chen avatar May 02 '24 13:05 chaoran-chen

Nice thing about regex would be ability for implementor to decide whether they want things like: case-insensitive, substring, etc. It would allow LAPIS to not have to make the decision, at the expense of slightly increased complexity as it would have to include regex code.

With regex type, downstream code would be able to implement all those variations by simply changing the regex query generated.

corneliusroemer avatar May 02 '24 13:05 corneliusroemer

This will be really helpful for the authors search!

anna-parker avatar Jun 07 '24 16:06 anna-parker

What's the status on this?

corneliusroemer avatar Jul 26 '24 14:07 corneliusroemer

I am currently working on this issue in SILO -> #517

Taepper avatar Jul 26 '24 15:07 Taepper

Done with #897

fengelniederhammer avatar Aug 26 '24 13:08 fengelniederhammer