nf-core/bamcmp @ 0.0.0-0c7146d
Summary
Bamcmp (Bam Compare) is a tool for assigning reads between a primary genome and a contamination genome. For instance, filtering out mouse reads from patient derived xenograft mouse models (PDX).
Get started
Add the following snippet to your workflow script to include this module.
include { BAMCMP } from 'nf-core/bamcmp'
License
MIT License
Name
|
BAMCMP |
|---|
meta
map
|
Groovy Map containing sample information e.g. [ id:'test'] |
|---|---|
primary_aligned_bam
file
|
BAM/CRAM/SAM file with the reads aligned to the primary genome (the one you want to keep) *.{bam,cram,sam}
|
contaminant_aligned_bam
file
|
BAM/CRAM/SAM file with the reads aligned to the contaminant genome (the one you want to filter out) *.{bam,cram,sam}
|
versions_bamcmp
tuple
${task.process}
string
|
The process the versions were collected from |
|---|---|
bamcmp
string
|
The tool name |
echo 2.2
string
|
The version used (constant) |
contamination_bam
tuple
meta
map
|
Groovy Map containing sample information |
|---|---|
${prefix2}.bam
file
|
Bam file containing the reads which align better to the contaminant genome. *.{bam,cram,sam}
|
versions_samtools
tuple
${task.process}
string
|
The process the versions were collected from |
|---|---|
samtools
string
|
The tool name |
samtools version | sed '1!d;s/.* //'
string
|
The command used to generate the version of the tool |
primary_filtered_bam
tuple
meta
map
|
Groovy Map containing sample information |
|---|---|
${prefix}.bam
file
|
Bam file containing the reads which align better to the primary genome. *.{bam,cram,sam}
|
| Tool | Description | Homepage |
|---|---|---|
| bamcmp | Bamcmp is a tool for deconvolving host and graft reads, using two bam files. Reads should be mapped to two genomes, and the mapped, sorted bam files supplied to the tool. It is highly recommended to use the "-s as" option not the "-s mapq" option, else reads which multimap to the contamination genome will be spuriously kept. | https://github.com/CRUKMI-ComputationalBiology/bamcmp |
| Version | 0.0.0-0c7146d |
|---|---|
| Commit ID | 6c4ed3a220310b905a1fc9d04f05be2e0837142b |
| Release Date | 08 Apr 2026 18:44:12 (UTC) |
| Download URL | https://registry.nextflow.io/api/v1/modules/nf-core%2Fbamcmp/0.0.0-0c7146d/download |
| OCI Store URL | https://public.cr.seqera.io/v2/nextflow/plugin/modules/nf-core/bamcmp/blobs/sha256:5eb32ad3659d71239194110fcd03361c3c265a3b8955f9b03a82444b65be49af |
| Size | 3.5 KB |
| Checksum | sha256:5eb32ad3659d71239194110fcd03361c3c265a3b8955f9b03a82444b65be49af |
| Downloads | 3 |
| Version | Date | Status | Downloads | Size |
|---|---|---|---|---|
| 0.0.0-6c4ed3a | 23 Apr 2026 15:03:20 (UTC) | 4 | 3.5 KB | |
| 0.0.0-0c7146d | 08 Apr 2026 18:44:12 (UTC) | 3 | 3.5 KB |