pheval-exomiser 0.2.4__tar.gz → 0.2.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.
Files changed (17) hide show
  1. {pheval_exomiser-0.2.4 → pheval_exomiser-0.2.6}/PKG-INFO +2 -1
  2. {pheval_exomiser-0.2.4 → pheval_exomiser-0.2.6}/pyproject.toml +1 -1
  3. {pheval_exomiser-0.2.4 → pheval_exomiser-0.2.6}/src/pheval_exomiser/post_process/post_process_results_format.py +6 -1
  4. {pheval_exomiser-0.2.4 → pheval_exomiser-0.2.6}/src/pheval_exomiser/prepare/tool_specific_configuration_options.py +13 -13
  5. {pheval_exomiser-0.2.4 → pheval_exomiser-0.2.6}/README.md +0 -0
  6. {pheval_exomiser-0.2.4 → pheval_exomiser-0.2.6}/src/pheval_exomiser/__init__.py +0 -0
  7. {pheval_exomiser-0.2.4 → pheval_exomiser-0.2.6}/src/pheval_exomiser/cli.py +0 -0
  8. {pheval_exomiser-0.2.4 → pheval_exomiser-0.2.6}/src/pheval_exomiser/constants.py +0 -0
  9. {pheval_exomiser-0.2.4 → pheval_exomiser-0.2.6}/src/pheval_exomiser/post_process/__init__.py +0 -0
  10. {pheval_exomiser-0.2.4 → pheval_exomiser-0.2.6}/src/pheval_exomiser/post_process/post_process.py +0 -0
  11. {pheval_exomiser-0.2.4 → pheval_exomiser-0.2.6}/src/pheval_exomiser/prepare/__init__.py +0 -0
  12. {pheval_exomiser-0.2.4 → pheval_exomiser-0.2.6}/src/pheval_exomiser/prepare/create_batch_commands.py +0 -0
  13. {pheval_exomiser-0.2.4 → pheval_exomiser-0.2.6}/src/pheval_exomiser/prepare/write_application_properties.py +0 -0
  14. {pheval_exomiser-0.2.4 → pheval_exomiser-0.2.6}/src/pheval_exomiser/prepare/yaml_to_family_phenopacket.py +0 -0
  15. {pheval_exomiser-0.2.4 → pheval_exomiser-0.2.6}/src/pheval_exomiser/run/__init__.py +0 -0
  16. {pheval_exomiser-0.2.4 → pheval_exomiser-0.2.6}/src/pheval_exomiser/run/run.py +0 -0
  17. {pheval_exomiser-0.2.4 → pheval_exomiser-0.2.6}/src/pheval_exomiser/runner.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pheval_exomiser
3
- Version: 0.2.4
3
+ Version: 0.2.6
4
4
  Summary:
5
5
  Author: Yasemin Bridges
6
6
  Author-email: y.bridges@qmul.ac.uk
@@ -10,6 +10,7 @@ Classifier: Programming Language :: Python :: 3.9
10
10
  Classifier: Programming Language :: Python :: 3.10
11
11
  Classifier: Programming Language :: Python :: 3.11
12
12
  Classifier: Programming Language :: Python :: 3.12
13
+ Classifier: Programming Language :: Python :: 3.13
13
14
  Requires-Dist: click (>=8.1.3,<9.0.0)
14
15
  Requires-Dist: docker (>=6.0.1,<7.0.0)
15
16
  Requires-Dist: google (>=3.0.0,<4.0.0)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pheval_exomiser"
3
- version = "0.2.4"
3
+ version = "0.2.6"
4
4
  description = ""
5
5
  authors = ["Yasemin Bridges <y.bridges@qmul.ac.uk>",
6
6
  "Julius Jacobsen <j.jacobsen@qmul.ac.uk>",
@@ -182,7 +182,12 @@ class PhEvalDiseaseResultFromExomiserJsonCreator:
182
182
  )
183
183
  except KeyError:
184
184
  pass
185
- return simplified_exomiser_result
185
+ return list(
186
+ {
187
+ (result.disease_identifier, result.score): result
188
+ for result in simplified_exomiser_result
189
+ }.values()
190
+ )
186
191
 
187
192
 
188
193
  def create_standardised_results(
@@ -1,5 +1,5 @@
1
1
  from pathlib import Path
2
- from typing import List
2
+ from typing import List, Optional
3
3
 
4
4
  from pydantic import BaseModel, Field
5
5
 
@@ -20,17 +20,17 @@ class ApplicationProperties(BaseModel):
20
20
  cache_caffeine_spec (int): Cache limit
21
21
  """
22
22
 
23
- remm_version: str = Field(None)
24
- cadd_version: str = Field(None)
25
- hg19_data_version: str = Field(None)
26
- hg19_local_frequency_path: Path = Field(None)
27
- hg19_whitelist_path: Path = Field(None)
28
- hg38_data_version: str = Field(None)
29
- hg38_local_frequency_path: Path = Field(None)
30
- hg38_whitelist_path: Path = Field(None)
31
- phenotype_data_version: str = Field(None)
32
- cache_type: str = Field(None)
33
- cache_caffeine_spec: int = Field(None)
23
+ remm_version: Optional[str] = Field(None)
24
+ cadd_version: Optional[str] = Field(None)
25
+ hg19_data_version: Optional[str] = Field(None)
26
+ hg19_local_frequency_path: Optional[Path] = Field(None)
27
+ hg19_whitelist_path: Optional[Path] = Field(None)
28
+ hg38_data_version: Optional[str] = Field(None)
29
+ hg38_local_frequency_path: Optional[Path] = Field(None)
30
+ hg38_whitelist_path: Optional[Path] = Field(None)
31
+ phenotype_data_version: Optional[str] = Field(None)
32
+ cache_type: Optional[str] = Field(None)
33
+ cache_caffeine_spec: Optional[int] = Field(None)
34
34
 
35
35
 
36
36
  class PostProcessing(BaseModel):
@@ -64,5 +64,5 @@ class ExomiserConfigurations(BaseModel):
64
64
  analysis_configuration_file: Path = Field(...)
65
65
  max_jobs: int = Field(...)
66
66
  application_properties: ApplicationProperties = Field(...)
67
- output_formats: List[str] = Field(None)
67
+ output_formats: Optional[List[str]] = Field(None)
68
68
  post_process: PostProcessing = Field(...)