Closed mhoban closed 2 months ago
see here: https://github.com/nextflow-io/nextflow/issues/236#issuecomment-314018546
relevant code:
params.single = false params.reads = "data/*{1,2}.fastq.gz" Channel.fromFilePairs( params.reads, size: params.single ? 1 : 2 ) | ifEmpty { exit 1, "Cannot find any reads matching: ${params.reads}\nNB: Path needs to be enclosed in quotes!\nIf this is single-end data, please specify --single on the command line." } | view
I think we're at the point where what's currently being done works well enough, especially after #81 is complete
see here: https://github.com/nextflow-io/nextflow/issues/236#issuecomment-314018546
relevant code: