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

MultiQC doesn't include FastQC reports for trimmed reads #162

Closed
santiagorevale opened this issue Sep 3, 2024 · 5 comments
Closed

MultiQC doesn't include FastQC reports for trimmed reads #162

santiagorevale opened this issue Sep 3, 2024 · 5 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@santiagorevale
Copy link

Description of feature

I believe that having the FastQC reports for the trimmed reads in MultiQC would be a nice useful addition to the report. I would add it after FASP metrics.

@santiagorevale santiagorevale added the enhancement New feature or request label Sep 3, 2024
@Daniel-VM
Copy link
Contributor

Daniel-VM commented Sep 5, 2024

Hi santiagorevale, thanks for testing it. This shouldn't be happening. In fact, the FastP section in MultiQC should display both before-trimming and after-trimming QC data... It worked in older versions of this pipeline properly ... Strange 😅

@Daniel-VM Daniel-VM self-assigned this Sep 5, 2024
@santiagorevale
Copy link
Author

I think the issue is that we are not passing ch_fastqc_trim_multiqc to the MULTIQC_CUSTOM process. Although I'm not good with MultiQC, to be honest. I'm always having issues with it 😄

@Daniel-VM
Copy link
Contributor

Found the issue: when --save_merged true is used, the Fastp JSON output key changes from read{1,2}_after_filtering to merged_and_filtered. Since this JSON file is passed to MultiQC, it expects the read1_after_filtering key by default.

Additionally, it seems that the representation of Fastp merged reads metrics in the MultiQC report is not yet supported. See Multiqc#2826.

But we can replace the FastQC (raw) section in the html report by the FastQC (after-trimming) since FastP before tirmming metrics are always present. (just to avoid haivng repeated FastQC sections in the html report)

@sralchemab
Copy link

Hi Daniel. I think it's better to have both FastQC reports "raw" and "trimmed" in MultiQC. Not only because people is used to them but also because it has some plots that FastP doesn't, like "Adapter Content", which I believe is very important.

Regarding the location, I have changed my mind, and I think that it would be best to show them like:

  • FastQC (raw)
  • FastQC (trimmed)
  • FastP

I believe other pipelines include them all as well.

@Daniel-VM Daniel-VM added this to the 2.4.0 milestone Sep 13, 2024
@Daniel-VM
Copy link
Contributor

Solved in #166

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants