Jonathan Manning
01/28/2025, 2:27 PM--enable_multiqc_ai.
⢠ā = Don't overload the params, users can figure out how to supply --ai to the MultiQC process via config (and MultiQC docs), and pass environment variables using envNicolas Vannieuwkerke
01/28/2025, 2:29 PMJonathan Manning
01/28/2025, 2:30 PMJames Fellows Yates
01/28/2025, 2:33 PMJames Fellows Yates
01/28/2025, 2:33 PMJames Fellows Yates
01/28/2025, 2:33 PMMaxime Garcia
01/28/2025, 2:38 PMJames Fellows Yates
01/28/2025, 2:40 PMJames Fellows Yates
01/28/2025, 2:40 PMJonathan Manning
01/28/2025, 2:40 PMMaxime Garcia
01/28/2025, 2:41 PMJames Fellows Yates
01/28/2025, 2:41 PMJames Fellows Yates
01/28/2025, 2:42 PMJonathan Manning
01/28/2025, 2:42 PMJames Fellows Yates
01/28/2025, 2:42 PMJames Fellows Yates
01/28/2025, 2:42 PMJames Fellows Yates
01/28/2025, 2:42 PMJames Fellows Yates
01/28/2025, 2:43 PMJames Fellows Yates
01/28/2025, 2:43 PMJames Fellows Yates
01/28/2025, 2:47 PMJames Fellows Yates
01/28/2025, 2:47 PMJonathan Manning
01/28/2025, 3:05 PMmashehu
01/28/2025, 3:26 PMwe get lots of questions about how to interpret the reportsthat points towards a need for improved docs imo, not a statistical model to generate a summary
Phil Ewels
01/28/2025, 3:30 PM--enable_multiqc_ai option switched on, you'd still need to set up a config with the access token env variable.
⦠If you have to copy+paste+modify a config snippet anyway, why not just make the whole thing a config snippet?
⦠Doing this makes the functionality available for all Nextflow pipelines in one go and means zero additional boilerplate in pipeline code.Phil Ewels
01/28/2025, 3:31 PMexport OPENAI_API_KEY=xxx
nextflow run nf-core/rnaseq --enable_multiqc_ai
and:
export OPENAI_API_KEY=xxx
export MULTIQC_AI=1
nextflow run nf-core/rnaseqJonathan Manning
01/28/2025, 3:34 PMenv config (which I'm baking into that PR)Phil Ewels
01/28/2025, 3:36 PMenv {
// For MultiQC AI summaries
MULTIQC_AI = env("MULTIQC_AI")
SEQERA_ACCESS_TOKEN = env("SEQERA_ACCESS_TOKEN")
TOWER_ACCESS_TOKEN = env("TOWER_ACCESS_TOKEN")
OPENAI_API_KEY = env("OPENAI_API_KEY")
ANTHROPIC_API_KEY = env("ANTHROPIC_API_KEY")
}Phil Ewels
01/28/2025, 3:37 PMJames Fellows Yates
01/28/2025, 3:48 PMIf it's in one pipeline it may as well be in the template. nf-core is all about consistency, it'll be annoying if it works in some pipelines but not othersYou're playing with fire there š
This isn't necessarily a Seqera thing, it works with OpenAI and Anthropic too, but I still wary of being too pushy (too soon)Sorry yes, but it's MultiQC (Seqera Product) + AI, and Seqera are going full in AI so IMO it would come off that way. I agree with @mashehu, better understanding from better docs. Lots of numbers being summarised into random setences doesn't help with that IMO except if you have extremely well documented biological methods on the internet has been trained on. RNAseq likely can produce maybe areasonable summary. I suspect e.g. ancient DNA it will be absolute trash
James Fellows Yates
01/28/2025, 3:48 PMPhil Ewels
01/28/2025, 4:14 PMPhil Ewels
01/28/2025, 4:14 PMPhil Ewels
01/28/2025, 4:15 PMPhil Ewels
01/28/2025, 4:15 PMenv in the nextflow.config is neither here nor there for most pipelines though, and could be skipped by the template when there's no MultiQCPhil Ewels
01/28/2025, 4:22 PMPhil Ewels
01/28/2025, 4:22 PMPhil Ewels
01/28/2025, 4:22 PMJames Fellows Yates
01/29/2025, 7:59 AMPhil Ewels
01/29/2025, 1:41 PMJonathan Manning
01/29/2025, 1:51 PM