-
Notifications
You must be signed in to change notification settings - Fork 186
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
Issue with TrimmomaticPE log reporting; incompatible with MultiQC #961
Comments
That is because the wrapper uses On those two examples you showed, do you know how long each one took? Just to have an idea of how much faster using |
Hi @fgvieira , thank you for your quick response! I ran the trimmomatic wrapper on one of my toy samples with all the input and output files unzipped. The log looks like this:
So I guess that is confirmation that using I think once I get into my real experiment (100+ human samples), any speed provided by |
I was just looking into Trimmomatic's repo, and it seems version However, not sure when they will release version |
Ah, good to know about Trimmomatic v0.40! Seems like an easy fix once that's available. In the meantime I'll just figure out a short rule/script to add the file names back into my logs. Thank you so much! |
If you come up with a way to do it in python, I can try to see if I can add it to the wrapper... |
Hi @fgvieira, I don't know if this is the most elegant solution (and it is potentially a bit too hard-coded for my pipeline and file naming conventions), but it seems to be working for my pipeline and getting the Trimmomatic logs into my MultiQC report. I have the following
Which I am calling from a rule in my
I looked for the |
This issue was marked as stale because it has been open for 6 months with no activity. |
This issue was closed because it has been inactive for 1 month since being marked as stale. Feel free to re-open it if you have any further comments. |
This issue was marked as stale because it has been open for 6 months with no activity. |
This issue was closed because it has been inactive for 1 month since being marked as stale. Feel free to re-open it if you have any further comments. |
Snakemake version
snakemake v7.18.2
snakemake-wrapper-utils v0.5.0
Describe the bug
When using the TrimmomaticPE wrapper (v1.19.2;
v1.19.2/bio/trimmomatic/pe
), I noticed an issue with the log reporting. Instead of listing the actual file names in the input arguments, it lists them as/dev/fd/
with a numeric. This is causing an issue when trying to report the Trimmomatic logs with MultiQC in a snakemake workflow, as MultiQC is searching the Trimmomatic logs for the sample name.Logs
Here is an example log that the TrimmomaticPE wrapper is outputting, which is incompatible with MultiQC:
And here is what a MultiQC-compatible log should look like (note that the difference is just in the arguments section):
Is there anyway to update the Trimmomatic wrapper such that the actual input file names are including in the log so that we can add the Trimmomatic logs to a MultiQC report in a snakemake pipeline? Thank you!
Attached trimmomatic.zip folder includes raw toy data, the resulting output from running the TrimmomaticPE rule (trimmomatic.smk), and the associated log file.
trimmomatic.zip
The text was updated successfully, but these errors were encountered: