graphkb
Advanced tools
| Metadata-Version: 2.1 | ||
| Name: graphkb | ||
| Version: 1.10.1 | ||
| Version: 1.10.2 | ||
| Summary: python adapter for interacting with the GraphKB API | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/bcgsc/pori_graphkb_python |
+11
-15
@@ -22,3 +22,3 @@ """ | ||
| ) | ||
| from .vocab import get_term_tree | ||
| from .vocab import get_equivalent_terms, get_term_tree | ||
@@ -481,16 +481,3 @@ FEATURES_CACHE: Set[str] = set() | ||
| ) | ||
| # disambiguate the variant type | ||
| variant_types_details = get_term_tree( | ||
| conn, | ||
| parsed['type'], | ||
| root_exclude_term='mutation' if secondary_features else '', | ||
| ignore_cache=ignore_cache, | ||
| ) | ||
| types = convert_to_rid_list(variant_types_details) | ||
| if not types: | ||
| variant_type = parsed['type'] | ||
| raise ValueError(f'unable to find the term/category ({variant_type}) or any equivalent') | ||
| # match the existing mutations (positional) | ||
@@ -500,3 +487,2 @@ query_filters = [ | ||
| {'reference2': secondary_features}, | ||
| {'type': types}, | ||
| {'break1Start.@class': parsed['break1Start']['@class']}, | ||
@@ -544,2 +530,12 @@ ] | ||
| # disambiguate the variant type | ||
| variant_types_details = get_equivalent_terms( | ||
| conn, | ||
| parsed['type'], | ||
| root_exclude_term='mutation' if secondary_features else '', | ||
| ignore_cache=ignore_cache, | ||
| ) | ||
| types = convert_to_rid_list(variant_types_details) | ||
| matches.extend( | ||
@@ -546,0 +542,0 @@ conn.query( |
+1
-1
| Metadata-Version: 2.1 | ||
| Name: graphkb | ||
| Version: 1.10.1 | ||
| Version: 1.10.2 | ||
| Summary: python adapter for interacting with the GraphKB API | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/bcgsc/pori_graphkb_python |
+1
-1
@@ -12,3 +12,3 @@ [flake8] | ||
| url = https://github.com/bcgsc/pori_graphkb_python | ||
| version = 1.10.1 | ||
| version = 1.10.2 | ||
| author_email = graphkb@bcgsc.ca | ||
@@ -15,0 +15,0 @@ description = python adapter for interacting with the GraphKB API |
@@ -463,3 +463,2 @@ import os | ||
| @pytest.mark.skipif(True, reason="TODO: GERO-299 incomplete; cds and genomic fail test.") | ||
| def test_missense_is_not_nonsense(self, conn): | ||
@@ -466,0 +465,0 @@ """GERO-299 - nonsense mutation creates a stop codon and is usually more severe.""" |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
149035
-0.16%2594
-0.19%