Skip to main content

nohuman_run

Tags: human contamination decontamination scrubbing reads kraken2 nohuman sample-scope

Remove human reads from sequencing data.

Uses nohuman to classify and remove human reads from FASTQ files using a Kraken2 database built from Human Pangenome Reference Consortium (HPRC) genomes. Supports paired-end and single-end Illumina reads.

Database Required

Requires the nohuman Kraken2 database. Use the nohuman/download module or provide a pre-existing database via --nohuman_db.

Inputs

record (
meta: Record,
r1: Path?,
r2: Path?,
se: Path?,
lr: Path?
)
FieldTypeDescription
metaRecordGroovy Record containing sample information
r1Path?Illumina R1 reads (paired-end forward)
r2Path?Illumina R2 reads (paired-end reverse)
sePath?Single-end Illumina reads
lrPath?Long reads (ONT/PacBio)
db: Path
NameTypeDescription
dbPathDirectory or compressed tarball containing the nohuman Kraken2 database

Outputs

record (
meta: Record,
special_meta: Record,
r1: Path?,
r2: Path?,
se: Path?,
lr: Path?,
scrub_report: Path,
results: Set<Path>,
logs: Set<Path?>,
nf_logs: Set<Path>,
versions: Set<Path>
)
FieldTypeDescription
metaRecordSample information record
special_metaRecordA simplified metadata record for downstream report joining
r1Path?Scrubbed paired-end forward reads
r2Path?Scrubbed paired-end reverse reads
sePath?Scrubbed single-end reads
lrPath?Scrubbed long reads
scrub_reportPathSummary report of reads removed during scrubbing
resultsSet<Path>All output files to be published
logsSet<Path?>Optional program specific log files
nf_logsSet<Path>Nextflow-specific log files (e.g. .command.{begin
versionsSet<Path>A YAML formatted file with program versions

Parameters

Nohuman Run Parameters

ParameterTypeDefaultDescription
--nohuman_dbstringPath to the nohuman database directory or tarball
--nohuman_confidencenumber0.0Kraken2 minimum confidence score for classification (0.0-1.0)
--nohuman_humanbooleanfalseInvert output to keep only human reads instead of removing them
--nohuman_save_reportbooleanfalseSave the Kraken2 classification report

Used By

Subworkflows

  • nohuman - Remove human reads from sequencing data using nohuman.

Citations

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

Source

View source on GitHub

Version

NOHUMAN_RUN:
- bactopia-teton: 1.1.3