wurmlab / sequenceserver

Intuitive graphical web interface for running BLAST bioinformatics tool (i.e. have your own custom NCBI BLAST site!)
https://sequenceserver.com
GNU Affero General Public License v3.0
270 stars 113 forks source link

BLAST button not working with sequenceserver 3.1.3 and tree widget enabled #784

Open lukaszsobala opened 1 month ago

lukaszsobala commented 1 month ago

Hello,

The issue is explained in the description. When the tree widget is disabled, the BLAST button does work. I have tested this on 2 separate devices. Also, I have tested in both Firefox and Chromium.

The bug seems to be related to the predefined command line options, which don't seem to be loading at all. They are quite slow to load in 3.1.2 already...

yannickwurm commented 1 month ago

Thanks Lukasz, I'm sorry that sucks. The tree widget is still considered as experimental :/ Have you tried debugging the javascript?

I'm surprised by your comment about the command-line options though. Where do you feel they're not loading correctly?

Kind regards, Yannick

lukaszsobala commented 1 month ago

Hi Yannick,

I am sorry but I have no clue about how to debug javascript!

When you paste a sequence here, for example: https://lukprot.hirszfeld.pl/ the options I predefined take 5-10 seconds to load up on 3.1.2 when you select the databases. This might be because there are so many databases in the tree. On 3.1.3 this does not seem to work at all (even with 1 database selected when the tree widget is active).

Cheers, Łukasz

kuntzagk commented 1 month ago

I have run into the same problem here. When examining the delivered javascript it looks like the "query_stats.js" delivered is much smaller then in 3.1.2. It is identical to the code checked into GH while on 3.1.2 it contains other contain (when loaded in browser, code on disk is identical) So I guess some kind of magic code replacement is not happening.

hth

jasongallant commented 3 weeks ago

+1 I had a user report in on this issue from https://www.efishgenomics.com/blast_search/ with the same issue. I disabled tree for the time being, but it sure is much messier looking. Any ideas what might be behind this?

Thanks in advance