ghga-transpiler 2.2.1__py3-none-any.whl → 2.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.
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
 
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
 
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
ghga_transpiler/cli.py CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
 
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
 
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
 
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
 
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -0,0 +1,172 @@
1
+ ghga_metadata_version: 2.1.0
2
+ default_settings:
3
+ header_row: 1
4
+ start_row: 7
5
+ start_column: 1
6
+ transformations:
7
+ attributes:
8
+ !!python/object/apply:ghga_transpiler.transformations.to_attributes []
9
+ format:
10
+ !!python/object/apply:ghga_transpiler.transformations.to_snake_case []
11
+ worksheets:
12
+ - settings:
13
+ end_column: 7
14
+ name: analyses
15
+ transformations:
16
+ research_data_files:
17
+ !!python/object/apply:ghga_transpiler.transformations.to_list []
18
+ sheet_name: Analysis
19
+ - settings:
20
+ end_column: 12
21
+ name: analysis_methods
22
+ transformations:
23
+ parameters:
24
+ !!python/object/apply:ghga_transpiler.transformations.to_attributes []
25
+ software_versions:
26
+ !!python/object/apply:ghga_transpiler.transformations.to_attributes []
27
+ attributes:
28
+ !!python/object/apply:ghga_transpiler.transformations.to_attributes []
29
+ sheet_name: AnalysisMethod
30
+ - settings:
31
+ end_column: 7
32
+ name: analysis_method_supporting_files
33
+ sheet_name: AnalysisMethodSupportingFile
34
+ - settings:
35
+ end_column: 7
36
+ name: studies
37
+ transformations:
38
+ affiliations:
39
+ !!python/object/apply:ghga_transpiler.transformations.to_list []
40
+ attributes:
41
+ !!python/object/apply:ghga_transpiler.transformations.to_attributes []
42
+ types:
43
+ !!python/object/apply:ghga_transpiler.transformations.to_snake_case_list []
44
+ attributes:
45
+ !!python/object/apply:ghga_transpiler.transformations.to_attributes []
46
+ sheet_name: Study
47
+ - settings:
48
+ end_column: 10
49
+ name: individuals
50
+ transformations:
51
+ phenotypic_features_terms:
52
+ !!python/object/apply:ghga_transpiler.transformations.to_list []
53
+ phenotypic_features_ids:
54
+ !!python/object/apply:ghga_transpiler.transformations.to_list []
55
+ diagnosis_ids:
56
+ !!python/object/apply:ghga_transpiler.transformations.to_list []
57
+ diagnosis_terms:
58
+ !!python/object/apply:ghga_transpiler.transformations.to_list []
59
+ sex:
60
+ !!python/object/apply:ghga_transpiler.transformations.to_snake_case []
61
+ ancestry_terms:
62
+ !!python/object/apply:ghga_transpiler.transformations.to_list []
63
+ ancestry_ids:
64
+ !!python/object/apply:ghga_transpiler.transformations.to_list []
65
+ sheet_name: Individual
66
+ - settings:
67
+ end_column: 7
68
+ name: individual_supporting_files
69
+ sheet_name: IndividualSupportingFile
70
+ - settings:
71
+ end_column: 21
72
+ name: samples
73
+ transformations:
74
+ type:
75
+ !!python/object/apply:ghga_transpiler.transformations.to_snake_case []
76
+ storage:
77
+ !!python/object/apply:ghga_transpiler.transformations.to_snake_case []
78
+ disease_or_healthy:
79
+ !!python/object/apply:ghga_transpiler.transformations.to_snake_case []
80
+ case_control_status:
81
+ !!python/object/apply:ghga_transpiler.transformations.to_snake_case []
82
+ xref: !!python/object/apply:ghga_transpiler.transformations.to_list []
83
+ biospecimen_age_at_sampling:
84
+ !!python/object/apply:ghga_transpiler.transformations.to_snake_case []
85
+ biospecimen_vital_status_at_sampling:
86
+ !!python/object/apply:ghga_transpiler.transformations.to_snake_case []
87
+ biospecimen_isolation:
88
+ !!python/object/apply:ghga_transpiler.transformations.to_snake_case []
89
+ biospecimen_storage:
90
+ !!python/object/apply:ghga_transpiler.transformations.to_snake_case []
91
+ attributes:
92
+ !!python/object/apply:ghga_transpiler.transformations.to_attributes []
93
+ sheet_name: Sample
94
+ - settings:
95
+ end_column: 23
96
+ name: experiment_methods
97
+ transformations:
98
+ library_type:
99
+ !!python/object/apply:ghga_transpiler.transformations.to_snake_case []
100
+ library_selection_methods:
101
+ !!python/object/apply:ghga_transpiler.transformations.to_snake_case_list []
102
+ library_preparation_kit_retail_name:
103
+ !!python/object/apply:ghga_transpiler.transformations.to_snake_case []
104
+ primer:
105
+ !!python/object/apply:ghga_transpiler.transformations.to_snake_case []
106
+ end_bias:
107
+ !!python/object/apply:ghga_transpiler.transformations.to_snake_case []
108
+ target_regions:
109
+ !!python/object/apply:ghga_transpiler.transformations.to_list []
110
+ rnaseq_strandedness:
111
+ !!python/object/apply:ghga_transpiler.transformations.to_snake_case []
112
+ instrument_model:
113
+ !!python/object/apply:ghga_transpiler.transformations.to_snake_case []
114
+ sequencing_layout:
115
+ !!python/object/apply:ghga_transpiler.transformations.to_snake_case []
116
+ flow_cell_type:
117
+ !!python/object/apply:ghga_transpiler.transformations.to_snake_case []
118
+ sample_barcode_read:
119
+ !!python/object/apply:ghga_transpiler.transformations.to_snake_case []
120
+ sequencing_layout:
121
+ !!python/object/apply:ghga_transpiler.transformations.to_snake_case []
122
+ attributes:
123
+ !!python/object/apply:ghga_transpiler.transformations.to_attributes []
124
+ sheet_name: ExperimentMethod
125
+ - settings:
126
+ end_column: 7
127
+ name: experiment_method_supporting_files
128
+ sheet_name: ExperimentMethodSupportingFile
129
+ - settings:
130
+ end_column: 8
131
+ name: experiments
132
+ sheet_name: Experiment
133
+ - settings:
134
+ end_column: 9
135
+ name: research_data_files
136
+ transformations:
137
+ experiments:
138
+ !!python/object/apply:ghga_transpiler.transformations.to_list []
139
+ format:
140
+ !!python/object/apply:ghga_transpiler.transformations.to_snake_case []
141
+ sheet_name: ResearchDataFile
142
+ - settings:
143
+ end_column: 7
144
+ name: process_data_files
145
+ sheet_name: ProcessDataFile
146
+ - settings:
147
+ end_column: 7
148
+ name: datasets
149
+ transformations:
150
+ types: !!python/object/apply:ghga_transpiler.transformations.to_list []
151
+ sheet_name: Dataset
152
+ - settings:
153
+ end_column: 11
154
+ name: data_access_policies
155
+ transformations:
156
+ data_use_modifier_terms:
157
+ !!python/object/apply:ghga_transpiler.transformations.to_snake_case_list []
158
+ data_use_permission_term:
159
+ !!python/object/apply:ghga_transpiler.transformations.to_snake_case []
160
+ data_use_modifier_ids:
161
+ !!python/object/apply:ghga_transpiler.transformations.to_list []
162
+ sheet_name: DataAccessPolicy
163
+ - settings:
164
+ end_column: 4
165
+ name: data_access_committees
166
+ sheet_name: DataAccessCommittee
167
+ - settings:
168
+ end_column: 9
169
+ name: publications
170
+ transformations:
171
+ xref: !!python/object/apply:ghga_transpiler.transformations.to_list []
172
+ sheet_name: Publication
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
 
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
ghga_transpiler/core.py CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
 
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
ghga_transpiler/io.py CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
 
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
- # Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
1
+ # Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
2
2
  # for the German Human Genome-Phenome Archive (GHGA)
3
3
 
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: ghga_transpiler
3
- Version: 2.2.1
3
+ Version: 2.3.2
4
4
  Summary: GHGA-Transpiler - excel to JSON converter
5
5
  Author-email: "German Human Genome Phenome Archive (GHGA)" <contact@ghga.de>
6
6
  License: Apache 2.0
@@ -16,15 +16,14 @@ Classifier: Intended Audience :: Developers
16
16
  Requires-Python: >=3.9
17
17
  Description-Content-Type: text/markdown
18
18
  License-File: LICENSE
19
- Requires-Dist: typer >=0.12
20
- Requires-Dist: openpyxl ==3.*,>=3.1.2
21
- Requires-Dist: defusedxml ==0.*,>=0.7
22
- Requires-Dist: pydantic <3,>=2.6
23
- Requires-Dist: PyYAML ~=6.0
24
- Requires-Dist: semver ==3.*
25
- Requires-Dist: eval-type-backport ==0.2.0 ; python_version < "3.10"
26
- Requires-Dist: exceptiongroup >=1.0.0 ; python_version < "3.11"
27
- Requires-Dist: tomli >=2.0.0 ; python_version < "3.11"
19
+ Requires-Dist: typer>=0.12
20
+ Requires-Dist: openpyxl==3.*,>=3.1.2
21
+ Requires-Dist: defusedxml==0.*,>=0.7
22
+ Requires-Dist: pydantic<3,>=2.6
23
+ Requires-Dist: PyYAML~=6.0
24
+ Requires-Dist: semver==3.*
25
+ Requires-Dist: click~=8.1.0
26
+ Dynamic: license-file
28
27
 
