Error in executing nextflow script
1
0
Entering edit mode
23 months ago
Srinka ▴ 20

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
"""
}

ERROR

nextflow • 679 views
ADD COMMENT
0
Entering edit mode

Could you format your code as code block?

ADD REPLY
1
Entering edit mode
23 months ago

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'))
ADD COMMENT

Login before adding your answer.

Traffic: 1589 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6