Commit f01798d
committed
Fix deacon CLI flags and decontaminate process name collision
The RUN_DEACON process still uses the old zcat-pipe-pigz pattern and the deprecated --log flag from before deacon v0.5.0. Deacon now handles compressed I/O and threading natively, and the flag was renamed to --summary. This commit updates RUN_DEACON to use deacon's native I/O with --output and --summary.
The DECONTAMINATE subworkflow also has a bug where it unconditionally calls both INDEX_CONTAMINANTS and GET_INDEX, then invokes RUN_DEACON twice with each result. This causes a Nextflow process name collision and means both code paths always run regardless of which parameters the user actually provided. This commit restructures the subworkflow to branch on whether the user supplied a local FASTA (contam_fasta) or a remote pre-built index URL (contam_link), running only the appropriate path.1 parent eaedd00 commit f01798d
File tree
3 files changed
+15
-9
lines changed- modules
- subworkflows
3 files changed
+15
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
13 | 18 | | |
14 | | - | |
| 19 | + | |
15 | 20 | | |
16 | | - | |
| 21 | + | |
17 | 22 | | |
18 | 23 | | |
19 | | - | |
| 24 | + | |
20 | 25 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments