You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+37-2
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
4
4
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
- New logs-to-excel function to create an excel file given a list of log-summary.json files [#300](https://github.com/BU-ISCIII/relecov-tools/pull/300)
37
+
38
+
#### Added enhancements
39
+
40
+
- Included a way to extract pango-designation version in read-bioinfo-metadata [#299](https://github.com/BU-ISCIII/relecov-tools/pull/299)
41
+
- Now log_summary.py also creates an excel file with the process logs [#300](https://github.com/BU-ISCIII/relecov-tools/pull/300)
42
+
- Read-bioinfo-metadata splits files and data by batch of samples [#306](https://github.com/BU-ISCIII/relecov-tools/pull/306)
43
+
- Included a sleep time in test_sftp-handle to avoid concurrency check failure [#308](https://github.com/BU-ISCIII/relecov-tools/pull/308)
44
+
45
+
#### Fixes
46
+
47
+
- Fixes in launch_pipeline including creation of samples_id.txt and joined validated json [#303](https://github.com/BU-ISCIII/relecov-tools/pull/303)
48
+
- Fixed failing module_tests.yml workflow due to deprecated upload-artifact version [#308](https://github.com/BU-ISCIII/relecov-tools/pull/308)
49
+
50
+
#### Changed
51
+
52
+
- Changed pypi_publish action to publish on every release, no need to push tags [#308](https://github.com/BU-ISCIII/relecov-tools/pull/308)
53
+
54
+
#### Removed
55
+
56
+
- Removed only_samples argument in log_summary.py as it was not used in any module. [#300](https://github.com/BU-ISCIII/relecov-tools/pull/300)
- Note: Software-specific configurations are available in [bioinfo_config.json](./relecov_tools/conf/bioinfo_config.json).
161
162
162
163
#### validate
163
-
`validate` commands validate the data in json format outputted by `read-metadata` command against a json schema, in this case the relecov [schema specification](./relecov_tools/schema/relecov_schema.json).
164
+
`validate` commands validate the data in json format outputted by `read-metadata` command against a json schema, in this case the relecov [schema specification](./relecov_tools/schema/relecov_schema.json). It also creates a summary of the errors and warnings found in excel format as a report to the users.
-t, --type Select the type of information to upload to database [sample,bioinfodata,variantdata]
247
248
-d, --databaseServer Name of the database server receiving the data [iskylims,relecov]
248
249
250
+
#### launch-pipeline
251
+
Create the folder structure to execute the given pipeline for the latest sample batches after executing download, read-lab-metadata and validate modules. This module will create symbolic links for each sample and generate the necessary files for pipeline execution using the information from validated_BATCH-NAME_DATE.json.
252
+
```
253
+
Usage: relecov-tools launch-pipeline [OPTIONS]
254
+
255
+
Create the symbolic links for the samples which are validated to prepare for
256
+
bioinformatics pipeline execution.
257
+
258
+
Options:
259
+
-i, --input PATH Path to the input folder where sample files are located
260
+
-t, --template PATH Path to the pipeline template folder to be copied in the output folder
261
+
-c, --config PATH Path to the the template config file
262
+
-o, --out_dir PATH Path to output folder
263
+
--help Show this message and exit.
264
+
```
265
+
266
+
#### logs-to-excel
267
+
Creates an xlsx file with all the entries found for a specified laboratory in a given set of log_summary.json files (from log-summary module). The laboratory name must match the name of one of the keys in the provided logs to work.
268
+
```
269
+
Usage: relecov-tools logs-to-excel [OPTIONS]
270
+
271
+
Creates a merged xlsx report from all the log summary jsons given as input
272
+
273
+
Options:
274
+
-l, --lab_name Name for target laboratory in log-summary.json files
275
+
-o, --output_folder Path to output folder where xlsx file is saved
276
+
-f, --files Paths to log_summary.json files to merge into xlsx file, called once per file
277
+
```
278
+
249
279
### build-schema
250
280
The `build-schema` module provides functionality to generate and manage JSON Schema files based on database definitions from Excel spreadsheets. It automates the creation of JSON Schemas, including validation, drafting, and comparison with existing schemas.
251
281
@@ -289,22 +319,6 @@ required (Y/N): Indicates if the property is required (Y) or optional (N).
289
319
complex_field (Y/N): Indicates if the property is a complex (nested) field (Y) or a standard field (N).
290
320
```
291
321
292
-
#### launch-pipeline
293
-
Create the folder structure to execute the given pipeline for the latest sample batches after executing download, read-lab-metadata and validate modules. This module will create symbolic links for each sample and generate the necessary files for pipeline execution using the information from validated_BATCH-NAME_DATE.json.
294
-
```
295
-
Usage: relecov-tools launch-pipeline [OPTIONS]
296
-
297
-
Create the symbolic links for the samples which are validated to prepare for
298
-
bioinformatics pipeline execution.
299
-
300
-
Options:
301
-
-i, --input PATH Path to the input folder where sample files are located
302
-
-t, --template PATH Path to the pipeline template folder to be copied in the output folder
303
-
-c, --config PATH Path to the the template config file
304
-
-o, --out_dir PATH Path to output folder
305
-
--help Show this message and exit.
306
-
```
307
-
308
322
#### custom logs
309
323
After executing each of these modules, you may find a custom log report in json format named "DATE_EXECUTED-MODULE_log_summary.json. These custom log summaries can be useful to detect errors in metadata in order to fix them and/or notify the users.
help="Path to the base schema file. This file is used as a reference to compare it with the schema generated using this module. (Default: installed schema in 'relecov-tools/relecov_tools/schema/relecov_schema.json')",
584
+
required=False,
585
+
)
586
+
defwrapper(config_file, output_folder):
587
+
"""Executes the modules in config file sequentially"""
0 commit comments