These are chat archives for nextflow-io/nextflow

6th
Dec 2017
Manabu ISHII
@manabuishii
Dec 06 2017 05:07

Hello
Is there any specification about nextflow ?

I know the documentation is here.
https://www.nextflow.io/docs/latest/index.html

Paolo Di Tommaso
@pditommaso
Dec 06 2017 07:31
what kind of specification are you exactly looking for?
Manabu ISHII
@manabuishii
Dec 06 2017 09:05

@pditommaso Thanks, reply.
I want to look for something like
http://www.commonwl.org/v1.0/CommandLineTool.html

Motivation 1. If specification is exists, I want to read. Of course I know the current documentation is looks good.
Motivation 2. If I can, I want to create Nextflow highlighter for atom and other editor to support newbie like my collegues.

Paolo Di Tommaso
@pditommaso
Dec 06 2017 09:06
ok, helps to clarify and sounds interesting
the main difference between NF and CWL is that the former is a DSL
to be more precise a custom extension of the groovy programming lang
to reply your question, there isn't a formal definition of the NF DSL
*but* the Groovy one could be a good starting point to create a syntax highlighter
Paolo Di Tommaso
@pditommaso
Dec 06 2017 09:11
it does make sense ?
Manabu ISHII
@manabuishii
Dec 06 2017 09:12
Thanks !! Very helpful.
Paolo Di Tommaso
@pditommaso
Dec 06 2017 09:13
I would very happy to contribute to extend the grammar definition to make it suitable for Nextflow
the main difference in Nextflow is the process primitive eg
process someName {
  input:
  output: 
   .. etc 
}
for the remaining 95% is just the groovy syntax
Manabu ISHII
@manabuishii
Dec 06 2017 09:16
Thanks . I'll read the https://www.nextflow.io/docs/latest/index.html and try running samples.
Paolo Di Tommaso
@pditommaso
Dec 06 2017 09:17
Nice! Feel free to ask as you need.