Hello! I am working on a computational pipeline implemented as a bash script. I want a summary file to be created on running the script containing the stdout of the script. I have come across
tee
but my pipeline requires a terminal output as well as a summary text file containing the stdout of the pipeline run.
Also, I have
zenity
in my pipeline, if that is of any consequence. Appreciating all the help! Thanks
Thanks for the advice! I am currently working on nextflow wrapping of the script. Coming back to my problem, I am attaching an stdout snippet below:
I want all the stdout (including the echo points) to be saved to an external text file. I would be much obliged to get a detailed or semi-detailed idea on how to do that. Thanks!
With Nextflow that would all end up in the
.nextflow.log
file of the respectivework
directory by default. You can of course try and catch it in a file with either>
for stdout or2>
for stderr, depending to which channel the tools sends it, like:I guess that should do it. Thanks for the help. Just one more thing, could you refer me to any other resource that can help me wrap my script with nextflow? Other than the nextflow manual, I mean. Appreciate all the help. Thanks again!
show us what you tried, ask this as a new question.