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

Idea: Automated methods section generation #786

Closed
apeltzer opened this issue Jul 9, 2018 · 6 comments
Closed

Idea: Automated methods section generation #786

apeltzer opened this issue Jul 9, 2018 · 6 comments

Comments

@apeltzer
Copy link
Contributor

apeltzer commented Jul 9, 2018

Hi everyone!

while discussing something with @danielhuson he suggested something for nextflow that is really cool in my opinion and wanted to share that, ask for comments and maybe thoughts on how to implement that in Nextflow at some point.

As far as I know, Nextflow can produce a DAG graph at the end of an execution, to track back what kind of processes were executed at which point. This is very useful for people to figure out what the pipeline was doing, but one idea would also be, to generate an automated methods section out of this information, summarizing the processes that were run with which parameters etc.

Something like this would be possible for example:

Input reads were processed using workflow.name. Reads were initially processed using $process.1 with $script-section, followed by $process.2 with $script-section.2 (sorry, this is very basic but should only illustrate what I mean).

The new version of MEGAN (by @danielhuson) for example does this:
http://ab.inf.uni-tuebingen.de/software/megan6/

Similar to this, MEGA 6 (maybe 7 too) can do similar things, too.
https://www.megasoftware.net/

I see some problems when referring to parameters of the respective tool(s), but maybe someone has a smart idea how this would work - could be a cool feature and if this is something integrated in nextflow, would be benefitial to everyone, too :-)

Linking some people in here who I think might be interested: @ewels @maxulysse @skptic @sven1103

@pditommaso
Copy link
Member

pditommaso commented Jul 9, 2018

How does this differ from the tasks report?

image

@apeltzer
Copy link
Contributor Author

apeltzer commented Jul 9, 2018

Its a more condensed version basically of the individual processes (+ if there are multiple samples), this gets to show all details (e.g. 5x the FastQC process). For users it would be easier to see something like a small paragraph, just summarizing things.

@pditommaso
Copy link
Member

Maybe a example of a real execution is a good start to discuss it :)

@pditommaso
Copy link
Member

Tagging as stable and closing because this request as no more activity.

@ewels
Copy link
Member

ewels commented Jan 7, 2019

I guess in a way, this ties in to nf-core/tools#236 where we were discussing having a description of what each tool is doing in the pipeline and automating a similar methods paragraph.

@pditommaso
Copy link
Member

Being so it would be better covered by #879 or with a custom nf-core tool in the short run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants