Closed emilio-r closed 3 years ago
I think this is a great suggestion! Make a PR!
@abhi18av, might I trouble you to implement this change at some point? I feel that I'm too unfamiliar with the structure of BACTpipe as it looks now, and would need to take too much time to get accustomed to it again before I would feel comfortable changing something like this.
I could point you to where the change needs to be made:
https://github.com/ctmrbio/BACTpipe/blob/master/modules/shovill/shovill.nf#L4
Since Nextflow v0.29.0 it is possible to add multiple publishDir
directives. Should be straightforward to add a line that just publishes the log file without conditions.
Thank you for the assistance @boulund! I have now made the change, tested it, and made a pull request here #155 .
Nice work! Impressive that you made it so quickly! Glad to hear it worked well in testing.
Merged to develop 👍
I suggest that we again make the Shovill output file
shovill.log
into standard output. It contains very valuable information about the assemblies and just a relatively small text file, making the storage-use rather small in comparison to the usefulness of this file.