-
Notifications
You must be signed in to change notification settings - Fork 583
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
MegaQC doesn't handle data when module was run multiple times #2203
Comments
Thank you @fgvieira for reporting an issue - we definitely should save both, sounds like a bug. I'll take a look now |
I tried to reproduce the issue by running on that exact example of fastqc data: cd test_data/data/modules/fastqc/issue_843
multiqc . I can see data for both sections in grep fastqc_sequence_length_distribution_plot multiqc_data/multiqc_data.json
"fastqc_sequence_length_distribution_plot": {
"id": "fastqc_sequence_length_distribution_plot",
"fastqc_sequence_length_distribution_plot-1": {
"id": "fastqc_sequence_length_distribution_plot-1", The second one has a suffix appended in the end. Agree that it makes sense to use the |
Which version are you using? |
I tried both I wonder if it has to do with the input data? I can see e.g. both If you could attach the FastQC reports are you running on, along with the |
I did not see anything out of the ordinary, but here is some example data: fastqc_raw.zip And yes, it would be nice to have them named by the PS - had to zip them separately due to GitHub size limitations. |
I started this PR that uses anchors as suffixes instead of numbers: #2206 |
Even though all reads are the same length, there is still data, so I'd expect it to be on the |
Yeah, agree that it makes sense to still save the data into JSON. I'll take a look! Regarding MegaQC, good question - need to look into it. |
Wonder if you could create an issue in MegaQC repo? |
Sure, but it would be nice to test with these latest changes first, no? |
In a few weeks perhaps, yes. But I doubt that draft PR changes anything with regards to MegaQC |
I was looking at the |
But |
Description of bug
I am trying to plot the
FastQC
module multiple times (like here) but, even though all looks good in thehtml
report, only the last data is stored in thejson
. That is, in the example above, only theFastQC (trimmed)
data is stored in thejson
; is this intended?Would it be possible to save both? Maybe by renaming
fastqc_sequence_length_distribution_plot
tofastqc_trimmed-sequence_length_distribution_plot
andfastqc_raw-sequence_length_distribution_plot
(like in the rest of the report)?I am trying to load MultiQC reports into MegaQC and, as it is now, only the last one is stored in the database.
Before submitting
The text was updated successfully, but these errors were encountered: