These are chat archives for nextflow-io/nextflow
quant/A_1/quant.sf ... quant/B_3/quant.sf, etc.
input: file '*' from channel.toList()
input: file allFilesHandle from channel.toList()
$allFilesHandleto reference all files in your script
input: file 'quant_*.sf' from channel.toList()
mv quant/A_1/quant.sf quant_A_1.sf
but there is not a way to get the original path back out?
Alternatively, would it be possible to zip each file up with a (Groovy) variable (string, structure, whatever) that the downstream process could use to identify information about the file
.toList()solution. For this particular use case, that also gives me enough information about the sample to run the downstream scripts
I put the directory containing each quant.sf file into the stream, I can get that back out with the original .toList() solution