Skip to content

Conversation

@suhrig
Copy link

@suhrig suhrig commented Jan 20, 2026

I have added bigWig coverage tracks to the outputs using bedtools genomecov. Stranded libraries produce two tracks, <SAMPLE>.forward.bigWig and <SAMPLE>.reverse.bigWig. Unstranded libraries produce a single track <SAMPLE>.unstranded.bigWig.

The track creation needed to be divided into three processes:

  1. Splitting BAMs into forward and reverse reads, because bedtools genomecov does not handle the strand of paired-end mates properly (it always uses the strand of the mate, not the strand of the first-of-pair)
  2. Conversion of the split BAMs to bedGraph
  3. Conversion of the bedGraphs to bigWig to reduce storage consumption

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
  • 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>).
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

@suhrig
Copy link
Author

suhrig commented Jan 20, 2026

@nf-core-bot fix linting

- [cat](#cat)
- [FastQC](#fastqc)
- [UMI-tools extract](#umi-tools-extract)
- [UMI-tools extract](#umi-dedup)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you mean to change this?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. The link was wrong. I admit to taking the quick and easy route instead of making a separate PR for this.

@suhrig
Copy link
Author

suhrig commented Jan 22, 2026

@nf-core-bot fix linting

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.

3 participants