These are chat archives for nextflow-io/nextflow

10th
Jun 2016
Paolo Di Tommaso
@pditommaso
Jun 10 2016 15:18
version 0.20.0 just release
nextflow -self-update
have fun
Jemma Nelson
@fwip
Jun 10 2016 21:02
This is a noob question (and maybe an XY problem), but I was wondering if there was any way to embed/include nextflow processes from separate files?
We have a homegrown collection of bash, python & make that we use for managing our day-to-day pipeline, and we currently have a fair amount of code duplication, which we're looking to refactor
Evan Floden
@evanfloden
Jun 10 2016 21:05
Not sure if this is what you are after but have a look here
Jemma Nelson
@fwip
Jun 10 2016 21:07
hmm, that might help, thanks. Our existing system does do a fair amount of customization via environment variables already
Phil Ewels
@ewels
Jun 10 2016 21:18
We looked into doing something similar but didn't find anything obvious. We've ended up just duplicating the common processes. They're pretty simple so hopefully not too much work to maintain.
Paolo Di Tommaso
@pditommaso
Jun 10 2016 22:02
@fwip If you are referring how to reuse your existing code and scripts, nextflow is just designed for that. Just put that scripts in the bin/ folder in your pipeline project and invoke them from your pipeline processes.
Jemma Nelson
@fwip
Jun 10 2016 22:06
Mainly I was making sure that there wasn't a simple way to like, include myProcess.nf(that would contain some process I wanted to do) from within a nextflow script that I was missing
I only started seriously looking at nextflow yesterday, and from what I see it looks really great
Paolo Di Tommaso
@pditommaso
Jun 10 2016 22:07
No, at this time workflows composition is not supported
Jemma Nelson
@fwip
Jun 10 2016 22:08
okay, thanks for letting me know :)
Paolo Di Tommaso
@pditommaso
Jun 10 2016 22:09
I saw that it's a common request but I still thinking that is that is not really required
Jemma Nelson
@fwip
Jun 10 2016 22:53
Also just a heads up; it looks like your two most recent blog posts (http://www.nextflow.io/blog.html) are the same, or at least mostly the same