diff options
author | Arun Isaac | 2023-01-18 01:04:24 +0000 |
---|---|---|
committer | Arun Isaac | 2023-01-18 01:15:48 +0000 |
commit | f4eb5d21f33d0dc8449d9d326f01d0687472cf4d (patch) | |
tree | 78d650d5040655a60b5b30eb20ca3261d91ffaba /scripts/index-genenetwork | |
parent | d4af1981e80614b4e1b8c1570b5d80d9bfbe6b67 (diff) | |
download | genenetwork3-f4eb5d21f33d0dc8449d9d326f01d0687472cf4d.tar.gz |
Implement synteny search.
* gn3/api/search.py: Import gzip, Path from pathlib and curry from
pymonad.tools.
(IntervalLiftoverFunction): New variable.
(query_subqueries, query_terms, field_processor_or, liftover,
liftover_interval, parse_synteny_field, is_synteny_on, remove_synteny_field):
New functions.
(parse_location_field): Generalize to support synteny searches.
(parse_query): Support synteny search queries.
(search_results): Pass synteny files directory to parse_query.
Diffstat (limited to 'scripts/index-genenetwork')
0 files changed, 0 insertions, 0 deletions