Closed hukai916 closed 2 years ago
There are several ways you can deal with separating the log information from the output.
Both the output and the log information can be (seperately) redirected to a file. Use -S/--stdout
to redirect the output and -L/--logfile
to redirect the logging information. So you can either redirect the output to file, and leave the log information where it is:
umi_tools extract --bc-pattern=NNNNNNNN -I trim5_bc1001--bc1028.fastq.gz -S trim5_bc1001--bc1028.processed.fastq.gz
Or redirect the log and leave the output where it is:
umi_tools extract --bc-pattern=NNNNNNNN -I trim5_bc1001--bc1028.fastq.gz -L trim5_bc1001--bc1028.log
or redirect both
umi_tools extract --bc-pattern=NNNNNNNN -I trim5_bc1001--bc1028.fastq.gz -S trim5_bc1001--bc1028.processed.fastq.gz -L trim5_bc1001--bc1028.log
Personally, I like to redirect both.
Finally, it is possible to supress the log by setting the verbosity to 0 with -v 0
Thanks for the quick reply @IanSudbery, the solution works beautifully!
Hi developers,
Is there a way to skip adding comment lines on top of
umi_tools extact
command output? By default, I see the following comment lines being added on top, which breaks some of my downstream software:Thanks and regards,