Skip to main content

deacon

Tags: host contamination decontamination depletion filtering minimizer reads deacon sample-scope

Remove host reads from sequencing data using deacon.

This subworkflow uses deacon to identify and remove host reads from FASTQ files using SIMD-accelerated minimizer comparison against a pre-built reference index (default: panhuman-1). It optionally downloads the index if not already available.

Take

reads: Channel<Record>
FieldDescription
metaGroovy Record containing sample information
r1Illumina R1 reads (paired-end forward)
r2Illumina R2 reads (paired-end reverse)
seSingle-end Illumina reads
lrLong reads (ONT/PacBio)
database: Path?
download_deacon: Boolean
NameTypeDescription
databasePath?Path to deacon minimizer index file (.idx) (ignored if download_deacon is true)
download_deaconBooleanBoolean flag to download the index instead of using the provided path

Emit

Published

The sample_outputs and run_outputs emissions are aggregates of output files that will be published in the entry workflow.

sample_outputs

OutputDescription
special_metaSimplified metadata record for downstream report joining
r1Filtered paired-end forward reads
r2Filtered paired-end reverse reads
seFiltered single-end reads
lrFiltered long reads
scrub_reportRead filtering statistics report

run_outputs

No run-scope outputs.

Module Composition

This subworkflow calls the following modules:

  • deacon_fetch - Fetch a pre-built deacon index for host read filtering.
  • deacon_filter - Filter host reads from sequencing data using minimizer-based comparison.

Citations

If you use this in your analysis, please cite the following.

Source

View source on GitHub