diff options
author | Munyoki Kilyungi | 2024-05-31 12:22:24 +0300 |
---|---|---|
committer | BonfaceKilz | 2024-06-01 23:57:00 +0300 |
commit | 69cb03484eea2c7011ac4c838a448b02307a4b55 (patch) | |
tree | 3d8d5dbecb2e7263a620d992263aa106ecfd12d5 /gn3/api | |
parent | a85cc6496c4656a53db13d52152ee37278869e11 (diff) | |
download | genenetwork3-69cb03484eea2c7011ac4c838a448b02307a4b55.tar.gz |
Add geneRIF prefix.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3/api')
-rw-r--r-- | gn3/api/search.py | 1 |
1 files changed, 1 insertions, 0 deletions
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. |