-
Notifications
You must be signed in to change notification settings - Fork 36
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
Dynamic listing of citations/references of used tools in MultiQC methods section #308
Conversation
This PR is against the
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome! 🥇
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Beautiful! 😍
Just add a small question, also, from the snapshot in the paragram corresponding to <p>${tool_citations}</p>
sometimes there is a comma followed by a point but this might be one of the format issues you already are fixing.
If you have any suggestions please tell me how to fix it?! I get different behavour between the REPL console and the pipeline!!! I guess you can see I've already got lots of 'replaceAlls' but they seem to only work on some of the instances... |
Signed-off-by: Rob Syme <[email protected]>
I can't get the text engine to work... but I can fix the comma dot problemn as in funcscan, using sublists for each sentence |
Ready for review, now without stupid ugly punctioation errors! |
Status
An important thing with pipelines is to give credit where credit is due, as in ensure that users of the pipelines cite all the relevent literature of the tools used in the pipeline, rather than just the pipline itself.
I've now extended the custom nf-core groovy lib functions used to generate the MultiQC methods text to now dynamically insert the citation/bibliography of all the tools, whereby only tools used in the specific pipeline run are included.
Full MQC reports are below but here is an example of a small run:
and a big run:
dynamic_mqc_methods.zip
There is some minor formatting fixes that need to be done to the sentence but I can't work out why the
.replaceAll()
isn't working properly on those.