Repository navigation
Description
Pipeline title/name
labsherlock
Keywords
Sample swap & contamination assessment
What is it about?
A simple pipeline that allows for detction of sample swaps, mixtures/contamination and metagenomics contamination in human lab work, utilizing established methods to infer:
- relatedness
- contamination (both on a SNV level + metagenomics screening)
- assess these
- Sex check: Expected vs Found
Could be extende dby further tools, such as VerifyBAMiD2 etc pp --> not yet planned but fair enough
Please provide a schematic diagram of the proposed pipeline
What would a minimal first release of this pipeline include?
See metromap please :-)
I confirm my proposed pipeline will follow nf-core guidelines. Most importantly, my pipeline will:
- be built with Nextflow.
- pass nf-core lint tests and use standardized parameters.
- be community-owned and developed within the nf-core organization.
- open source under the MIT license with proper credits and acknowledgments.
- have a descriptive, all lowercase, and without punctuation name.
- use the nf-core pipeline template and predominantly use official nf-core modules.
- focus on a specific data/analysis type with appropriate scope.
- have properly maintained documentation.
- be bundled using versioned Docker/Singularity containers.
This proposal may include software that has non-open source or restrictive licenses.
- Yes
Why do we need a new pipeline?
I checked around but there is nothing comparable at stage available. We are open for suggestions to make t his a subworkflow that can also be imported in other pipelines, no problem at all.
draft for a usecase can be found at https://github.com/apeltzer/contaminator_estimation - no intent to keep this 1:1, but as a first rough draft this should work, can then bring this to latest standards with template etc.
Who would be interested?
Labs to perform QC of outputs
What has been done so far
https://github.com/apeltzer/contaminator_estimation
URL to existing work (if applicable)
https://github.com/apeltzer/contaminator_estimation
Are there any similar existing nf-core pipelines?
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsNo status
Activity
nf-core-bot commentedon Nov 18, 2026
Approval status: ✅ Approved
Required approvals: Either 2 core team members OR 1 core team member + 1 maintainer
nvnieuwk commentedon Nov 18, 2026
This also seems closely related to this pipeline of ours: https://github.com/nf-cmgg/sampletracking
I like the idea! And there's nothing similar AFAIK, could be part of another pipeline already though?
/approve
nvnieuwk commentedon Nov 18, 2026
The name is not that descriptive though IMO (especially since we've had a couple pipelines with
sherlockin the name in the past couple of weeks)mahesh-panchal commentedon Nov 18, 2026
Could this be part of seqinspector?
apeltzer commentedon Nov 18, 2026
Absolutely, although I would just insist on being able to turn on/off functionality to allow people to really just do the inspection part that needs care :-)
mahesh-panchal commentedon Nov 18, 2026
I think that was always the case. @FranBonath How does that part work at the moment?
FranBonath commentedon Nov 18, 2026
Hi!
I love it!
Currently we have default tools that are fairly limited and everything else is chosen by the tools selection. Users can add or remove individual tools in the command line using --skip-tools or --tools, respectively, but we also have tool bundles that add a selection of tools with one command line parameter which is also compatible with the individual tools selection.
These are our current tool bundles:
I think this could very well be part of seqinspector, we could make it it's own tools bundle to have it readily available for anyone who wants to run it stand alone.
SPPearce commentedon Nov 18, 2026
seqinspector was my initial thought here, but that works from fastq files, not from bam files
FranBonath commentedon Nov 18, 2026
We recently introduced bam file support :)
It might still be in dev though. @maxulysse ?
apeltzer commentedon Nov 18, 2026
I'd be ok adding this as a dedicated subworkflow for seqinspector. Also offers potential to use further tools in our daily work for inspection purposes, would be fine for me 👍🏻
Didnt know its possible to run on BAMs in seqinspector similar to what @SPPearce said, so happy to see this is already possible on dev - lets make it possible on main then ;-)
jfy133 commentedon Nov 20, 2026
/approve as a concept - really needs to be more commonly executed - but merging with seqinspector would be ideal home!
SPPearce commentedon Nov 20, 2026
Yes, sample identity checking should be ran as a QC step in pretty much every human analysis. Samples should be checked that they match when expected and don't when not. And with multi-omics, you should check that your DNA/RNAseq/ChIPseq/ATACseq/whatever etc all match