-
Notifications
You must be signed in to change notification settings - Fork 608
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
Adapter Removal MultiQC module broke #838
Comments
Hi @VictorGotiea, Thanks for reporting this. Are you able to upload a file that triggers this error so that I can replicate it at my end please? Thanks, Phil |
Thanks! |
Hi Ewels, any news what is going on?
Because of this message in the traceback of multiqc
|
Hi @VictorGotiea, Thanks for the reminder. I didn't get very far because I had no errors with the example data you sent. Looking at it again I wonder if you may have sent me the wrong sample? The initial error message lists But yes - looking at the code I would guess that the error happens when there are zero bases trimmed and MultiQC tries to divide by that number. I've just pushed a change to handle this scenario, but it makes me a little nervous as I don't know whether the error will shift elsewhere. Phil |
ps. Sorry - meant to say - if you could pull the latest changes and test that would be great! If it fixes the error then I'll close this issue. |
No, I'm sorry I could not solve anything. They were not changes, just different results. I'm still cannot understand why multiqc fails with the results from Adapter removal from that particular batch of sequence. I mean Adapter removal by itself is not failing because it does not give any error and i generrates the corresponding results (the one send it). Then, AdapterRemoval module in multi-qc fails only with these batch of files. I do not know what multiqc does with the data that is parse from AdapterRemoval, do you see something in the report from the left that can make multiqc fails and it is not in the report on the right? What do you interpret from the traceback of multiqc? There is specific information there but I do not understand what it means exactly or what to do with it |
The main problem I have is that I can't replicate the error myself. If you download the file you sent to me above (SM3836_S60_R1.settings.gz) to a new location, in a folder by itself, and run MultiQC does it give an error? Phil |
Hi Phil,
In this directory I have several folder samples:
each of this folder has 3 folders called:
which contains metrics files from those programs (the SM# states as a prefix in each metrics file. However if I run multiqc (
Still the idea its to generate a single report for all these samples. Do you have any idea what is causing this problem? |
Ok, I found the source of trouble. When I combined the the fastq reads sequenced in two lanes I make a typo error in the number of a sample creating a truncated file for non-existing samples. Then, this file generated truncated qc files and seems that was the cause of the problem "broke module adapter removal" in multi-qc. Maybe it would be nice to incorporate a modification that avoid the module to break if there is a truncated file, like "jump" those and continue with the other files reporting what it was good instead of not reporting for any sample. Thank you for all the support anyways. I think you can close the case if you want. |
Sounds good - do you have a set of files that I can use to replicate this? If you can zip a folder that I can run on then I should be able to fix it. |
Hi @VictorGoitea, I'm happy to add support for skipping empty AdapterRemoval logs, but I can't do this without some example files. I'm closing this issue now as it's been over a year without a reply, but if you would still like this added and can send an example I'd be happy to reopen it. Cheers, Phil |
Description of bug:
Multi QC cannot report the Adapter removal info in the ".setting" file
AdapterRemoval version: 2.2.2
MultiQC Error log:
File that triggers the error:
Please drag and drop (and upload to the GitHub issue) an input file that I can use to replicate the error.
MultiQC run details (please complete the following):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: