Add samplesheetparser/diff module#11711
Open
chaitanyakasaraneni wants to merge 2 commits into
Open
Conversation
a63613c to
ca422d1
Compare
ca422d1 to
3836553
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a new module
samplesheetparser/diffthat compares two Illumina SampleSheet.csv files (V1 or V2) and emits a structured JSON diff.Why
This is the next module in the
samplesheetparserfamily (afterinfoandvalidatemerged in #11604). Thediffsubcommand is useful as a CI pre-run guard: it surfaces headerchanges, added/removed samples, and per-sample field changes between two sheets, and exits non-zero when differences are detected.
Changes
modules/nf-core/samplesheetparser/diff/with:main.nf— wrapssamplesheet diff, emits*.diff.jsonand versionsmeta.yml— input/output schema with EDAM ontologies, tool metadataenvironment.yml— biocondasamplesheet-parser=1.2.0tests/main.nf.test+.snap— three tests (V1 vs V1 identical, V1 vs V2 cross-format, stub)singularityandapptainerext.argstouchfor output filessanitizeOutput(process.out)in snapshotstopic: versionswithversions_samplesheetparseremit namePR checklist
Closes #XXX
topic: versions- See version_topicslabelnf-core modules test samplesheetparser/diff --profile dockernf-core modules test samplesheetparser/diff --profile singularitynf-core modules test samplesheetparser/diff --profile conda