Your bioinformatics pipeline runs. Could anyone else run it next month?
A green run is the start of delivery. Pin the versions, reconcile every output and prove recovery, so the pipeline no longer depends on one person.
On this page
The short version
- A green run is not a handoff. The next scientist needs reconciled outputs, recorded versions and an acceptance decision.
- Use the reports and provenance your workflow engine already produces before adding another tool.
- Pin the workflow, references, parameters and environment, then repeat a reference run under agreed rules.
- Prove resume and recovery with the files you actually retain, so the pipeline no longer depends on one person.
The pipeline only one person can run
Your Nextflow pipeline works because one bioinformatician knows its quirks: which reference folder is current, which parameter to pass, which warnings to ignore. When that person is on leave, a failed run waits. When they move on, the team inherits a results folder nobody can fully explain.
Consider Northbank Bio, a fictional example. Its approved analysis runs eight research samples, the job exits successfully and eight summaries appear. One input used the wrong identifier and one file is a leftover from last week. The count is right; the result is not.
A green run is the start of delivery, not the end of it.
Start from your engine and approved analysis. The missing piece may be an input contract, a reconciliation step or a handoff another operator can use, rather than another scheduler or data platform.
Agree the run contract before computing
Write down what one accepted run contains. Use authoritative sample identifiers and keep the source delivery version with a content fingerprint, because the same filename can arrive with different contents.
- Inputs: expected sample identifiers, source versions and required metadata.
- Method: workflow revision, parameters, reference versions and execution environment.
- Execution: run identifier, attempts, start and end times, terminal status.
- Outputs: required artifacts per sample, integrity checks and QC results.
- Acceptance: permitted exclusions, reviewer, decision and reasons.
A checksum detects changed bytes; it cannot tell you a tube was labeled correctly. Resolve identity through the lab’s authoritative records. For external deliveries, the CRO intake guide covers that earlier handoff.
Pin everything that can change the answer
Record the workflow revision, container or environment, reference data and parameters, including derived reference indexes. A moving branch, a reusable image tag or an unversioned reference folder makes any later comparison ambiguous.
Run a small scientist-approved fixture twice in the target environment, with the comparison rule agreed first: exact matches for some outputs, justified tolerances for others. A container or a random seed alone does not guarantee identical output.
Record the rule and its outcome. A repeatable incorrect method is still incorrect, so the scientific owner decides whether the method and comparison suit the research question.
Reconcile outputs before calling a run accepted
- Register
Freeze the expected inputs and versions.
- Execute
Record the method and every attempt.
- Reconcile
Match outputs and QC to each input.
- Review
Resolve exclusions and acceptance.
- Publish
Link results to their run evidence.
For Northbank, compare expected identifiers with produced ones and flag missing, unexpected and duplicate outputs. Keep each run in its own location so leftovers cannot satisfy the count. If a sample is excluded, keep the reason and approval instead of quietly changing the expected total.
Give the receiver a per-sample manifest with the input version, output links and accepted or excluded status. Test it by swapping one identifier while the file count stays the same: the mismatch must stay visible. If the source delivery is corrected after approval, the new run gets its own acceptance decision.
Use Nextflow’s built-in reports for run history, resource use and timelines. Where packaging helps, Workflow Run RO-Crate records execution provenance with the inputs, outputs and code. A supported format beats a homemade one, and computational completion stays a separate state from scientific acceptance.
Prove resume before relying on it
Nextflow’s cache and resume documentation is precise: a task is reused only when its cache entry matches and its outputs are still in the work directory. Clean the work directory and those tasks run again from scratch. A resume flag is not a recovery plan.
- Interrupt
Fail one task in the reference run.
- Preserve
Retain required cache and work files.
- Resume
Observe reused and re-executed tasks.
- Verify
Compare outputs with the accepted reference.
Run the opposite case too: delete a required work output in a disposable run and confirm the task re-executes instead of presenting missing data as complete. Check that final results contain no duplicated or partial outputs. Then agree separate retention for source data, final results, run evidence and disposable work files, and test a restore with the operator.
Make the pipeline operable by its next owner
Name who resolves failed runs, approves reference changes and accepts new workflow versions. A changed method or reference is a new comparison, so keep the previous accepted result rather than overwriting it under the same label.
Measure elapsed time, operator effort and cost per accepted run on comparable workloads, including failures, retries, storage and transfer. A lower compute bill is one input, not proof of better science. Diagnostic or patient-related use needs its own intended-use assessment and qualified owners.
An acceptance checklist for one pipeline
- Freeze expected sample IDs, source versions and permitted exclusions.
- Record workflow, parameters, environment and reference versions.
- Reconcile every expected output and keep its QC decision.
- Separate process completion from scientific acceptance.
- Repeat the reference run under agreed comparison rules.
- Demonstrate interrupted-run recovery and retention limits.
- Have another operator retrieve the evidence and repeat the reference run.
Request a call from this article and describe the run that failed last, or the person your pipeline depends on. The first conversation needs no data. See how we work with biotech teams. If users need an app around the pipeline, read the research app guide.
Questions we hear
Does exit code zero mean the bioinformatics result is valid?
It means the process reported success. Acceptance also needs the expected outputs, the right sample identities, agreed QC and scientific review where required. Missing samples, stale files or the wrong reference can survive a successful exit.
Do containers make a pipeline reproducible?
They pin the software environment. Reproducibility also depends on inputs, workflow code, parameters, references and any execution variability. Pin those too, then test a reference workload against scientist-approved expectations.
What must be kept for Nextflow resume to work?
The matching task-cache metadata and the task outputs in the work directory. Final published reports alone are not enough. Agree cleanup and retention with the operator, then demonstrate recovery in the target environment.
Sources
- ReportsSeqera: Nextflow documentation
- Workflow Run RO-CrateWorkflow Run RO-Crate working group
- Caching and resumingSeqera: Nextflow documentation