grz-cli 1.0.2__tar.gz → 1.1.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.
- {grz_cli-1.0.2 → grz_cli-1.1.0}/CHANGELOG.md +24 -0
- {grz_cli-1.0.2 → grz_cli-1.1.0}/PKG-INFO +8 -5
- {grz_cli-1.0.2 → grz_cli-1.1.0}/README.md +5 -2
- {grz_cli-1.0.2 → grz_cli-1.1.0}/pyproject.toml +2 -2
- grz_cli-1.1.0/src/grz_cli/__init__.py +1 -0
- {grz_cli-1.0.2 → grz_cli-1.1.0}/src/grz_cli/commands/validate.py +12 -3
- grz_cli-1.0.2/src/grz_cli/__init__.py +0 -1
- {grz_cli-1.0.2 → grz_cli-1.1.0}/.gitignore +0 -0
- {grz_cli-1.0.2 → grz_cli-1.1.0}/LICENSE +0 -0
- {grz_cli-1.0.2 → grz_cli-1.1.0}/MANIFEST.in +0 -0
- {grz_cli-1.0.2 → grz_cli-1.1.0}/src/__init__.py +0 -0
- {grz_cli-1.0.2 → grz_cli-1.1.0}/src/grz_cli/cli.py +0 -0
- {grz_cli-1.0.2 → grz_cli-1.1.0}/src/grz_cli/commands/__init__.py +0 -0
- {grz_cli-1.0.2 → grz_cli-1.1.0}/src/grz_cli/commands/encrypt.py +0 -0
- {grz_cli-1.0.2 → grz_cli-1.1.0}/src/grz_cli/commands/submit.py +0 -0
- {grz_cli-1.0.2 → grz_cli-1.1.0}/src/grz_cli/commands/upload.py +0 -0
- {grz_cli-1.0.2 → grz_cli-1.1.0}/src/grz_cli/constants.py +0 -0
- {grz_cli-1.0.2 → grz_cli-1.1.0}/src/grz_cli/logging_setup.py +0 -0
- {grz_cli-1.0.2 → grz_cli-1.1.0}/src/grz_cli/models/__init__.py +0 -0
- {grz_cli-1.0.2 → grz_cli-1.1.0}/src/grz_cli/models/config.py +0 -0
- {grz_cli-1.0.2 → grz_cli-1.1.0}/src/grz_cli/py.typed +0 -0
- {grz_cli-1.0.2 → grz_cli-1.1.0}/uv.lock +0 -0
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.1.0](https://github.com/BfArM-MVH/grz-tools/compare/grz-cli-v1.0.3...grz-cli-v1.1.0) (2025-07-21)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **grz-cli,grzctl,grz-check:** Add grz-check ([#240](https://github.com/BfArM-MVH/grz-tools/issues/240)) ([57048f6](https://github.com/BfArM-MVH/grz-tools/commit/57048f66888cb566887e627a2b973c3f8b1b83c5))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **grz-cli,grzctl:** bump deps to make VCFs optional ([#291](https://github.com/BfArM-MVH/grz-tools/issues/291)) ([fe4ac2f](https://github.com/BfArM-MVH/grz-tools/commit/fe4ac2f8230b804ad9ec2c6d2102207ab97b0365))
|
|
14
|
+
|
|
15
|
+
## [1.0.3](https://github.com/BfArM-MVH/grz-tools/compare/grz-cli-v1.0.2...grz-cli-v1.0.3) (2025-07-14)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **grzctl,grz-cli:** bump grz-pydantic-models for end-to-end tests ([#274](https://github.com/BfArM-MVH/grz-tools/issues/274)) ([a1ed791](https://github.com/BfArM-MVH/grz-tools/commit/a1ed791f1f9fce52d08f8e70fba12a674336d250))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Documentation
|
|
24
|
+
|
|
25
|
+
* **grz-cli:** fix Conda update instructions ([#277](https://github.com/BfArM-MVH/grz-tools/issues/277)) ([fd6e054](https://github.com/BfArM-MVH/grz-tools/commit/fd6e054a8f8e80e1d3ab659ca1b9906199030c18))
|
|
26
|
+
|
|
3
27
|
## [1.0.2](https://github.com/BfArM-MVH/grz-tools/compare/grz-cli-v1.0.1...grz-cli-v1.0.2) (2025-07-04)
|
|
4
28
|
|
|
5
29
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: grz-cli
|
|
3
|
-
Version: 1.0
|
|
3
|
+
Version: 1.1.0
|
|
4
4
|
Summary: Tool for validation, encryption and upload of MV submissions to GDCs.
|
|
5
5
|
Project-URL: Homepage, https://github.com/BfArM-MVH/grz-tools
|
|
6
6
|
Project-URL: Repository, https://github.com/BfArM-MVH/grz-tools
|
|
@@ -16,8 +16,8 @@ Requires-Python: >=3.12
|
|
|
16
16
|
Requires-Dist: boto3<2,>=1.36
|
|
17
17
|
Requires-Dist: click<9,>=8.2
|
|
18
18
|
Requires-Dist: crypt4gh<2,>=1.7
|
|
19
|
-
Requires-Dist: grz-common<2,>=1.0.
|
|
20
|
-
Requires-Dist: grz-pydantic-models<3,>=2.
|
|
19
|
+
Requires-Dist: grz-common<2,>=1.0.3
|
|
20
|
+
Requires-Dist: grz-pydantic-models<3,>=2.1.1
|
|
21
21
|
Requires-Dist: jsonschema<5,>=4.23.0
|
|
22
22
|
Requires-Dist: platformdirs<5,>=4.3.6
|
|
23
23
|
Requires-Dist: pydantic-settings<2.10,>=2.9.0
|
|
@@ -115,10 +115,12 @@ conda create -n grz-tools -c conda-forge -c bioconda "grz-cli"
|
|
|
115
115
|
conda activate grz-tools
|
|
116
116
|
```
|
|
117
117
|
|
|
118
|
-
##### Update instructions
|
|
118
|
+
##### Update instructions
|
|
119
|
+
|
|
119
120
|
Use the following command to update the tool:
|
|
121
|
+
|
|
120
122
|
```bash
|
|
121
|
-
conda update -n grz-tools
|
|
123
|
+
conda update -n grz-tools -c conda-forge -c bioconda grz-cli
|
|
122
124
|
```
|
|
123
125
|
|
|
124
126
|
|
|
@@ -139,6 +141,7 @@ pip upgrade grz-cli
|
|
|
139
141
|
#### Docker
|
|
140
142
|
Docker images are available via biocontainers at [https://biocontainers.pro/tools/grz-cli](https://biocontainers.pro/tools/grz-cli).
|
|
141
143
|
|
|
144
|
+
The build process can take at least a few days after the Bioconda release, so double-check that the latest version in Bioconda is also the latest Docker image version.
|
|
142
145
|
|
|
143
146
|
## Usage
|
|
144
147
|
|
|
@@ -84,10 +84,12 @@ conda create -n grz-tools -c conda-forge -c bioconda "grz-cli"
|
|
|
84
84
|
conda activate grz-tools
|
|
85
85
|
```
|
|
86
86
|
|
|
87
|
-
##### Update instructions
|
|
87
|
+
##### Update instructions
|
|
88
|
+
|
|
88
89
|
Use the following command to update the tool:
|
|
90
|
+
|
|
89
91
|
```bash
|
|
90
|
-
conda update -n grz-tools
|
|
92
|
+
conda update -n grz-tools -c conda-forge -c bioconda grz-cli
|
|
91
93
|
```
|
|
92
94
|
|
|
93
95
|
|
|
@@ -108,6 +110,7 @@ pip upgrade grz-cli
|
|
|
108
110
|
#### Docker
|
|
109
111
|
Docker images are available via biocontainers at [https://biocontainers.pro/tools/grz-cli](https://biocontainers.pro/tools/grz-cli).
|
|
110
112
|
|
|
113
|
+
The build process can take at least a few days after the Bioconda release, so double-check that the latest version in Bioconda is also the latest Docker image version.
|
|
111
114
|
|
|
112
115
|
## Usage
|
|
113
116
|
|
|
@@ -22,11 +22,11 @@ dependencies = [
|
|
|
22
22
|
"pydantic >=2.9.2,<2.10",
|
|
23
23
|
"pydantic-settings >=2.9.0,<2.10",
|
|
24
24
|
"platformdirs >=4.3.6,<5",
|
|
25
|
-
"grz-pydantic-models >=2.
|
|
25
|
+
"grz-pydantic-models >=2.1.1,<3",
|
|
26
26
|
"pysam ==0.23.*",
|
|
27
27
|
"rich ==13.*",
|
|
28
28
|
"requests >=2.32.3,<3",
|
|
29
|
-
"grz-common >=1.0.
|
|
29
|
+
"grz-common >=1.0.3,<2",
|
|
30
30
|
]
|
|
31
31
|
classifiers = [
|
|
32
32
|
"Programming Language :: Python :: 3",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.1.0"
|
|
@@ -5,7 +5,7 @@ from pathlib import Path
|
|
|
5
5
|
|
|
6
6
|
import click
|
|
7
7
|
from grz_cli.models.config import ValidateConfig
|
|
8
|
-
from grz_common.cli import config_file, force, submission_dir
|
|
8
|
+
from grz_common.cli import config_file, force, submission_dir, threads
|
|
9
9
|
from grz_common.workers.worker import Worker
|
|
10
10
|
|
|
11
11
|
log = logging.getLogger(__name__)
|
|
@@ -15,7 +15,15 @@ log = logging.getLogger(__name__)
|
|
|
15
15
|
@submission_dir
|
|
16
16
|
@config_file
|
|
17
17
|
@force
|
|
18
|
-
|
|
18
|
+
@threads
|
|
19
|
+
@click.option(
|
|
20
|
+
"--with-grz-check/--no-grz-check",
|
|
21
|
+
"with_grz_check",
|
|
22
|
+
default=True,
|
|
23
|
+
hidden=True,
|
|
24
|
+
help="Whether to use grz-check to perform validation",
|
|
25
|
+
)
|
|
26
|
+
def validate(submission_dir, config_file, force, threads, with_grz_check):
|
|
19
27
|
"""
|
|
20
28
|
Validate the submission.
|
|
21
29
|
|
|
@@ -33,7 +41,8 @@ def validate(submission_dir, config_file, force):
|
|
|
33
41
|
files_dir=submission_dir / "files",
|
|
34
42
|
log_dir=submission_dir / "logs",
|
|
35
43
|
encrypted_files_dir=submission_dir / "encrypted_files",
|
|
44
|
+
threads=threads,
|
|
36
45
|
)
|
|
37
|
-
worker_inst.validate(identifiers=config.identifiers, force=force)
|
|
46
|
+
worker_inst.validate(identifiers=config.identifiers, force=force, with_grz_check=with_grz_check)
|
|
38
47
|
|
|
39
48
|
log.info("Validation finished!")
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.0.2"
|
|
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
|