samplesheet-parser 2.5.1__tar.gz → 2.5.2__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.
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/.zenodo.json +1 -1
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/CHANGELOG.md +11 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/CITATION.cff +2 -2
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/PKG-INFO +1 -1
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/docs/cli.md +2 -2
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/paper.bib +2 -2
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/paper.md +1 -1
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/pyproject.toml +1 -1
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/samplesheet_parser/cli.py +9 -7
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/test_cli.py +7 -4
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/.github/workflows/ci.yml +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/.github/workflows/copilot-instructions.md +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/.gitignore +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/.pre-commit-config.yaml +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/.readthedocs.yaml +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/CODE_OF_CONDUCT.md +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/CONTRIBUTING.md +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/LICENSE +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/Makefile +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/README.md +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/docs/api.md +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/docs/changelog.md +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/docs/ci.md +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/docs/contributing.md +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/docs/examples.md +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/docs/guide/conversion.md +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/docs/guide/diffing.md +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/docs/guide/filtering.md +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/docs/guide/index_utils.md +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/docs/guide/merging.md +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/docs/guide/parsing.md +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/docs/guide/quickstart.md +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/docs/guide/splitting.md +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/docs/guide/validation.md +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/docs/guide/writing.md +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/docs/index.md +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/docs/installation.md +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/docs/requirements.txt +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/eval/FINDINGS.md +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/eval/README.md +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/eval/__init__.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/eval/generate_corpus.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/eval/reference_rules.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/eval/run_eval.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/demo_color_balance.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/demo_converter.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/demo_diff.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/demo_element_aviti.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/demo_filter.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/demo_index_utils.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/demo_merger.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/demo_splitter.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/demo_writer.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/parse_examples.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/sample_sheets/ProjectAlpha_SampleSheet.csv +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/sample_sheets/ProjectBeta_SampleSheet.csv +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/sample_sheets/ProjectDelta_SampleSheet_collision.csv +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/sample_sheets/ProjectGamma_SampleSheet.csv +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/sample_sheets/README.md +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/sample_sheets/combined_clean.csv +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/sample_sheets/combined_collision_forced.csv +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/sample_sheets/combined_mixed_formats.csv +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/sample_sheets/element_aviti_RunManifest.csv +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/sample_sheets/v1_dual_index.csv +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/sample_sheets/v1_multi_lane.csv +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/sample_sheets/v1_single_index.csv +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/sample_sheets/v1_with_lab_qc_settings.csv +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/sample_sheets/v1_with_manifests.csv +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/sample_sheets/v2_nextseq_single_index.csv +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/sample_sheets/v2_novaseq_x_dual_index.csv +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/sample_sheets/v2_with_cloud_settings.csv +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/sample_sheets/v2_with_index_umi.csv +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/sample_sheets/v2_with_pipeline_settings.csv +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/sample_sheets/v2_with_read_umi.csv +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/images/samplesheet_parser_arch_v03.png +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/images/samplesheet_parser_arch_v2.3.png +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/images/samplesheet_parser_overview.png +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/mkdocs.yml +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/convert/environment.yml +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/convert/main.nf +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/convert/meta.yml +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/convert/tests/main.nf.test +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/diff/environment.yml +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/diff/main.nf +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/diff/meta.yml +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/diff/tests/main.nf.test +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/diff/tests/main.nf.test.snap +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/filter/environment.yml +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/filter/main.nf +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/filter/meta.yml +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/filter/tests/main.nf.test +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/filter/tests/nextflow.config +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/info/environment.yml +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/info/main.nf +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/info/meta.yml +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/info/tests/main.nf.test +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/info/tests/main.nf.test.snap +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/merge/environment.yml +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/merge/main.nf +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/merge/meta.yml +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/merge/tests/main.nf.test +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/split/environment.yml +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/split/main.nf +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/split/meta.yml +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/split/tests/main.nf.test +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/validate/environment.yml +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/validate/main.nf +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/validate/meta.yml +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/validate/tests/main.nf.test +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/validate/tests/main.nf.test.snap +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/samplesheet_parser/__init__.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/samplesheet_parser/chemistry.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/samplesheet_parser/converter.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/samplesheet_parser/diff.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/samplesheet_parser/enums.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/samplesheet_parser/factory.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/samplesheet_parser/filter.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/samplesheet_parser/index_utils.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/samplesheet_parser/instruments.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/samplesheet_parser/merger.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/samplesheet_parser/parsers/__init__.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/samplesheet_parser/parsers/element.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/samplesheet_parser/parsers/v1.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/samplesheet_parser/parsers/v2.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/samplesheet_parser/protocol.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/samplesheet_parser/py.typed +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/samplesheet_parser/splitter.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/samplesheet_parser/validators.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/samplesheet_parser/writer.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/scripts/demo_converter.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/scripts/demo_diff.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/scripts/demo_writer.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/__init__.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/conftest.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/fixtures/SampleSheet_v1_dual_index.csv +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/fixtures/SampleSheet_v2_dual_index.csv +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/fixtures/SampleSheet_v2_modified.csv +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/test_chemistry.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/test_converter.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/test_diff.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/test_eval.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/test_factory.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/test_filter.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/test_index_utils.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/test_instruments.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/test_merger.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/test_parsers/__init__.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/test_parsers/test_element.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/test_parsers/test_v1.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/test_parsers/test_v2.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/test_reference_rules.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/test_splitter.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/test_validators/__init__.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/test_validators/test_hamming.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/test_validators/test_validators.py +0 -0
- {samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/test_writer.py +0 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"upload_type": "software",
|
|
5
5
|
"access_right": "open",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
|
-
"version": "2.5.
|
|
7
|
+
"version": "2.5.2",
|
|
8
8
|
"keywords": [
|
|
9
9
|
"bioinformatics", "Illumina", "Element AVITI", "avidity", "SampleSheet",
|
|
10
10
|
"BCLConvert", "color balance", "multi-vendor", "demultiplexing",
|
|
@@ -10,6 +10,17 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
|
10
10
|
|
|
11
11
|
_No unreleased changes._
|
|
12
12
|
|
|
13
|
+
## [2.5.2] - 2026-08-26
|
|
14
|
+
|
|
15
|
+
### Changed (behavioral)
|
|
16
|
+
|
|
17
|
+
- **`merge` and `split` no longer exit non-zero on warnings.** Warnings are
|
|
18
|
+
advisory, so `merge` now exits 0 on a successful merge (1 only when genuine
|
|
19
|
+
conflicts are present) and `split` exits 0 on success regardless of warnings.
|
|
20
|
+
Previously a warning-only run exited 1, which caused workflow engines (e.g.
|
|
21
|
+
Nextflow) to kill the task even though valid output was written. Hard errors
|
|
22
|
+
still exit 2.
|
|
23
|
+
|
|
13
24
|
## [2.5.1] - 2026-08-23
|
|
14
25
|
|
|
15
26
|
### Fixed
|
|
@@ -11,8 +11,8 @@ abstract: >
|
|
|
11
11
|
(including wildcard-aware Hamming-distance collision detection), and
|
|
12
12
|
instrument-aware optical color-balance checking for four-, two-, and
|
|
13
13
|
one-channel Illumina chemistries and Element AVITI avidity chemistry.
|
|
14
|
-
version: 2.5.
|
|
15
|
-
date-released: 2026-08-
|
|
14
|
+
version: 2.5.2
|
|
15
|
+
date-released: 2026-08-26
|
|
16
16
|
license: Apache-2.0
|
|
17
17
|
url: "https://github.com/chaitanyakasaraneni/samplesheet-parser"
|
|
18
18
|
repository-code: "https://github.com/chaitanyakasaraneni/samplesheet-parser"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: samplesheet-parser
|
|
3
|
-
Version: 2.5.
|
|
3
|
+
Version: 2.5.2
|
|
4
4
|
Summary: Multi-vendor, format-agnostic parser for sequencing sample sheets — Illumina IEM V1 & BCLConvert V2 plus Element AVITI run manifests, with index validation and color-balance checking
|
|
5
5
|
Project-URL: Homepage, https://github.com/chaitanyakasaraneni/samplesheet-parser
|
|
6
6
|
Project-URL: Documentation, https://samplesheet-parser.readthedocs.io
|
|
@@ -211,7 +211,7 @@ samplesheet split combined.csv --output-dir ./out/ --prefix Run001_ --format jso
|
|
|
211
211
|
|---|---|---|
|
|
212
212
|
| `--by` | `project` | Grouping strategy: `project` or `lane` |
|
|
213
213
|
| `--output-dir` / `-d` | `./split/` | Directory in which to write output files |
|
|
214
|
-
| `--to` |
|
|
214
|
+
| `--to` | `v2` | Target format: `v1` or `v2` |
|
|
215
215
|
| `--format` / `-f` | `text` | Output format: `text` or `json` |
|
|
216
216
|
| `--prefix` | `""` | String prepended to each output filename |
|
|
217
217
|
|
|
@@ -253,7 +253,7 @@ samplesheet filter combined.csv --project ProjectA --output out.csv --format jso
|
|
|
253
253
|
| `--lane` / `-l` | — | Keep only samples from this lane |
|
|
254
254
|
| `--sample-id` / `-s` | — | Keep only samples matching this ID or glob pattern |
|
|
255
255
|
| `--output` / `-o` | `SampleSheet_filtered.csv` | Output file path |
|
|
256
|
-
| `--to` |
|
|
256
|
+
| `--to` | `v2` | Target format: `v1` or `v2` |
|
|
257
257
|
| `--format` / `-f` | `text` | Output format: `text` or `json` |
|
|
258
258
|
|
|
259
259
|
At least one of `--project`, `--lane`, or `--sample-id` is required. Multiple criteria are ANDed.
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
title = {samplesheet-parser: A multi-vendor parser, validator, and converter for sequencing sample sheets},
|
|
65
65
|
author = {Kasaraneni, Chaitanya Krishna},
|
|
66
66
|
year = {2026},
|
|
67
|
-
version = {2.5.
|
|
67
|
+
version = {2.5.2},
|
|
68
68
|
doi = {10.5281/zenodo.18989694},
|
|
69
69
|
url = {https://doi.org/10.5281/zenodo.18989694},
|
|
70
|
-
note = {Zenodo concept DOI (all versions). Latest release: v2.5.
|
|
70
|
+
note = {Zenodo concept DOI (all versions). Latest release: v2.5.2}
|
|
71
71
|
}
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "samplesheet-parser"
|
|
7
|
-
version = "2.5.
|
|
7
|
+
version = "2.5.2"
|
|
8
8
|
description = "Multi-vendor, format-agnostic parser for sequencing sample sheets — Illumina IEM V1 & BCLConvert V2 plus Element AVITI run manifests, with index validation and color-balance checking"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { file = "LICENSE" }
|
|
@@ -576,8 +576,8 @@ if _TYPER_AVAILABLE:
|
|
|
576
576
|
mismatches across sheets. Mixed V1/V2 inputs are auto-converted to the
|
|
577
577
|
target format.
|
|
578
578
|
|
|
579
|
-
Exits 0 on
|
|
580
|
-
Exits 1 if conflicts
|
|
579
|
+
Exits 0 on a successful merge (warnings are allowed).
|
|
580
|
+
Exits 1 if conflicts were found.
|
|
581
581
|
Exits 2 on bad arguments or unreadable files.
|
|
582
582
|
"""
|
|
583
583
|
from samplesheet_parser.merger import SampleSheetMerger
|
|
@@ -641,8 +641,9 @@ if _TYPER_AVAILABLE:
|
|
|
641
641
|
if result.output_path:
|
|
642
642
|
typer.echo(f"\nOutput: {result.output_path}")
|
|
643
643
|
|
|
644
|
-
|
|
645
|
-
|
|
644
|
+
# Warnings are advisory and do not fail the command; only genuine
|
|
645
|
+
# conflicts (which prevent a valid merged sheet) exit non-zero.
|
|
646
|
+
raise typer.Exit(code=1 if result.has_conflicts else 0)
|
|
646
647
|
|
|
647
648
|
# ---------------------------------------------------------------------------
|
|
648
649
|
# split
|
|
@@ -685,8 +686,7 @@ if _TYPER_AVAILABLE:
|
|
|
685
686
|
the sample rows are divided. Output filenames are
|
|
686
687
|
``{prefix}{group}_SampleSheet.csv``.
|
|
687
688
|
|
|
688
|
-
Exits 0 on success.
|
|
689
|
-
Exits 1 if warnings were produced (e.g. samples with no project).
|
|
689
|
+
Exits 0 on success (warnings are allowed).
|
|
690
690
|
Exits 2 on bad arguments or unreadable files.
|
|
691
691
|
"""
|
|
692
692
|
from samplesheet_parser.splitter import SampleSheetSplitter
|
|
@@ -732,7 +732,9 @@ if _TYPER_AVAILABLE:
|
|
|
732
732
|
for w in result.warnings:
|
|
733
733
|
typer.echo(f" {w}")
|
|
734
734
|
|
|
735
|
-
|
|
735
|
+
# Warnings are advisory and do not fail the command; a successful split
|
|
736
|
+
# exits 0 regardless of warnings.
|
|
737
|
+
raise typer.Exit(code=0)
|
|
736
738
|
|
|
737
739
|
# ---------------------------------------------------------------------------
|
|
738
740
|
# filter
|
|
@@ -964,8 +964,9 @@ class TestCLIMerge:
|
|
|
964
964
|
c = _write(tmp_path, "c.csv", _V2_C)
|
|
965
965
|
out = tmp_path / "combined.csv"
|
|
966
966
|
result = runner.invoke(app, ["merge", str(a), str(b), str(c), "--output", str(out)])
|
|
967
|
-
# Mixed
|
|
968
|
-
|
|
967
|
+
# Mixed-format warning is advisory: the merge succeeds (exit 0) and the
|
|
968
|
+
# file is written. Only conflicts exit non-zero.
|
|
969
|
+
assert result.exit_code == 0
|
|
969
970
|
assert out.exists()
|
|
970
971
|
|
|
971
972
|
def test_merge_exception_exits_2(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:
|
|
@@ -1101,11 +1102,13 @@ class TestCLISplit:
|
|
|
1101
1102
|
)
|
|
1102
1103
|
assert result.exit_code == 0
|
|
1103
1104
|
|
|
1104
|
-
def
|
|
1105
|
+
def test_split_with_warnings_exits_0(self, tmp_path: Path) -> None:
|
|
1106
|
+
# Warnings (e.g. samples with no project) are advisory: split still
|
|
1107
|
+
# succeeds and exits 0.
|
|
1105
1108
|
src = _write(tmp_path, "combined.csv", _V2_NO_PROJECT)
|
|
1106
1109
|
out_dir = tmp_path / "split"
|
|
1107
1110
|
result = runner.invoke(app, ["split", str(src), "--output-dir", str(out_dir)])
|
|
1108
|
-
assert result.exit_code ==
|
|
1111
|
+
assert result.exit_code == 0
|
|
1109
1112
|
|
|
1110
1113
|
def test_split_json_output(self, tmp_path: Path) -> None:
|
|
1111
1114
|
src = _write(tmp_path, "combined.csv", _V2_COMBINED)
|
|
File without changes
|
{samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/.github/workflows/copilot-instructions.md
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
|
{samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/sample_sheets/combined_clean.csv
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/sample_sheets/v1_dual_index.csv
RENAMED
|
File without changes
|
{samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/sample_sheets/v1_multi_lane.csv
RENAMED
|
File without changes
|
{samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/sample_sheets/v1_single_index.csv
RENAMED
|
File without changes
|
|
File without changes
|
{samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/sample_sheets/v1_with_manifests.csv
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/sample_sheets/v2_with_index_umi.csv
RENAMED
|
File without changes
|
|
File without changes
|
{samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/examples/sample_sheets/v2_with_read_umi.csv
RENAMED
|
File without changes
|
{samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/images/samplesheet_parser_arch_v03.png
RENAMED
|
File without changes
|
{samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/images/samplesheet_parser_arch_v2.3.png
RENAMED
|
File without changes
|
{samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/images/samplesheet_parser_overview.png
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/diff/main.nf
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
|
{samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/modules/nf-core/samplesheetparser/info/main.nf
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
|
{samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/samplesheet_parser/parsers/__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
|
{samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/fixtures/SampleSheet_v1_dual_index.csv
RENAMED
|
File without changes
|
{samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/fixtures/SampleSheet_v2_dual_index.csv
RENAMED
|
File without changes
|
{samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/fixtures/SampleSheet_v2_modified.csv
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
|
{samplesheet_parser-2.5.1 → samplesheet_parser-2.5.2}/tests/test_validators/test_validators.py
RENAMED
|
File without changes
|
|
File without changes
|