Less Hard-coding = More Reproducibility

If we use one of those parameter methods, instead of our workflow having a hard-coded path for our inputs, we can dynamically provide our input file names and clean things up in our workflow even further.

From:workflow { CUTADAPT(Channel.fromPath(~/sample1.fastq’, checkIfExists: true))}

To:

workflow { CUTADAPT(Channel.fromPath(params.reads, checkIfExists: true))}

Previous
Next
RC Logo RC Logo © 2026 The Rector and Visitors of the University of Virginia