higlass / clodius

Clodius is a tool for breaking up large data sets into smaller tiles that can subsequently be displayed using an appropriate viewer.
MIT License
38 stars 21 forks source link

Add name from bed file line to beddb db #120

Closed pkerpedjiev closed 4 years ago

pkerpedjiev commented 4 years ago

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 in higlass-server to only check the name field.

Fixes #___

Checklist