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"))
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 withSH
. 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"))