Add info in sample_id_map into the main samplesheet as an optional customer_id column - #946
Closed
ramprasadn wants to merge 8 commits into
Closed
Add info in sample_id_map into the main samplesheet as an optional customer_id column#946ramprasadn wants to merge 8 commits into
sample_id_map into the main samplesheet as an optional customer_id column#946ramprasadn wants to merge 8 commits into
Conversation
|
Warning Newer version of the nf-core template is available. Your pipeline is using an old version of the nf-core template: 4.0.3. For more documentation on how to update your pipeline, please see the Synchronisation documentation. |
Collaborator
Author
|
@nf-core-bot fix linting |
|
❌ nf-test failed with latest Nextflow versionNote Tests with Nextflow's latest version failed but it will not cause a CI workflow failure.
See the full run for details. |
ramprasadn
marked this pull request as ready for review
July 30, 2026 07:27
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.
Closes #861
Replaces the separate
--sample_id_mapCSV (mappinginternal_id→customer_id) with an optionalcustomer_idcolumn directly on the main--inputsamplesheet, so customer/external IDs can be supplied alongside each sample instead of maintaining a second file.customer_idas an optional, meta-tagged column toassets/schema_input.json(same pattern aspaternal_id/maternal_id); removeassets/sample_id_map.json--sample_id_mapparametercall_sv_MTandgenerate_cytosure_files: both now readmeta.customer_idcoming from the samplesheet directly, instead of joining a separatech_sample_id_mapchannelgenerate_cytosure_filesnow gates VCF header renaming per-sample (meta.custid != meta.id) instead of on a pipeline-wide flag, so runs that don't usecustomer_iddo not trigger reheaderPR checklist
nf-core pipelines lint).nextflow run . -profile test,docker --outdir <OUTDIR>).nextflow run . -profile test_singleton,docker --outdir <OUTDIR>).nextflow run . -profile debug,test,docker --outdir <OUTDIR>).docs/usage.mdis updated.docs/output.mdis updated.CHANGELOG.mdis updated.README.mdis updated (including new tool citations and authors/contributors).