From 69cb03484eea2c7011ac4c838a448b02307a4b55 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Fri, 31 May 2024 12:22:24 +0300 Subject: Add geneRIF prefix. Signed-off-by: Munyoki Kilyungi --- gn3/api/search.py | 1 + 1 file changed, 1 insertion(+) (limited to 'gn3/api') diff --git a/gn3/api/search.py b/gn3/api/search.py index c741b15..4e35867 100644 --- a/gn3/api/search.py +++ b/gn3/api/search.py @@ -211,6 +211,7 @@ def parse_query(synteny_files_directory: Path, query: str): queryparser.add_boolean_prefix("chr", chromosome_prefix) queryparser.add_boolean_prefix("peakchr", "XPC") queryparser.add_prefix("description", "XD") + queryparser.add_prefix("rif", "XRF") range_prefixes = ["mean", "peak", "position", "peakmb", "additive", "year"] for i, prefix in enumerate(range_prefixes): # Treat position specially since it needs its own field processor. -- cgit v1.2.3