Changelog
All notable changes to nf-reprocessing-public-10x. The format follows Keep a Changelog. Releases are tagged YY-DDD: the year and the day of the year. The GitHub releases have the full notes for each.
- 26-327 — 2026-11-23
- 26-294 — 2026-10-21
- 26-292 — 2026-10-19
- 26-257 — 2026-09-14
- 26-138 — 2026-05-18
- 26-135 — 2026-05-15
- 23-263 — 2023-09-20
26-327 — 2026-11-23
BAM samples whose BAMs repeat lanes no longer abort the run.
Changed
WGET10Xasks for 4 GB and 1 cpu.- BAM-derived run FASTQs are named after the run, not the sample:
raw/<dataset>/fastq/andraw/<dataset>/runs/now hold<run>_S1_L001_R1_001.fastq.gzfor a BAM run, as they already did for FASTQ and SRA runs. The merged FASTQs inrenamed_fastq/, which the aligners read, are named as before.
Fixed
- A sample whose BAMs repeat lane numbers no longer aborts the whole run (#41).
REPROCESS10X_BAM2FASTQnamed every BAM’s FASTQs<sample>_S1_<lane>_…, so two BAMs of one sample on the same lane produced the same file names. ArrayExpress often submits a sample as one BAM per library and lane, as E-MTAB-8322 does.RENAME10XSAMPLEcould not stage them, and Nextflow stops the run on an input file name collision beforeerrorStrategysees it. Each run now gets its own lane in the merged FASTQs. On a-resumeof a run started with an earlier release, every BAM2FASTQ task runs again, as do the downstream tasks of samples with BAM runs.
26-294 — 2026-10-21
Runs anywhere: docker, singularity and sanger profiles, resources by label, launch checks, and this documentation site.
Added
docker,singularityandsangerprofiles. The pipeline runs outside the Sanger farm: the base configuration names no executor, queue or container engine, and-profile sangercarries everything farm-specific — LSF, the Singularity cache and binds, the farm’s whitelists and references, and the queues. See Profiles and running elsewhere.- Resource labels, as in nf-core:
process_single,process_high,process_long, andprocess_networkfor the tasks that fetch from the archives.configs/sanger.configpicks the queue from each task’s resolved memory and time instead of naming one per process. - Launch checks in
main.nf: a run with no container engine, without--wl_basedir(unless--metaonly), or with--starsolo/--cellrangerand no reference for them now stops at once. Each used to exit 0 having done nothing. - This documentation site, on Just the Docs: getting started, guides, reference (with the parameters generated from
nextflow_schema.json), troubleshooting, developers and this changelog, beside the existing knowledge base. The README is now an overview.
Changed
-profile sangeris required on the farm, on every run and-resume(-profile sanger,lineage_keepfor the batch scripts). Without a profile the pipeline refuses to start.- Every task now asks for an explicit run limit. The values match the limits of the queues the tasks used before (12 h, 48 h), so the farm routes exactly as it did.
- The reference parameters have no defaults outside
-profile sanger. - nf-lineage-keep 0.2.0, live.
dryRun = falseis now spelled out — a missingdryRunmeanstrue, which is how batches 26-27 filled the quota. Failed attempts are emptied as they end (cleanRetriedAttempts,cleanFailedTasks), keeping logs, symlinks and files under 1 MB; their directories stay, since-resumereaches a later attempt’s cache through them. Install 0.2.0 (make installinplugins/nf-lineage-keep) before running-profile lineage_keep.
Fixed
WGET10Xpercent-encodes#in URLs. ENA serves submitter file names verbatim, and PRJEB71931’sNSCLC#7_…reached the server truncated at the#, losing the whole dataset in batch 27.
26-292 — 2026-10-19
Resource prediction, SRA fixing, run reports, lineage_keep.
Added
- STARsolo resources planned per sample.
lib/StarsoloResources.groovyestimates reads from the head of each R2 FASTQ and sets memory, run limit and queue for each attempt; the coefficients are fitted innotebooks/resource_prediction.ipynb. - Every
.srais checked before it is dumped (REPROCESS10X_SRACHECK). Runs with a NULLNAMEcolumn or aGenericFastqschema, whichfastq-dumpandfasterq-dumpcannot read, are rebuilt withvdb-dumpby the newREPROCESS10X_SRAFIX. - Run-level tables and a MultiQC run report (
REPROCESS10X_COLLATE,REPROCESS10X_RUNREPORT), including Samples without a mapped output, the run’s failure manifest. -profile lineage_keep: theplugins/nf-lineage-keepplugin empties work directories as samples finish and keeps everything a failure needs;cleanup/rerun.tsvlists the failed samples for a-resume.- nf-schema validation (
nextflow_schema.json), so--helplists every parameter. --no_raw, which stops publishingraw/so a cleaned run actually frees its FASTQs.- Knowledge base: post-mortems for batches 7-25, archive pathologies through batch 24, and the tchem benchmark.
Changed
SRA2FASTQasks for 16 GB first and 128 GB on retry.- STARsolo container
v4.4. - Nextflow 26.04.6 or later is required.
Fixed
- An
SRACHECKthat was ignored after its retries crashed the join that feedsSRA2FASTQ. - The failure reporters omitted
SRAFIX; the run report invented a sample for each BAM conversion failure.
Adding meta.resources and moving to STARsolo v4.4 change STARsolo’s task hash, so a batch started before this release re-runs STARsolo on -resume.
26-257 — 2026-09-14
STARsolo or Cell Ranger, inferred chemistry, guarded downloads.
Added
- Two aligners, one path.
--starsoloand--cellrangerselect the aligner; both can run in one execution, each per species. - Chemistry inferred from the reads, once per sample, and translated separately for STARsolo’s
--wland Cell Ranger’s--chemistry. Inference samples a window of reads rather than the head of the file. The 10x chemistry reference documents the table it implements. --metaonly, to inspect a series before committing to the download.skipped_samples.tsvfor samples dropped for want of a usable species.- The documentation knowledge base and the
reprocess-debugskill; an nf-test suite for FETCH10XMETA.
Changed
links.tsvis read whole, so species, run counts and alignable-sample counts are settled before they become grouping keys.- BAM-derived and FASTQ/SRA-derived runs of one sample merge before renaming: one renamed set and one aligner job per sample. Mapping QC runs once per dataset.
- Metadata parsing consolidated into one
parse_metadata.sh, with sample-to-run relations recovered when the subset file is missing.
Fixed
WGET10Xrejects empty URLs, expects exactly one file per task, and tests the archive.SRA2FASTQrefuses to emit a partial run: single-mate dumps, mates that disagree and zero-length reads fail at the guard instead of two stages downstream.- I1/I2 index reads are no longer dropped between
RENAME10XRUNandRENAME10XSAMPLE. - Boolean flags are validated:
--starsolo tureused to parse as false, download a whole batch, align nothing and exit 0.
26-138 — 2026-05-18
- The metadata fetch moved to the
cellgeni/fetch10xmetaregistry module. --metaonlyand--no_infer_specievalidated as booleans.
26-135 — 2026-05-15
- The pipeline restructured: a separate workflow for the pipeline logic, input validation, and publishing through the workflow
output {}block instead of per-processpublishDir. - Metadata parsing and SRA conversion hardened.
23-263 — 2023-09-20
The first tagged release: three-step reprocessing (metadata, download and conversion to Cell Ranger FASTQ naming, STARsolo), with matching on sample ids throughout.