Skip to main content

srahumanscrubber_scrub

Tags: human contamination scrubber decontamination ncbi sra sample-scope

Scrub human reads from FASTQ files.

Uses SRA Human Scrubber to identify and remove human reads from sequencing data. It relies on a specific k-mer database to mask or remove sequences that align to human references.

Uses explicit positional named parameters for reads:

  • Input: record(meta, r1, r2, se, lr) where each read slot is Path?

Inputs

record (
meta: Record,
r1: Path?,
r2: Path?,
se: Path?,
lr: Path?
)
FieldTypeDescription
metaRecordGroovy Record containing sample information
r1Path?Illumina R1 reads (paired-end)
r2Path?Illumina R2 reads (paired-end)
sePath?Single-end Illumina reads
lrPath?Long reads (ONT/PacBio)
db: Path
NameTypeDescription
dbPathSRA Human Scrubber database directory

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_reportPath?Report of scrubbing statistics
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

SRA Human Scrubber Parameters

ParameterTypeDefaultDescription
--use_srascrubberbooleanfalseUse SRAHumanScrubber for scrubbing human reads

Used By

Subworkflows

  • srahumanscrubber - Remove human contamination from sequencing reads for SRA submission.

Citations

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

Source

View source on GitHub

Version

SRAHUMANSCRUBBER_SCRUB:
- bactopia-teton: 1.1.3