Skip to content

Commit

Permalink
sterr and stdout log for extract gtdb
Browse files Browse the repository at this point in the history
  • Loading branch information
SilasK committed Jul 27, 2024
1 parent 22d78b9 commit aa6c331
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions workflow/rules/download.smk
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,10 @@ rule extract_gtdb:
resources:
time_min=60 * int(config.get("runtime", {"long": 10})["long"]),
log:
"logs/download/gtdbtk_untar.log",
stdout="logs/download/gtdbtk_untar.log",
stderr="logs/download/gtdbtk_untar.err",
shell:
'( cat {input} | tar -xzvf - -C "{GTDBTK_DATA_PATH}" --strip 1 ) 2> {log} '
'( cat {input} | tar -xzvf - -C "{GTDBTK_DATA_PATH}" --strip 1 ) 2> {log.stderr} > {log.stdout} '


### end GTDBTk
Expand Down

0 comments on commit aa6c331

Please sign in to comment.