I am having some trouble specifying the genotypes_prediction parameter on AWS. The problem is that it expects 3 files together as a pattern, e.g. "example.{bim,bed,fam}" but AWS S3 doesn't recognise this format of paths and my run is failing on AWS because of it.
To solve this problem, I'd like to create 3 separate input params: genotypes_prediction_bim, genotypes_prediction_bed and genotypes_prediction_fam. This way, I can just provide the absolute path to all 3 files without patterns and it will work on any platform.
I understand this involves changing the fromFilePairs channel into 3 separate fromPaths channels, but I'm having trouble on how I could structure the Nextflow code such that it will give the same channel output as fromFilePairs, which I believe is something like [filename, [path_bim, path_bed, path_fam]] I have never coded in Nextflow before, so apologies if this is too simple a problem
Any assistance would be greatly appreciated!
Thank you so much
Hi again,
I am having some trouble specifying the
genotypes_prediction
parameter on AWS. The problem is that it expects 3 files together as a pattern, e.g. "example.{bim,bed,fam}" but AWS S3 doesn't recognise this format of paths and my run is failing on AWS because of it.To solve this problem, I'd like to create 3 separate input params:
genotypes_prediction_bim
,genotypes_prediction_bed
andgenotypes_prediction_fam
. This way, I can just provide the absolute path to all 3 files without patterns and it will work on any platform.I understand this involves changing the
fromFilePairs
channel into 3 separatefromPaths
channels, but I'm having trouble on how I could structure the Nextflow code such that it will give the same channel output asfromFilePairs
, which I believe is something like[filename, [path_bim, path_bed, path_fam]]
I have never coded in Nextflow before, so apologies if this is too simple a problemAny assistance would be greatly appreciated! Thank you so much