PoonLab / covizu

Rapid analysis and visualization of coronavirus genome variation
https://filogeneti.ca/CoVizu/
MIT License
45 stars 20 forks source link

Search by accession number is broken #527

Closed GopiGugan closed 2 months ago

GopiGugan commented 3 months ago

image

GopiGugan commented 3 months ago

We have an Apache rule that converts the URL to lowercase letters. Therefore the accession number also gets converted into lower case, causing there to be no hits in the database.

I've added fix to convert the accession to upper case before querying into the database.

I'm also checking to see if there is a way to do case insensitive queries

ArtPoon commented 3 months ago

In retrospect I think having the Apache rule was a bit too broad of a stroke, given that it was implemented specifically to accommodate CoVizu and covizu URLs. This is also breaking other things on the server such as https://filogeneti.ca/ApplBioinf

GopiGugan commented 2 months ago

Reverted change made in #500. Search by accession number works now.