Skip to content

Fix sort paired reads#950

Open
hindrek wants to merge 4 commits intonf-core:devfrom
hindrek:fix-sort-paired-reads
Open

Fix sort paired reads#950
hindrek wants to merge 4 commits intonf-core:devfrom
hindrek:fix-sort-paired-reads

Conversation

@hindrek
Copy link

@hindrek hindrek commented Feb 18, 2026

PR checklist

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the pipeline conventions in the contribution docs
  • If necessary, also make a PR on the nf-core/ampliseq branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core pipelines lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

Problem:
Sorting forward and reverse FASTQ files independently can break paired samples.

Solution:
Generate reverse file paths by substituting '_1' -> '_2' in the forward files, ensuring perfect alignment of paired samples even when filenames are not lexicographically sortable.

Fixes #706

@nf-core-bot
Copy link
Member

Warning

Newer version of the nf-core template is available.

Your pipeline is using an old version of the nf-core template: 3.5.1.
Please update your pipeline to the latest version.

For more documentation on how to update your pipeline, please see the nf-core documentation and Synchronisation documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Comments