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

Add (customisable) 'method description' MultiQC section to pipeline template #1749

Merged
merged 24 commits into from
Sep 9, 2022

Conversation

jfy133
Copy link
Member

@jfy133 jfy133 commented Aug 14, 2022

This replaces nf-core/modules#1246 at the reques of @ewels

It adds a dynamically-created section to MultiQC, via a MultiQC YAML containing HTML, with a pipeline developer recommended text that users could copy-paste into their publications when they use a given pipeline (mainly aimed at including correct versions, the actual command used etc.).

As well as having a pipeline default (modifiable by the pipeline developer), it can also be replaced by an entirely custom text by a pipeline user with the flag --multiqc_methods_description.

This can be tested with the proof of concept on a test-pipeline here: https://github.com/jfy133/nf-core-testpipeline/tree/methods-summary

Note 1: we can improve the phrasing
Note 2: I notice the MultiQC section gets duplicated for some reason, I'm not sure why as I pretty much copy/pasted from the workflowSummary.

image

PR checklist

  • This comment contains a description of changes (with reason)
  • CHANGELOG.md is updated
  • If you've fixed a bug or added code that should be tested, add tests!
  • Documentation in docs is updated

@jfy133 jfy133 changed the base branch from master to dev August 14, 2022 06:18
@github-actions

This comment was marked as resolved.

@codecov

This comment was marked as off-topic.

@jfy133 jfy133 requested a review from ewels August 14, 2022 09:21
Co-authored-by: Júlia Mir Pedrol <mirp.julia@gmail.com>
Copy link
Member

@ewels ewels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Speed read-through review, haven't tested yet.

CHANGELOG.md Outdated Show resolved Hide resolved
nf_core/pipeline-template/assets/multiqc_config.yml Outdated Show resolved Hide resolved
nf_core/pipeline-template/assets/multiqc_config.yml Outdated Show resolved Hide resolved
Co-authored-by: Phil Ewels <phil@seqera.io>
@jfy133
Copy link
Member Author

jfy133 commented Aug 17, 2022

What it looks like after committing the changes from @ewels

image

Co-authored-by: Phil Ewels <phil@seqera.io>
@jfy133
Copy link
Member Author

jfy133 commented Aug 23, 2022

That took longer than I would like to admit, but here we go:

image

@jfy133 jfy133 requested a review from ewels August 24, 2022 04:12
Copy link
Member

@ewels ewels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super nice - one minor suggestion left regarding that one bullet point, but otherwise happy to go.

@jfy133
Copy link
Member Author

jfy133 commented Sep 9, 2022

image
image

@jfy133 jfy133 requested a review from ewels September 9, 2022 09:01
Copy link
Member

@ewels ewels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jfy133
Copy link
Member Author

jfy133 commented Sep 9, 2022

ugh copy and paste error ofr the screenshots, but here you go:

image

@jfy133 jfy133 merged commit 0b3441a into nf-core:dev Sep 9, 2022
@jfy133 jfy133 deleted the method-description branch September 9, 2022 11:01
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants