Nextflow community chat moved to Slack! https://www.nextflow.io/blog/2022/nextflow-is-moving-to-slack.html
jordeu on fusion-no-entry
Remove .command.log tee and tra… (compare)
pditommaso on master
Log exception when an unexpecte… (compare)
jordeu on fusion-no-entry
Fix Wave debug command Signed-… (compare)
@pditommaso as an alternative to this pattern: http://nextflow-io.github.io/patterns/index.html#_problem_19
I've made https://github.com/micans/nextflow-idioms/blob/master/ab-abc-until.nf
It uses
ch_skipB.until { params.doB }.set { ch_AC }
ch_doB.until { !params.doB }.set { ch_AB }
Instead of
(ch_AC, ch_AB) = ( params.doB ? [Channel.empty(), ch_doB] : [ch_skipB, Channel.empty()] )
This made me wonder; first if there is a drawback to using until
like this, and second, the example uses into { ch_doB; ch_skipB }
just before. I am envisioning into
syntax extended like this:
into { .until{ params.doB }.set{ ch_AC };
.until{ !params.doB }.set{ ch_AB }
}
I'm not sure it's possible or that useful, but wanted to document the thought. []
${toRaw}/SampleSheet.csv
? I'm wandering if you have write permissions under ${toRaw}
..nextflow.log
file report any error? Does it report if the process you need has been "submitted" or "chached" ?
*.fastq
expected by process merge_nextseq_lanes
when calling a script that renames files in place. There are many .fastq files in the working directory but it cannot find any?
into
.
I found the need to introduce extra channel names a little bit annoying
fastq_pairs = Channel
.fromFilePairs('/cb/boostershot-basic/Data/Intensities/BaseCalls/CBTEST_Project_0091/*_L00[1-4]_R[1-2]_001.fastq'), size: -1)
fromPath
and fromFilePairs
are channel factory methods; they are channel 'sources', you can't use them as connectors. But you can create file pairs yourself -- the following is not a great example, but it does end up with a process spitting out a pair of files -- https://github.com/cellgeni/rnaseq/blob/master/main.nf#L295 . I would try to make a small example using toy files emulating what you want to achieve.