Error in executing nextflow script
The workflow was given as -
workflow {
mapping(Channel.fromPath('TRIM.out', 'buildIndex.out'))
}
The process is written as -
process mapping {
input: path 'TRIM.out' path 'buildIndex.out'
"""
bowtie2 -x $buildIndex.out $TRIM.out -S accepted_hits.sam
"""
}
• 1,022 views
•
link
1 answer
the process mapping taks as input TWO path while Channel.fromPath('TRIM.out', 'buildIndex.out') is a stream of data, each data contains ONE path.
you want something like:
mapping(file('TRIM.out'),file('buildIndex.out'))
• 0 views
•
link
Log in to answer this question.
Could you format your code as code block?