我有一个进程生成我感兴趣的两个文件,hitsort.cls 和 contigs.fasta。我使用publishdir输出这些:
process RUN_RE {
publishDir "$baseDir/RE_output", mode: 'copy'
input:
file 'interleaved.fq'
output:
file "${params.RE_run}/seqclust/clustering/hitsort.cls"
file "${params.RE_run}/contigs.fasta"
script:
"""
some_code
"""
}
现在,我需要这两个文件作为另一个进程的输入,但我不知道该怎么做。
我试过用
NEXT_PROCESS(params.hitsort, params.contigs)
同时将输入指定为:
process NEXT_PROCESS {
input:
path hitsort
path contigs
但它不起作用,因为只使用基本名称而不是完整路径。基本上我想要的是等待 RUN_RE 完成,然后将它输出的两个文件用于下一个过程。