Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix stub run trimmomatic #7160

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions modules/nf-core/trimmomatic/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ process TRIMMOMATIC {
def prefix = task.ext.prefix ?: "${meta.id}"

if (meta.single_end) {
output_command = "echo '' | gzip > ${prefix}.SE.paired.trim.fastq.gz"
output_command = "echo '' | gzip > ${prefix}.SE.paired.trim.fastq.gz\n"
Copy link
Contributor

@SPPearce SPPearce Dec 5, 2024

Choose a reason for hiding this comment

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

Not sure it needs the explicit line break at the last entry does it (same with the paired end underneath)?

} else {
output_command = "echo '' | gzip > ${prefix}.paired.trim_1.fastq.gz"
output_command = "echo '' | gzip > ${prefix}.paired.trim_2.fastq.gz"
output_command += "echo '' | gzip > ${prefix}.unpaired.trim_1.fastq.gz"
output_command += "echo '' | gzip > ${prefix}.unpaired.trim_2.fastq.gz"
output_command = "echo '' | gzip > ${prefix}.paired.trim_1.fastq.gz\n"
output_command += "echo '' | gzip > ${prefix}.paired.trim_2.fastq.gz\n"
output_command += "echo '' | gzip > ${prefix}.unpaired.trim_1.fastq.gz\n"
output_command += "echo '' | gzip > ${prefix}.unpaired.trim_2.fastq.gz\n"
}

"""
Expand Down
Loading