nextflow-io / cwl2nxf

Import a CWL workflow specification to Nextflow script (experimental)
Apache License 2.0
27 stars 5 forks source link

Add support for InitialWorkDirRequirement #7

Closed KevinSayers closed 7 years ago

KevinSayers commented 7 years ago

In CWL InitialWorkDirRequirement can be used at the start of a commandline tool to specify files that must also be placed in tmp folder during processing. In nextflow this would involve just adding the additional files as inputs I believe.

pditommaso commented 7 years ago

Yes exactly, something like:


process foo {
  input: 
   file 'x' from file('x')
   file 'y' from file('y')
}
KevinSayers commented 7 years ago

Yes it required a very minimal adjustment to get the CWL_RNAtoy converting and running correctly. I need to create a more complex test case. This will also require javascript as the InitialWorkDirRequirement can be an expression.

KevinSayers commented 7 years ago

The InitialWorkDirRequirement is currently supported. The expression portion will be fixed with continued work on JS handling.