pheval-exomiser 0.3.0__py3-none-any.whl → 0.3.2__py3-none-any.whl

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.
@@ -136,7 +136,7 @@ def create_standardised_results(
136
136
  ):
137
137
  sort_order = SortOrder.ASCENDING if sort_order.lower() == "ascending" else SortOrder.DESCENDING
138
138
  for exomiser_json_result_path in files_with_suffix(result_dir, ".json"):
139
- exomiser_json_result = pl.read_json(exomiser_json_result_path)
139
+ exomiser_json_result = pl.read_json(exomiser_json_result_path, infer_schema_length=None)
140
140
  if gene_analysis:
141
141
  gene_results = extract_gene_results_from_json(exomiser_json_result, score_name)
142
142
  generate_gene_result(
@@ -100,8 +100,14 @@ class CommandCreator:
100
100
  )
101
101
 
102
102
  def add_variant_analysis_arguments(self, vcf_dir: Path) -> ExomiserCommandLineArguments:
103
- vcf_file_data = PhenopacketUtil(self.phenopacket).vcf_file_data(
104
- self.phenopacket_path, vcf_dir
103
+ vcf_file_data = (
104
+ PhenopacketUtil(self.phenopacket).vcf_file_data(self.phenopacket_path, vcf_dir)
105
+ if vcf_dir.exists()
106
+ else [
107
+ file
108
+ for file in self.phenopacket.files
109
+ if file.file_attributes["fileFormat"] == "vcf"
110
+ ][0]
105
111
  )
106
112
  output_options_file = self.assign_output_options_file()
107
113
  if self.environment == "local":
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pheval_exomiser
3
- Version: 0.3.0
3
+ Version: 0.3.2
4
4
  Summary:
5
5
  Author: Yasemin Bridges
6
6
  Author-email: y.bridges@qmul.ac.uk
@@ -162,6 +162,9 @@ e.g.,
162
162
     └── vcf
163
163
  ```
164
164
 
165
+ > [!IMPORTANT]
166
+ > If a `vcf` directory is not found in the testdata directory then the path to the VCF will be taken from the phenopacket if `variant_analysis` is set to True.
167
+
165
168
  ## Run command
166
169
 
167
170
  Once the testdata and input directories are correctly configured for the run, the `pheval run` command can be executed.
@@ -3,15 +3,15 @@ pheval_exomiser/cli.py,sha256=0SR1-L2sREEkFRfUPwYwkbSaBsz_L_Sxq1S4c9LQLJg,350
3
3
  pheval_exomiser/constants.py,sha256=o_pLWF8kX74BqyTsAZa7twwSKzedLnpupCI90k_bMqY,517
4
4
  pheval_exomiser/post_process/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  pheval_exomiser/post_process/post_process.py,sha256=2vkwe60Ptf7UuPCR2ShcI80-kn-1WaPDa74cCBTUKF0,968
6
- pheval_exomiser/post_process/post_process_results_format.py,sha256=zMz2HwAJENuKyRjkbJZrydrZDoULWuPjaDWC5Dc5hxg,8432
6
+ pheval_exomiser/post_process/post_process_results_format.py,sha256=8fmiPy4xJjhe6ajTlJEYx2na0EeJftkTuYQCzv5uIJk,8458
7
7
  pheval_exomiser/prepare/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
- pheval_exomiser/prepare/create_batch_commands.py,sha256=tDUBtpfSmNGqHte-vrGnusYZzM59pOX1IAumqRDlnBE,17205
8
+ pheval_exomiser/prepare/create_batch_commands.py,sha256=R06cn1c5pf_agUQfrFUQ2KEo8il0Z4fJntS2HKYCQXw,17410
9
9
  pheval_exomiser/prepare/tool_specific_configuration_options.py,sha256=4gedZ9iadRXK6tF9P-ju-dhj8-F2-fhrXVhfYIsAxFQ,2922
10
10
  pheval_exomiser/prepare/write_application_properties.py,sha256=KmG7GvkQo8AhnhRyqohTFvqjfhEhbcs78UYYoigxJ3w,8933
11
11
  pheval_exomiser/run/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
12
  pheval_exomiser/run/run.py,sha256=bK_gL52zRl71Lxe-i-P6L4-dMstxFAG6SVNPO6G823o,7109
13
13
  pheval_exomiser/runner.py,sha256=3-0kec2yzQoZNpqZXSBIWBD1QR24s_BmHGCLXmP4fos,2620
14
- pheval_exomiser-0.3.0.dist-info/METADATA,sha256=95Kqa6LqtavG86Okr1fWqWK12wKl3WMWXYJol_4Swno,7463
15
- pheval_exomiser-0.3.0.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
16
- pheval_exomiser-0.3.0.dist-info/entry_points.txt,sha256=lbZMu-x7ns8UrFveWSqEQ1UB5l33TbRMomqBUyGYIwI,131
17
- pheval_exomiser-0.3.0.dist-info/RECORD,,
14
+ pheval_exomiser-0.3.2.dist-info/METADATA,sha256=ioOgpn28cmb8KjyzrO3Zuk2JD-E9LF_l6A39GDzC7E8,7641
15
+ pheval_exomiser-0.3.2.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
16
+ pheval_exomiser-0.3.2.dist-info/entry_points.txt,sha256=lbZMu-x7ns8UrFveWSqEQ1UB5l33TbRMomqBUyGYIwI,131
17
+ pheval_exomiser-0.3.2.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.1.1
2
+ Generator: poetry-core 2.1.3
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any