Skip to content

Update downsampling subworkflow to samtools coverage#11736

Open
LouisLeNezet wants to merge 2 commits into
nf-core:masterfrom
LouisLeNezet:sbwf_downsample
Open

Update downsampling subworkflow to samtools coverage#11736
LouisLeNezet wants to merge 2 commits into
nf-core:masterfrom
LouisLeNezet:sbwf_downsample

Conversation

@LouisLeNezet
Copy link
Copy Markdown
Contributor

PR checklist

The aim of this PR is to use samtools coverage instead of samtools depth.
The reason behind is that samtools depth tsv output can become quite huge (x10Gb) for whole genome data.
As we only need the mean depth samtools coverage can provided it if we give it the regions to downsampled.

  • 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 module conventions in the contribution docs
  • If necessary, include test data in your PR.
  • Remove all TODO statements.
  • Broadcast software version numbers to topic: versions - See version_topics
  • Follow the naming conventions.
  • Follow the parameters requirements.
  • Follow the input/output options guidelines.
  • Add a resource label
  • Use BioConda and BioContainers if possible to fulfil software requirements.
  • Ensure that the test works with either Docker / Singularity. Conda CI tests can be quite flaky:
    • For modules:
      • nf-core modules test <MODULE> --profile docker
      • nf-core modules test <MODULE> --profile singularity
      • nf-core modules test <MODULE> --profile conda
    • For subworkflows:
      • nf-core subworkflows test <SUBWORKFLOW> --profile docker
      • nf-core subworkflows test <SUBWORKFLOW> --profile singularity
      • nf-core subworkflows test <SUBWORKFLOW> --profile conda

@LouisLeNezet LouisLeNezet self-assigned this May 21, 2026
@LouisLeNezet LouisLeNezet requested a review from atrigila May 21, 2026 13:54
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.

1 participant