haplohub-cli 2.0.2__tar.gz → 2.2.0__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.
- haplohub_cli-2.2.0/.github/dependabot.yml +21 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/PKG-INFO +2 -2
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/_version.py +3 -3
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/commands/variant.py +3 -3
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli.egg-info/PKG-INFO +2 -2
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli.egg-info/SOURCES.txt +1 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli.egg-info/requires.txt +1 -1
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/pyproject.toml +1 -1
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/.github/workflows/on_pr.yml +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/.github/workflows/on_push_main.yml +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/.gitignore +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/.pre-commit-config.yaml +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/README.md +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/__init__.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/auth/__init__.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/auth/auth.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/auth/auth_web_server.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/auth/oauth_client.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/auth/tests/__init__.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/auth/tests/test_auth_web_server.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/auth/tests/test_token_storage.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/auth/token_storage.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/cli.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/commands/__init__.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/commands/algorithm/__init__.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/commands/algorithm/result/__init__.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/commands/cohort/__init__.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/commands/cohort/biomarker.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/commands/cohort/member/__init__.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/commands/cohort/member/report.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/commands/cohort/sample.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/commands/config.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/commands/file.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/commands/login.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/commands/metadata/__init__.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/commands/version.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/config/__init__.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/config/config.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/config/config_manager.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/core/__init__.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/core/api/__init__.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/core/api/client.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/core/checksum.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/core/network.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/core/slug.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/core/tests/__init__.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/core/tests/test_checksum.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/core/tests/test_network.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/core/tests/test_slug.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/core/types.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/core/upload.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/formatters/__init__.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/formatters/algorithm.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/formatters/algorithm_result.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/formatters/biomarker.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/formatters/cohort.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/formatters/config.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/formatters/decorators.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/formatters/file.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/formatters/formatter_registry.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/formatters/generic.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/formatters/member.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/formatters/metadata.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/formatters/sample.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/formatters/utils.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/formatters/variant.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/settings.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/types/__init__.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/types/variant_range.py +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli.egg-info/dependency_links.txt +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli.egg-info/entry_points.txt +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli.egg-info/top_level.txt +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/setup.cfg +0 -0
- {haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/uv.lock +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
updates:
|
|
3
|
+
- package-ecosystem: "github-actions"
|
|
4
|
+
directory: "/"
|
|
5
|
+
schedule:
|
|
6
|
+
interval: "weekly"
|
|
7
|
+
day: "monday"
|
|
8
|
+
open-pull-requests-limit: 10
|
|
9
|
+
groups:
|
|
10
|
+
actions-minor-patch:
|
|
11
|
+
patterns:
|
|
12
|
+
- "*"
|
|
13
|
+
update-types:
|
|
14
|
+
- "minor"
|
|
15
|
+
- "patch"
|
|
16
|
+
commit-message:
|
|
17
|
+
prefix: "ci"
|
|
18
|
+
include: "scope"
|
|
19
|
+
labels:
|
|
20
|
+
- "dependencies"
|
|
21
|
+
- "github-actions"
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: haplohub-cli
|
|
3
|
-
Version: 2.0
|
|
3
|
+
Version: 2.2.0
|
|
4
4
|
Summary: HaploHub Command Line Interface
|
|
5
5
|
Author-email: Mike Polcari <mike@haplotype-labs.com>, Ilya Khrustalev <ilya@haplotype-labs.com>
|
|
6
6
|
Requires-Python: >=3.8
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
8
8
|
Requires-Dist: click>=8.1.8
|
|
9
|
-
Requires-Dist: haplohub>=2.0
|
|
9
|
+
Requires-Dist: haplohub>=2.2.0
|
|
10
10
|
Requires-Dist: pendulum>=3.0.0
|
|
11
11
|
Requires-Dist: requests>=2.32.0
|
|
12
12
|
Requires-Dist: rich>=13.9.4
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '2.0
|
|
22
|
-
__version_tuple__ = version_tuple = (2,
|
|
21
|
+
__version__ = version = '2.2.0'
|
|
22
|
+
__version_tuple__ = version_tuple = (2, 2, 0)
|
|
23
23
|
|
|
24
|
-
__commit_id__ = commit_id = '
|
|
24
|
+
__commit_id__ = commit_id = 'g0c594e360'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import click
|
|
2
|
-
from haplohub import GetVariantRequest, HgvsTargetSchema, RegionTargetSchema, VariantFilterSchema
|
|
2
|
+
from haplohub import GetVariantRequest, HgvsTargetSchema, RegionTargetSchema, TargetsInner, VariantFilterSchema
|
|
3
3
|
|
|
4
4
|
from haplohub_cli.core.api.client import client
|
|
5
5
|
|
|
@@ -36,7 +36,7 @@ def region(sample_ids, cohort_id, accession, start, end, reference, alternate, c
|
|
|
36
36
|
|
|
37
37
|
request = GetVariantRequest(
|
|
38
38
|
sample_ids=list(sample_ids),
|
|
39
|
-
targets=[target],
|
|
39
|
+
targets=[TargetsInner(target)],
|
|
40
40
|
filters=VariantFilterSchema(call_state=call_state),
|
|
41
41
|
selectors=["clinvar"] if clinvar else None,
|
|
42
42
|
)
|
|
@@ -54,7 +54,7 @@ def hgvs(sample_ids, cohort_id, hgvs, call_state, clinvar):
|
|
|
54
54
|
"""
|
|
55
55
|
Query variants by HGVS notation
|
|
56
56
|
"""
|
|
57
|
-
targets = [HgvsTargetSchema(value=v) for v in hgvs]
|
|
57
|
+
targets = [TargetsInner(HgvsTargetSchema(value=v)) for v in hgvs]
|
|
58
58
|
|
|
59
59
|
request = GetVariantRequest(
|
|
60
60
|
sample_ids=list(sample_ids),
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: haplohub-cli
|
|
3
|
-
Version: 2.0
|
|
3
|
+
Version: 2.2.0
|
|
4
4
|
Summary: HaploHub Command Line Interface
|
|
5
5
|
Author-email: Mike Polcari <mike@haplotype-labs.com>, Ilya Khrustalev <ilya@haplotype-labs.com>
|
|
6
6
|
Requires-Python: >=3.8
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
8
8
|
Requires-Dist: click>=8.1.8
|
|
9
|
-
Requires-Dist: haplohub>=2.0
|
|
9
|
+
Requires-Dist: haplohub>=2.2.0
|
|
10
10
|
Requires-Dist: pendulum>=3.0.0
|
|
11
11
|
Requires-Dist: requests>=2.32.0
|
|
12
12
|
Requires-Dist: rich>=13.9.4
|
|
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
|
{haplohub_cli-2.0.2 → haplohub_cli-2.2.0}/haplohub_cli/commands/algorithm/result/__init__.py
RENAMED
|
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
|