#!/usr/bin/env nextflow
/**
* step 1: Make a file called var1.txt
*/
process makeFiles {
publishDir "<filePath where var1.txt will be published at the end of makeFiles process>"
output:
file "var1.txt"
shell:
"""
touch var1.txt
echo 100 > var1.txt
"""
}
/**
* imports the var1.txt to a channel
*/
varChannel = Channel.fromPath("<filePath where var1.txt will be published at the end of makeFiles process>")
varChannel.subscribe { println it.text }
--
You received this message because you are subscribed to the Google Groups "Nextflow" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nextflow+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/nextflow.
For more options, visit https://groups.google.com/d/optout.
process foo {output: file('*') into all_files_ch"""your_command"""}process bar {input: file('*') from all_files_ch"""another_command"""}
Of course.process foo {output: file('*') into all_files_ch"""your_command"""}process bar {input: file('*') from all_files_ch"""another_command"""}
On Fri, Jun 8, 2018 at 3:58 PM, Felix Kokocinski <meiste...@gmail.com> wrote:
OK, but is there an easy way to provide all files and their current (sub)directory structure from the output of the task-1 work dir to the input task area of task-2, please?Would that be something likeoutput:file(*)Thanks, Felix
--
You received this message because you are subscribed to the Google Groups "Nextflow" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nextflow+u...@googlegroups.com.
Missing output file(s) `*` expected by process `analysis_1`
--