MOZI-AI / annotation-scheme

Human Gene annotation service backend
GNU General Public License v3.0
3 stars 4 forks source link

find-similar-gene seems to be incorrect? #176

Closed linas closed 4 years ago

linas commented 4 years ago

I suspect that find-similar-gene is performing it's tests in an exactly backwards manner... for example: (find-similar-gene "SH") returns the empty list, even though there are several genes that have names starting with SH. By contrast, (find-similar-gene "SHISA5asdfasdf") returns a list of one gene: ((GeneNode "SHISA5")) ... surely, this is not what you wanted? I'm thinking the search pattern and the match are exactly reversed ...

If I reverse them I get a reasonable result: (reverse-fsg "SH") gives ((GeneNode "SHC1") (GeneNode "SHISA5"))

linas commented 4 years ago

Closing, my bad.