×

nf-core/disambiguate @ 0.0.0-6c4ed3a

Disambiguates reads aligned to two different organisms (e.g. human and mouse) from the same source of FASTQ files. Useful in explant RNA/DNA-Seq workflows where reads from two species are present. For reads aligned to both organisms, the algorithm compares alignment quality scores to determine the most likely species of origin. Produces four BAM files (uniquely assigned to species A or B, ambiguous for species A or B) and a summary file.

Latest version: 0.0.0-6c4ed3a
Total downloads: 12
Source: nf-core/modules
Authors: @ctuni
Maintainers: @ctuni

Summary

Disambiguates reads aligned to two different organisms (e.g. human and mouse) from the same source of FASTQ files. Useful in explant RNA/DNA-Seq workflows where reads from two species are present. For reads aligned to both organisms, the algorithm compares alignment quality scores to determine the most likely species of origin. Produces four BAM files (uniquely assigned to species A or B, ambiguous for species A or B) and a summary file.

Get started

Add the following snippet to your workflow script to include this module.

include { DISAMBIGUATE } from 'nf-core/disambiguate'

License

MIT License

Process
Name DISAMBIGUATE
Input 1 channel
#1 tuple
meta map

Groovy Map containing sample information e.g. [ id:'sample1' ]

bam_a file

BAM file with alignments to species A (e.g. human). Mandatory.

*.{bam}
bam_b file

BAM file with alignments to species B (e.g. mouse). Mandatory.

*.{bam}
Output 6 channels
#1 summary tuple
meta map

Groovy Map containing sample information e.g. [ id:'sample1' ]

*_summary.txt file

Summary of read counts uniquely assigned to species A, species B, and ambiguous reads.

*_summary.txt
#2 ambiguous_bam_a tuple
meta map

Groovy Map containing sample information e.g. [ id:'sample1' ]

*ambiguousSpeciesA.bam file

Reads aligned to species A that also aligned to species B but could not be uniquely assigned.

*ambiguousSpeciesA.bam
#3 ambiguous_bam_b tuple
meta map

Groovy Map containing sample information e.g. [ id:'sample1' ]

*ambiguousSpeciesB.bam file

Reads aligned to species B that also aligned to species A but could not be uniquely assigned.

*ambiguousSpeciesB.bam
#4 disambiguated_bam_a tuple
meta map

Groovy Map containing sample information e.g. [ id:'sample1' ]

*disambiguatedSpeciesA.bam file

Reads uniquely assigned to species A.

*disambiguatedSpeciesA.bam
#5 disambiguated_bam_b tuple
meta map

Groovy Map containing sample information e.g. [ id:'sample1' ]

*disambiguatedSpeciesB.bam file

Reads uniquely assigned to species B.

*disambiguatedSpeciesB.bam
#6 versions_ngs_disambiguate tuple
${task.process} string

The name of the process

ngs-disambiguate string

The name of the tool

2018.05.03 string

The expression to obtain the version of the tool

Tool Description Homepage
ngs-disambiguate Disambiguation algorithm for reads aligned to two different organisms using Tophat, Hisat2, BWA or STAR alignments. https://github.com/AstraZeneca-NGS/disambiguate
Version 0.0.0-6c4ed3a
Commit ID 6c4ed3a220310b905a1fc9d04f05be2e0837142b
Release Date 23 Apr 2026 15:14:16 (UTC)
Download URL https://registry.nextflow.io/api/v1/modules/nf-core%2Fdisambiguate/0.0.0-6c4ed3a/download
OCI Store URL https://public.cr.seqera.io/v2/nextflow/plugin/modules/nf-core/disambiguate/blobs/sha256:9e2d2f3a95e2c7ebdac33e3c951fa08e13a27cb98de40168d711ed78fb41ad2e
Size 2.9 KB
Checksum sha256:9e2d2f3a95e2c7ebdac33e3c951fa08e13a27cb98de40168d711ed78fb41ad2e
Downloads 4
Version