Opening this issue per #209 (comment).
As mentioned, the main issue I had was with staging. For example, here a "dummy" file is passed:
|
def poststats = file('dummy_postfilterflagstat.stats') |
Nextflow tries to stage this file but it doesn't exist, causing the job to fail. There's another one here that I ran into:
|
tuple samplename, libraryid, lane, seqtype, organism, strandedness, udg, file(r1), file(r2) from ch_lanemerge_for_bwa |
When the data is single-ended and there is no r2, Nextflow tries to stage a weird malformed gs:// URL ("gs://gen-datawork9") that seems to be a combination of the bucket I'm using "gen-data" and the last portion of the workdir path "work9".
I'm not sure of the best way to solve the problem. Is there a way to pass a variable length tuple without throwing warnings? I suppose an alternative might be to pass a dummy file in baseDir that actually exists (but doesn't actually end up getting used)?
Happy to test as needed.
Opening this issue per #209 (comment).
As mentioned, the main issue I had was with staging. For example, here a "dummy" file is passed:
eager/main.nf
Line 1553 in 916403a
Nextflow tries to stage this file but it doesn't exist, causing the job to fail. There's another one here that I ran into:
eager/main.nf
Line 1193 in 916403a
When the data is single-ended and there is no r2, Nextflow tries to stage a weird malformed gs:// URL ("gs://gen-datawork9") that seems to be a combination of the bucket I'm using "gen-data" and the last portion of the workdir path "work9".
I'm not sure of the best way to solve the problem. Is there a way to pass a variable length tuple without throwing warnings? I suppose an alternative might be to pass a dummy file in baseDir that actually exists (but doesn't actually end up getting used)?
Happy to test as needed.