XspecT 0.5.2__py3-none-any.whl → 0.5.3__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.
Potentially problematic release.
This version of XspecT might be problematic. Click here for more details.
- xspect/main.py +3 -1
- xspect/ncbi.py +3 -2
- xspect/web.py +3 -1
- {xspect-0.5.2.dist-info → xspect-0.5.3.dist-info}/METADATA +1 -1
- {xspect-0.5.2.dist-info → xspect-0.5.3.dist-info}/RECORD +9 -9
- {xspect-0.5.2.dist-info → xspect-0.5.3.dist-info}/WHEEL +0 -0
- {xspect-0.5.2.dist-info → xspect-0.5.3.dist-info}/entry_points.txt +0 -0
- {xspect-0.5.2.dist-info → xspect-0.5.3.dist-info}/licenses/LICENSE +0 -0
- {xspect-0.5.2.dist-info → xspect-0.5.3.dist-info}/top_level.txt +0 -0
xspect/main.py
CHANGED
|
@@ -49,7 +49,9 @@ def models():
|
|
|
49
49
|
def download():
|
|
50
50
|
"""Download models."""
|
|
51
51
|
click.echo("Downloading models, this may take a while...")
|
|
52
|
-
download_test_models(
|
|
52
|
+
download_test_models(
|
|
53
|
+
"https://assets.adrianromberg.com/science/xspect-models-07-08-2025.zip"
|
|
54
|
+
)
|
|
53
55
|
|
|
54
56
|
|
|
55
57
|
@models.command(
|
xspect/ncbi.py
CHANGED
|
@@ -221,6 +221,7 @@ class NCBIHandler:
|
|
|
221
221
|
"""
|
|
222
222
|
endpoint = (
|
|
223
223
|
f"/genome/taxon/{taxon_id}/dataset_report?"
|
|
224
|
+
f"filters.tax_exact_match=false&"
|
|
224
225
|
f"filters.assembly_source={assembly_source.value}&"
|
|
225
226
|
f"filters.exclude_atypical={exclude_atypical}&"
|
|
226
227
|
f"filters.exclude_paired_reports={exclude_paired_reports}&"
|
|
@@ -228,9 +229,9 @@ class NCBIHandler:
|
|
|
228
229
|
f"page_size={count * 2}&" # to avoid having less than count if n50 or ANI is not met
|
|
229
230
|
)
|
|
230
231
|
endpoint += (
|
|
231
|
-
"
|
|
232
|
+
"filters.reference_only=true&"
|
|
232
233
|
if assembly_level == AssemblyLevel.REFERENCE
|
|
233
|
-
else f"
|
|
234
|
+
else f"filters.assembly_level={assembly_level.value}"
|
|
234
235
|
)
|
|
235
236
|
|
|
236
237
|
response = self._make_request(endpoint)
|
xspect/web.py
CHANGED
|
@@ -31,7 +31,9 @@ def root():
|
|
|
31
31
|
@router.get("/download-filters")
|
|
32
32
|
def download_filters():
|
|
33
33
|
"""Download filters."""
|
|
34
|
-
download_test_models(
|
|
34
|
+
download_test_models(
|
|
35
|
+
"https://assets.adrianromberg.com/science/xspect-models-07-08-2025.zip"
|
|
36
|
+
)
|
|
35
37
|
|
|
36
38
|
|
|
37
39
|
@router.get("/classification-result")
|
|
@@ -4,11 +4,11 @@ xspect/definitions.py,sha256=FpdY1lzWG8mOLUIvL6YVCJX_jV_qdRSItk2yoodCQMg,2730
|
|
|
4
4
|
xspect/download_models.py,sha256=VALcnowzkUpR-OAvgB5BUdEq9WnyNbli0CxH3OT40Rc,1121
|
|
5
5
|
xspect/file_io.py,sha256=Y9BX5O2Ni-EEhWxq2Nh0zn0mzWfai-6s5f6ASE83eUA,8116
|
|
6
6
|
xspect/filter_sequences.py,sha256=LOmhvK7SmUVpx5zsrCSySDFB1n6wbemBKysK34b4N-s,4574
|
|
7
|
-
xspect/main.py,sha256=
|
|
7
|
+
xspect/main.py,sha256=Dt4ji-NgAUoR5DCcVXFxT0ZJSKgw7DJG8of3U9R6THw,13088
|
|
8
8
|
xspect/model_management.py,sha256=KhWL_TtbqZNIM8sakm_QPZAJMFgAFUwConqYKM7ekMk,5290
|
|
9
|
-
xspect/ncbi.py,sha256=
|
|
9
|
+
xspect/ncbi.py,sha256=VRbFvtfGR4WTsc3buZE9UCabE3OJUTRphDRY20g63-E,11704
|
|
10
10
|
xspect/train.py,sha256=jxjK4OqzTywmd5KGPou9A-doH8Nwhlv_xF4X7M6X_jI,11588
|
|
11
|
-
xspect/web.py,sha256=
|
|
11
|
+
xspect/web.py,sha256=XD5G232DvGxVzX56-cWgAkss7m2dxk8t7-7WSuNXCIA,6949
|
|
12
12
|
xspect/mlst_feature/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
13
|
xspect/mlst_feature/mlst_helper.py,sha256=MsBzMtqz2KW_YnLYOqfYdFTPkx2gC2T8chY9E_2JgLU,8236
|
|
14
14
|
xspect/mlst_feature/pub_mlst_handler.py,sha256=t84obSvp0FUccUEsmNBjVxBj42kbzblJo41AYTvHfUk,7686
|
|
@@ -78,9 +78,9 @@ xspect/xspect-web/src/components/ui/switch.tsx,sha256=uIqRXtd41ba0eusIEUWVyYZv82
|
|
|
78
78
|
xspect/xspect-web/src/components/ui/table.tsx,sha256=M2-TIHKwPFWuXrwysSufdQRSMJT-K9jPzGOokfU6PXo,2463
|
|
79
79
|
xspect/xspect-web/src/components/ui/tabs.tsx,sha256=BImHKcdDCtrS3CCV1AGgn8qg0b65RB5P-QdH49IAhx0,1955
|
|
80
80
|
xspect/xspect-web/src/lib/utils.ts,sha256=66ibdQiEHKftZBq1OMLmOKqWma1BkO-O60rc1IQYwLE,165
|
|
81
|
-
xspect-0.5.
|
|
82
|
-
xspect-0.5.
|
|
83
|
-
xspect-0.5.
|
|
84
|
-
xspect-0.5.
|
|
85
|
-
xspect-0.5.
|
|
86
|
-
xspect-0.5.
|
|
81
|
+
xspect-0.5.3.dist-info/licenses/LICENSE,sha256=bhBGDKIRUVwYIHGOGO5hshzuVHyqFJajvSOA3XXOLKI,1094
|
|
82
|
+
xspect-0.5.3.dist-info/METADATA,sha256=T9yTZsMadZgZXFx3Uezd75GGg9iTnELTwcAeiX5G51k,4569
|
|
83
|
+
xspect-0.5.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
84
|
+
xspect-0.5.3.dist-info/entry_points.txt,sha256=L7qliX3pIuwupQxpuOSsrBJCSHYPOPNEzH8KZKQGGUw,43
|
|
85
|
+
xspect-0.5.3.dist-info/top_level.txt,sha256=hdoa4cnBv6OVzpyhMmyxpJxEydH5n2lDciy8urc1paE,7
|
|
86
|
+
xspect-0.5.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|