The rules (pca_salmon, pca_kallisto) generate the PCA results for genes and transcripts. The plots should be integrated into multiqc and not as custom plots as we have them now.
This involves:
I run zarp on the GCN4 test dataset with the new multiqc plugins image. In principle everything works fine but the report is not as we would like it to be. Please look at the attached archive: multiqc_summary.zip.
The thing is that each interactive plot is by definition one subsection of the report and each plugin is a separate section. Thus, right now the zpca section is a clogged by all the plots altogether. We previously encountered a similar issue for the ALFA plots (take a look there) and solved it by encoding the unique information into the subsection name. It worked there since every plot was indeed a separate entity. Here, the problem is that the plots go in triplets: 1x2,2x3,3x1. You have any design ideas?
The second is that we need to add custom labels to show that the analysis is based on kallisto/salmon and at the gene/transcript level. I think we should check the options here: https://multiqc.info/docs/#customising-reports
Well... Yes... I agree... My point was: Under the report framework circumstances - do you have any desired outcome of our modifications in mind? The only thing I can imagine is to do the same as for ALFA module: parse the results subdirectory name and append it to the plot name (and subsection name, in consequence). under zpca in the results there are 4 subdirs: pca_kallisto_genes pca_kallisto_transcripts pca_salmon_genes pca_salmon_transcripts. This, however, would result in a long name, like: pca_kallisto_genes: PCA components: 1 & 2. But I see no other way around, to be honest.
I must have had a blackout or sth...
There is no need for any modifications whatsoever! We will just create 4 separate sections and point to these directories separately from the config (similarly as for cutadapt). Take a look here: multiqc_summary.zip
BIOPZ-Bak Maciejmarked the checklist item Use the new Dockerfile in zarp and adjust Snakefile (wiring of rules) as completed
marked the checklist item Use the new Dockerfile in zarp and adjust Snakefile (wiring of rules) as completed