Skip to content

so RX tags are copied for UMIs#57

Open
lnblum wants to merge 1 commit into
masterfrom
umi
Open

so RX tags are copied for UMIs#57
lnblum wants to merge 1 commit into
masterfrom
umi

Conversation

@lnblum
Copy link
Copy Markdown
Contributor

@lnblum lnblum commented May 12, 2026

relies on this change to bwameth, so will need to wait for bioconda release or use another installation.
brentp/bwa-meth@2bf5ae3

Copilot AI review requested due to automatic review settings May 12, 2026 20:21
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the trimming step so that UMI information stored in the BAM RX tag can be carried through BAM→FASTQ conversion (and then through fastp) by explicitly copying RX into FASTQ output.

Changes:

  • Bump fastp conda dependency from 1.0.1 to 1.1.0.
  • Remove the fastp_path override and invoke fastp directly from the environment.
  • Update samtools fastq invocation to attempt to copy RX tags into FASTQ (-T RX).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
modules/fastp.nf Update fastp/samtools invocation to preserve RX tag during BAM→FASTQ→fastp trimming.
conf/test.config Remove unused fastp_path param from the test profile.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread modules/fastp.nf

samtools fastq -n ${bam} | \\
${fastp_path}fastp --stdin \\
samtools fastq -T RX -n ${bam} | \\
Comment thread modules/fastp.nf
Comment on lines +26 to +27
samtools fastq -T RX -n ${bam} | \\
fastp --stdin \\
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.

2 participants