pheval 0.6.4__tar.gz → 0.6.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pheval might be problematic. Click here for more details.
- {pheval-0.6.4 → pheval-0.6.6}/PKG-INFO +4 -2
- {pheval-0.6.4 → pheval-0.6.6}/pyproject.toml +1 -1
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/analyse/benchmark.py +2 -2
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/analyse/benchmark_output_type.py +9 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/analyse/generate_rank_comparisons.py +1 -1
- {pheval-0.6.4 → pheval-0.6.6}/LICENSE +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/README.md +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/__init__.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/analyse/__init__.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/analyse/benchmark_db_manager.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/analyse/binary_classification_curves.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/analyse/binary_classification_stats.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/analyse/generate_plots.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/analyse/rank_stats.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/analyse/run_data_parser.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/cli.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/cli_pheval.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/cli_pheval_utils.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/config_parser.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/implementations/__init__.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/implementations/pheval_class_resolver.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/infra/__init__.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/infra/exomiserdb.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/post_processing/__init__.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/post_processing/mondo_mapping.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/post_processing/phenopacket_truth_set.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/post_processing/post_processing.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/post_processing/validate_result_format.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/prepare/__init__.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/prepare/create_noisy_phenopackets.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/prepare/create_spiked_vcf.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/prepare/custom_exceptions.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/prepare/prepare_corpus.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/prepare/update_phenopacket.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/resources/alternate_ouputs/CADA_results.txt +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/resources/alternate_ouputs/DeepPVP_results.txt +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/resources/alternate_ouputs/OVA_results.txt +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/resources/alternate_ouputs/Phen2Gene_results.json +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/resources/alternate_ouputs/Phenolyzer_results.txt +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/resources/alternate_ouputs/lirical_results.tsv +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/resources/alternate_ouputs/svanna_results.tsv +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/resources/hgnc_complete_set.txt +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/resources/metadata.json +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/resources/mondo.sssom.tsv +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/run_metadata.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/runners/__init__.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/runners/runner.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/utils/__init__.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/utils/docs_gen.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/utils/docs_gen.sh +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/utils/exomiser.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/utils/file_utils.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/utils/logger.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/utils/phenopacket_utils.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/utils/semsim_utils.py +0 -0
- {pheval-0.6.4 → pheval-0.6.6}/src/pheval/utils/utils.py +0 -0
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: pheval
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.6
|
|
4
4
|
Summary:
|
|
5
|
+
License-File: LICENSE
|
|
5
6
|
Author: Yasemin Bridges
|
|
6
7
|
Author-email: y.bridges@qmul.ac.uk
|
|
7
8
|
Requires-Python: >=3.10,<4.0.0
|
|
@@ -10,6 +11,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
10
11
|
Classifier: Programming Language :: Python :: 3.11
|
|
11
12
|
Classifier: Programming Language :: Python :: 3.12
|
|
12
13
|
Classifier: Programming Language :: Python :: 3.13
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
13
15
|
Requires-Dist: class-resolver (>=0.4.2)
|
|
14
16
|
Requires-Dist: click (>=8.1.3)
|
|
15
17
|
Requires-Dist: deprecation (>=2.1.0)
|
|
@@ -6,7 +6,7 @@ import duckdb
|
|
|
6
6
|
import polars as pl
|
|
7
7
|
|
|
8
8
|
from pheval.analyse.benchmark_db_manager import write_table
|
|
9
|
-
from pheval.analyse.benchmark_output_type import BenchmarkOutputType, BenchmarkOutputTypeEnum
|
|
9
|
+
from pheval.analyse.benchmark_output_type import BenchmarkOutputType, BenchmarkOutputTypeEnum, _get_unique_subset
|
|
10
10
|
from pheval.analyse.binary_classification_curves import compute_curves
|
|
11
11
|
from pheval.analyse.binary_classification_stats import compute_confusion_matrix
|
|
12
12
|
from pheval.analyse.generate_plots import generate_plots
|
|
@@ -48,7 +48,7 @@ def scan_directory(run: RunConfig, benchmark_type: BenchmarkOutputType) -> pl.La
|
|
|
48
48
|
else True
|
|
49
49
|
)
|
|
50
50
|
.sort("rank")
|
|
51
|
-
.unique(subset=
|
|
51
|
+
.unique(subset=_get_unique_subset(benchmark_type), keep="first")
|
|
52
52
|
)
|
|
53
53
|
|
|
54
54
|
|
|
@@ -42,3 +42,12 @@ class BenchmarkOutputTypeEnum(Enum):
|
|
|
42
42
|
["disease_identifier", "mondo_identifier"],
|
|
43
43
|
"pheval_disease_results",
|
|
44
44
|
)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def _get_unique_subset(benchmark_type: BenchmarkOutputType) -> list[str]:
|
|
48
|
+
"""
|
|
49
|
+
Determine which columns to use for uniqueness in benchmarking results.
|
|
50
|
+
"""
|
|
51
|
+
if benchmark_type.prioritisation_type_string == "disease":
|
|
52
|
+
return ["file_path", "mondo_identifier"]
|
|
53
|
+
return ["file_path", *benchmark_type.columns]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from itertools import combinations
|
|
2
2
|
|
|
3
3
|
import polars as pl
|
|
4
|
-
from duckdb
|
|
4
|
+
from duckdb import DuckDBPyConnection
|
|
5
5
|
|
|
6
6
|
from pheval.analyse.benchmark_db_manager import write_table
|
|
7
7
|
from pheval.analyse.benchmark_output_type import BenchmarkOutputType
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|