Commit f1021f6
Fix Genomad task: handle absent virus FASTA when no viral sequences found
geNomad skips writing the virus .fna when it finds no viral sequences, causing
the hardcoded cp to fail. Switch to find-based glob so the output path is also
robust to geNomad prefix naming variations (.fasta.gz stripping behavior).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 2d2c534 commit f1021f6
1 file changed
Lines changed: 18 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
86 | 99 | | |
87 | 100 | | |
88 | 101 | | |
| |||
0 commit comments