Nextflow community chat moved to Slack! https://www.nextflow.io/blog/2022/nextflow-is-moving-to-slack.html
pditommaso on master
Log exception when an unexpecte… (compare)
jordeu on fusion-no-entry
Fix Wave debug command Signed-… (compare)
script:
"""
cp ${nfPath} ${toScripts}
cp ${params.sampleSheet} ${toRaw}/SampleSheet.csv
cp -r \$(dirname "${workflow.scriptFile}")/bin ${toScripts}
echo ${params.userName} > ${toLogs}/user.txt
echo ${capture} > capture.txt
echo ${dbsnp} > dbsnp.txt
echo ${knownSites1} >> dbsnp.txt
echo ${knownSites2} >> dbsnp.txt
cp --verbose -rf ${fromNAS}/* ${toRaw} 2> copy.log
#rsync -a ${fromNAS}/ ${toRaw} --log-file=rsync.log
#rsync --version > rsync_version.txt
$lbzip2 -n 10 --best copy.log
#$lbzip2 -n 10 --best rsync.log
touch copyProcess.ok
"""
@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)