TheJacksonLaboratory / splicing-pipelines-nf

Repository for the Anczukow-Lab splicing pipeline
14 stars 9 forks source link

FIX Gen3-DRS ENV issue #290

Closed Vlad-Dembrovskyi closed 2 years ago

Vlad-Dembrovskyi commented 2 years ago

Problem

With Gen3-DRS input option the pipeline is failing at the moment: https://cloudos.lifebit.ai/public/jobs/6195a5ddfb26cf01dce62a49 https://cloudos.lifebit.ai/public/jobs/619d3eb740695e01e73e9b67

Error message:

No such file: ..../.command.env

image image

Suspicion: It may be this output env(sample_name) that is causing the issue. We had this error before in other pipelines. https://github.com/TheJacksonLaboratory/splicing-pipelines-nf/blob/217e202cab3264c9d2d4cafe80b2476a2d837a85/main.nf#L479

Solution

David suggested change env(...) format of output to stdout (example) Basically echo the desired value to stdout, and capture stdout. Risc: there may be a lot of stuff printed to stdout.

Implementation

How will we implement the solution?