process complete but files are not published - terminated with an error exit status (1) #4438
-
Hi developers, I've a
In work directory
I do not understand why the output files are not being pushed/published to the directory? Is it because the tool prints on the screen? Please see attached .nextflow.log |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Your process failed - exit status 1. Try turning off debug - comment out Then find the error message. You can look in the work dir for an error msg too. Are you really sure all the outputs are being created ? Also the pipeline code indentation looks very messy, why not tidy this up a bit? |
Beta Was this translation helpful? Give feedback.
-
@colindaven Hi, thank you for looking into it. I ran the following code which worked fine on unix shell.
Same output files are generated, same number of lines. The code/command works fine with the input files. I looked into the work dir as well, checked .command.log, .command.err .command.sh .command.out .command.run files. For example: I turned off the
These are information upon completion of tool, and not errors. |
Beta Was this translation helpful? Give feedback.
-
You could for bugfixing try adding If you distort the exit codes with this hack, then Nextflow cannot judge if your process succeded or not - which can cause problems for potential later steps in your pipeline, missing output etc.
|
Beta Was this translation helpful? Give feedback.
-
@colindaven I'd used |
Beta Was this translation helpful? Give feedback.
You could for bugfixing try adding
|| true
to the end of your command. I have to use this when reporting versions, which normally end with an exit code 1, which causes Nextflow to abort. It may be that your tool is writing to stderr and causing a similar problem.If you distort the exit codes with this hack, then Nextflow cannot judge if your process succeded or not - which can cause problems for potential later steps in your pipeline, missing output etc.
/data1/software/msisensor/binary/msisensor_Linux_x86_64 msi -d /data1/datasets/arvadosResources/msisensor/GRCh38.primary_assembly.genome.fa.microsatellites.list -n ${bqsrbam_normal} -o "msi_output" -t ${bqsrbam_tumor} || true