We're updating the issue view to help you get more done. 

getTerm in HGNC vocabulary should match on exact input provided

Description

The HGNC vocabulary, getTerm is too "eager" to match its input. Sometimes inputs are ambiguous and it's better to not return a match at all than to choose one of many options.

Example:

1 getTerm("CAKUT (PAX2, EYA1, GATA3, KAL1, SALL1, SIX1, SIX5, SOX17, BMP7, CHD1L, DLX5, FREM2, HPSE2, RET, ROBO2, SIX2, UPK3A, HNF1B, BMP4, FOXC2)")

matches on

1 KAL1

(among other things), a previous symbol for

1 AMOS1

and returns the term with the gene symbol

1 AMOS1

. This behaviour is obviously wrong and the return value should be null (no exact match found).

Environment

None

Status

Assignee

Alina Gvo

Reporter

Marta Girdea

Labels

None

External issue ID

None

External issue ID

None

Components

Fix versions

Priority

Blocker