Common Workflow Language

210 views
Skip to first unread message

Christopher Fields

unread,
Nov 5, 2015, 5:18:46 PM11/5/15
to Nextflow
Just curious, but has anyone looked at integration of Common Workflow Language support (CWL, https://github.com/common-workflow-language/common-workflow-language) for Nextflow?  Or is this of general interest?  

Thanks,

chris

Paolo Di Tommaso

unread,
Nov 6, 2015, 8:52:47 AM11/6/15
to nextflow
Hi Christopher,


That would be interesting but it surely is a challenging task due to the inherent differences between Nextflow and the CWL specification. For example with Nextflow we have chosen to have tasks defined simply providing a piece of code to be executed in the hosting environment, this greatly simplifies applications prototyping. Instead the CWL specification requires each single tool (including any command line options) to be wrapped by a JSON definition.  

This makes really difficult for Nextflow to be able to generate a workflow definition complaint with CWL. 


However I think that at some point, when the specification will be stable, we could take in consideration some kind of interoperability, for example having a conversion tool/produce that would allow a CWL workflow to be converted to a Nextflow script. Surely something that deserve to be investigated. 


Cheers,
Paolo




--
You received this message because you are subscribed to the Google Groups "Nextflow" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nextflow+u...@googlegroups.com.
Visit this group at http://groups.google.com/group/nextflow.
For more options, visit https://groups.google.com/d/optout.

Christopher Fields

unread,
Nov 10, 2015, 11:36:44 AM11/10/15
to Nextflow
Hi Paolo,

That's essentially what I was thinking (e.g. a conversion layer).  My feeling is this will be a primary, and easiest, mode of support to implement.  Peter Amstutz, one of the CWL core members, also mentioned your interest in CWL but mentioned some differences on the CWL mail list between CWL design and how nextflow is implemented:


Thanks!

chris

Paolo Di Tommaso

unread,
Nov 11, 2015, 12:04:30 PM11/11/15
to nextflow
Hi Chris, 

I share this view and I agree that could be useful for both projects. The problem is that we are a very small team and at this time I think it's more important to focus our effort on the *computing* capabilities of the framework more than the interoperability with other workflow tools. 

This does not mean that we don't care about the portability and reproducibility of nextflow applications. Indeed, this has been the main project goal since the day zero. 

However Nextflow aims to achieve workflow reproducibility targeting different computing platforms, more than supporting multiple workflow tools.


Said that, we are more than happy to take in consideration any collaboration proposal for a Nextflow-CWL conversion layer. This could even be an interesting Google Summer of Code project in the context OBF. 

What do you think? 


Cheers,
Paolo

Kyle Hernandez

unread,
Apr 5, 2016, 10:39:58 PM4/5/16
to Nextflow
Hello,

I too have been interested in using nextflow as the engine for cwl. Has there been anymore discussion of this?

Paolo Di Tommaso

unread,
Apr 6, 2016, 8:57:35 AM4/6/16
to nextflow
Hi Kyle, 

We have submitted a project idea for this year GSoC. However we still don't know if there will be any student working on that. 

In any case I think it would be an interesting integration and we would be eager to receive pull request for that. May you eventually be interested in contributing to it? 


Best,
Paolo
 

 

--
You received this message because you are subscribed to the Google Groups "Nextflow" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nextflow+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages