add nextflow d30e48d
This commit is contained in:
20
nextflow/validation/test-arrays.nf
Normal file
20
nextflow/validation/test-arrays.nf
Normal file
@@ -0,0 +1,20 @@
|
||||
process python_version {
|
||||
array 3
|
||||
input:
|
||||
val x
|
||||
path input_file
|
||||
|
||||
output:
|
||||
stdout
|
||||
|
||||
script:
|
||||
"""
|
||||
echo $x
|
||||
cat $input_file
|
||||
"""
|
||||
}
|
||||
|
||||
workflow {
|
||||
python_version(channel.of(1,2,3), params.array_file_path) | view
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user