sequenceserver
sequenceserver copied to clipboard
Add additional limitations for long query sequence
Some end users that are not familar with bioinformatics might use long query sequence (>1Mb DNA sequences). Usually this is meaningless and instead would take long running time. It is better if we can set additional limitations for long query sequence when setting up this server.
Well, is it possible?
Hey @billzt. I can think of two ways to do this. Query sequences are written to a temporary file on the server before running BLAST. One could check file size and throw ArgumenError
before running BLAST. The other option is to intercept paste event in the browser and immediately inform the user if pasted data is too much. The second approach is more reactive and thus preferable, imo.
Yes. Hopes this could be implemented