ag-computational-bio / bakrep-web

The user interface for bakrep
1 stars 0 forks source link

Add "download all search results as a tsv" #37

Closed lukasjelonek closed 11 months ago

lukasjelonek commented 11 months ago

The tsv should include all data available in the index.

lukasjelonek commented 11 months ago

Implementation options

naive implementation

Use search to retrieve all entries and compile the tsv on the client (website).

Missing features:

Properties:

Advantages:

Disadvantages:

server implementation

The server generates the tsv file in one command and then returns the file as a download

Missing features:

Properties:

Advantages:

Disadvantages:

mixed implementation

Add a tsv content-type to the search endpoint and let the client download the tsv.

Missing features:

Properties:

Advantages:

Disadvantages:

lukasjelonek commented 11 months ago

I tend to prefer the mixed implementation option.

Ideas:

lukasjelonek commented 11 months ago

The search now does support search_after searches. This enables download of more than 10.000 entries. The next step will be the implementation of a tsv converter.