This PR update the beddb format to include a field for the name in a bed file entry.
Why is it necessary?
This is useful for auto-complete in gene search. Right now we search the entire bedfile line in the fields field when presenting autocomplete suggestions. This is problematic because if somebody enters prot , the returned suggestions will be completely irrelevant because many gene annotations lines contain the term protein coding.
With this change, the /api/v1/suggest endpoint can be changed in higlass-server to only check the name field.
Description
What was changed in this pull request?
This PR update the
beddb
format to include a field for the name in a bed file entry.Why is it necessary?
This is useful for auto-complete in gene search. Right now we search the entire bedfile line in the
fields
field when presenting autocomplete suggestions. This is problematic because if somebody enters prot , the returned suggestions will be completely irrelevant because many gene annotations lines contain the term protein coding.With this change, the
/api/v1/suggest
endpoint can be changed inhiglass-server
to only check thename
field.Fixes #___
Checklist
black .