These are chat archives for nextflow-io/nextflow

10th
Feb 2016
Tom Sitter
@tomsitter
Feb 10 2016 17:14
Hi everyone. Is it possible for nextflow to log all of the commands it runs during a pipeline execution? If it already does so, where can I find this file?
Paolo Di Tommaso
@pditommaso
Feb 10 2016 17:18
Hi, nextflow can produce a file that reports alla the tasks executed. Have a look here
However it does not include the actual commands run
Tom Sitter
@tomsitter
Feb 10 2016 17:21
yes I've seen this feature, but I was hoping to track the actual commands
has this feature been requested before?
Paolo Di Tommaso
@pditommaso
Feb 10 2016 17:24
Actually no. However you could be able to retrieve that commands traversing the work folder in a recursive manner and printing che .commando.sh file
In any case if you think it could be usefull feel free to open an enhancement request on github
Tom Sitter
@tomsitter
Feb 10 2016 17:25
thanks, that will have to do for now. another question -- is it possible to specify where the working directory gets created?
oh, i just found that NXF_WORK environment variable, I will give that a try
Tom Sitter
@tomsitter
Feb 10 2016 17:50
that worked perfectly. Great looking software btw!
Paolo Di Tommaso
@pditommaso
Feb 10 2016 18:26
Exactly. You can also use the -w command line option
Thanks for your feedback on it!