Feature/512 multi barcodes early validation
This PR frontloads some of the cellranger multi barcode sheet validation to avoid long run times that end in failure and to try to avoid unclear errors. The following are implemented
* A new `schema_cellranger_multi_barcodes.json` file which leverages nf-schema to enforce uniqueness on the `multiplexed_sample_id` column and enforce some common-sense or cellranger-specified pattern restrictions for the sheet fields
* Groovy logic to ensure `sample` values in the barcode sheet match `sample` values in the input samplesheet
* Groovy logic to ensure that each row in the barcode sheet has exactly one barcode ID field populated
* Tests for all of the breaking cases
## PR checklist
- [x] This comment contains a description of changes (with reason).
- [x] If you've fixed a bug or added code that should be tested, add tests!
- [ ] Make sure your code lints (`nf-core pipelines lint`).
- [ ] Ensure the test suite passes (`nextflow run . -profile test,docker --outdir <OUTDIR>`).
- [ ] Check for unexpected warnings in debug mode (`nextflow run . -profile debug,test,docker --outdir <OUTDIR>`).
- [ ] Usage Documentation in `docs/usage.md` is updated.
- [ ] Output Documentation in `docs/output.md` is updated.
- [ ] `CHANGELOG.md` is updated.
- [ ] `README.md` is updated (including new tool citations and authors/contributors).
合并状态:未合并 1 条评论