29
28
 
30
29
  [![tests](https://github.com/ghga-de/ghga-transpiler/actions/workflows/tests.yaml/badge.svg)](https://github.com/ghga-de/ghga-transpiler/actions/workflows/unit_and_int_tests.yaml)
@@ -0,0 +1,21 @@
1
+ ghga_transpiler/__init__.py,sha256=b_JlBjNvngOiIolsfKKbwonyfOtS7b5_LJKLuB5LyNQ,908
2
+ ghga_transpiler/__main__.py,sha256=k82ZsGuAOTrbqB4rCNkGOS-AWU8GICtD1_owfiey-Sk,847
3
+ ghga_transpiler/cli.py,sha256=CvRQdiprRj1ZHjXgHpZ7JhDoAum7WB-sdFyMKknjtxk,2522
4
+ ghga_transpiler/core.py,sha256=Fhf5pICDmVPKrUOhQNo6uN-mZB8mA1Vlyq3VGeeVSZ8,5235
5
+ ghga_transpiler/io.py,sha256=e9DT5l5UumX2NcBJOkrR0y7ho_FPvK914WeFRZ4rOjw,1805
6
+ ghga_transpiler/transformations.py,sha256=th320v3teZwjn13T-xS9n2_lCrBo5Wrl9wq0qOnbMEs,2222
7
+ ghga_transpiler/config/__init__.py,sha256=CsnuJcqYMBx5zDcMgAzuKGRs5GQSS9N0evzDZ-T_g7k,817
8
+ ghga_transpiler/config/config.py,sha256=YlIMQwnnpi8BelrdHtbZpJsp9RfwHCDZ56tCvU89wts,3823
9
+ ghga_transpiler/config/exceptions.py,sha256=WB0YM5hJAn7iVGB_SY0p6Q4D0do1ti7AM4pKnMyVfLc,1090
10
+ ghga_transpiler/configs/0.10.yaml,sha256=hsS8xwzJ00SRSb-VIfM-oM8UM0hOdR3xeuflf1fra4Y,5683
11
+ ghga_transpiler/configs/1.0.yaml,sha256=MgSEkDpZjn7I76uLFAfpCfmOqOaCBjEojn6VDX6TnUc,5683
12
+ ghga_transpiler/configs/1.1.yaml,sha256=rgxTV7bEVMwk1UeJ8hAeCZcqTwX10KXQKoaYnpV0bxI,5683
13
+ ghga_transpiler/configs/2.0.yaml,sha256=3lwXFjtbEW-mWGj99d3PaWJflLnuy7WAS5AvNubDJlI,6637
14
+ ghga_transpiler/configs/2.1.yaml,sha256=A-vJbxUcW0yyAKpgz2IkN81n92wxIC2A3sYEq-UZ9d0,6738
15
+ ghga_transpiler/configs/__init__.py,sha256=xL0pfHoTdBh0LhdqA8lpdhp3W68HJVXF7AURhBM7pU4,686
16
+ ghga_transpiler-2.3.2.dist-info/licenses/LICENSE,sha256=nKgIWA3zoWy18_YSW6e9Gd6_p7d7ccwjNZrfJzvKALE,11452
17
+ ghga_transpiler-2.3.2.dist-info/METADATA,sha256=dGGbq4pUOGx8ABI06_5844wczf5ctsJW0pd6awMs_q0,4452
18
+ ghga_transpiler-2.3.2.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
19
+ ghga_transpiler-2.3.2.dist-info/entry_points.txt,sha256=Fr_VQJynZZl95NXjrQW2gE0bCocgjKVNEZQpaLls8po,65
20
+ ghga_transpiler-2.3.2.dist-info/top_level.txt,sha256=TksRpDO3Y4mvK-B09UhQU3ceZpG19fljNlVDGTfjg8o,16
21
+ ghga_transpiler-2.3.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (72.0.0)
2
+ Generator: setuptools (80.7.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -186,7 +186,7 @@
186
186
  same "printed page" as the copyright notice for easier
187
187
  identification within third-party archives.
188
188
 
189
- Copyright 2021 - 2024 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
189
+ Copyright 2021 - 2025 Universität Tübingen, DKFZ, EMBL, and Universität zu Köln
190
190
  for the German Human Genome-Phenome Archive (GHGA)
191
191
 
192
192
  Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,20 +0,0 @@
1
- ghga_transpiler/__init__.py,sha256=58eVmIOrztgGdUW8SxujAGlzfj0Rg4iMwp4RiXldbcU,908
2
- ghga_transpiler/__main__.py,sha256=EVGi0SsK--oaDF_c6PhVvNyPDnItrJzVapNAsKhgBmM,847
3
- ghga_transpiler/cli.py,sha256=76TEXMPUCVnFqoQQWDvLBNw2iNjv3LgXAkJK-qjJNrE,2522
4
- ghga_transpiler/core.py,sha256=i3JIaqWNsHryEphEHWOlLUI0BRUkTHGdphCs4KvMawY,5235
5
- ghga_transpiler/io.py,sha256=T0P4BHCxIDny58v7H8B27eNEBnwghEp_OhYOOqpfTVw,1805
6
- ghga_transpiler/transformations.py,sha256=Ii1CMBo9Ng43zZDfpHjOLaZ-9rCKFAvU42qBew6O2A0,2222
7
- ghga_transpiler/config/__init__.py,sha256=f8b3Le48ZrbOwRA5MVf6V6zqKFtxii9SQZMvvx1ulz8,817
8
- ghga_transpiler/config/config.py,sha256=k4LC_7-9kBLqWC2oahuZDOFpJpeOSoI4vhuhOi4f8kQ,3823
9
- ghga_transpiler/config/exceptions.py,sha256=H2xLk9YV3yHuwBDxQDgumbymX_-xSXctlh-rrIxv8Qw,1090
10
- ghga_transpiler/configs/0.10.yaml,sha256=hsS8xwzJ00SRSb-VIfM-oM8UM0hOdR3xeuflf1fra4Y,5683
11
- ghga_transpiler/configs/1.0.yaml,sha256=MgSEkDpZjn7I76uLFAfpCfmOqOaCBjEojn6VDX6TnUc,5683
12
- ghga_transpiler/configs/1.1.yaml,sha256=rgxTV7bEVMwk1UeJ8hAeCZcqTwX10KXQKoaYnpV0bxI,5683
13
- ghga_transpiler/configs/2.0.yaml,sha256=3lwXFjtbEW-mWGj99d3PaWJflLnuy7WAS5AvNubDJlI,6637
14
- ghga_transpiler/configs/__init__.py,sha256=109RyIL2rxVrEiOS9D0q-PGVqw1_VZblvvFxOh4ZUjU,686
15
- ghga_transpiler-2.2.1.dist-info/LICENSE,sha256=fBYaxYJmvm_AQEYU4gRvUAWbqhO0bgqPj9Yl6f8RXuU,11452
16
- ghga_transpiler-2.2.1.dist-info/METADATA,sha256=j6xZq_k-yZVenxGCcXgF0xZDuQUs7ckcAGb6LlRT8Yc,4595
17
- ghga_transpiler-2.2.1.dist-info/WHEEL,sha256=Rp8gFpivVLXx-k3U95ozHnQw8yDcPxmhOpn_Gx8d5nc,91
18
- ghga_transpiler-2.2.1.dist-info/entry_points.txt,sha256=Fr_VQJynZZl95NXjrQW2gE0bCocgjKVNEZQpaLls8po,65
19
- ghga_transpiler-2.2.1.dist-info/top_level.txt,sha256=TksRpDO3Y4mvK-B09UhQU3ceZpG19fljNlVDGTfjg8o,16
20
- ghga_transpiler-2.2.1.dist-info/RECORD,,