nextflow

Nextflow Channel create with condition

…衆ロ難τιáo~ 提交于 2021-01-29 17:10:22
问题 [Kasumi_H3K36, Kasumi_IgG, /mnt/Data/cut_and_tag/work/d0/3db2bde9eb1bdb0578073fb128bc4c/Kasumi_H3K36.no0.bedgraph] [Kasumi_JMJD1C, Kasumi_IgG, /mnt/Data/cut_and_tag/work/b1/dffe2120acda5b05860e1a3bb0c1bf/Kasumi_JMJD1C.no0.bedgraph] [Kasumi_NCOR1, Kasumi_IgG, /mnt/Data/cut_and_tag/work/9f/7c3680a1ff0ae0a5a27f42e1a27225/Kasumi_NCOR1.no0.bedgraph] [Kasumi_IgG, Kasumi_IgG, /mnt/Data/cut_and_tag/work/21/1038cd4ecbc5b3f88da23ad1ee3147/Kasumi_IgG.no0.bedgraph] [Kasumi_H4K5, Kasumi_IgG, /mnt/Data/cut

Nextflow : Is it possible to tranform a queue channel to a value channel?

爱⌒轻易说出口 提交于 2021-01-29 07:20:22
问题 I have a process A which outputs a file into a channel outA . I want to use that file as input for 3 downstream processes B , C and D . As the channel outA created is a queue channel by default, I cannot directly use the file more than once (unlike value channels). Currently, I use the into operator to duplicate the channel outA as described here (see the code below). I also know that you can create a value channel from a file by doing Channel.value(file('/path/to/file.txt')) . My code