Commit 87cb790
committed
run: support registered workflow Snakefile and configfile
Allow maintainers to define paths to each workflow's Snakefile and configfile
in the nextstrain-pathogen.yaml. Using mpox as an example, this allows the named
workflows to use the shared Snakefile and their own custom configfiles without
needing to create separate Snakefiles for each workflow.
```
---
compatibility:
nextstrain run:
ingest: ~
phylogenetic/all-clades:
snakefile: phylogenetic/Snakefile
configfile: phylogenetic/defaults/mpxv/config.yaml
phylogenetic/clade-I:
snakefile: phylogenetic/Snakefile
configfile: phylogenetic/defaults/clade-i/config.yaml
phylogenetic/clade-IIb:
snakefile: phylogenetic/Snakefile
configfile: phylogenetic/defaults/hmpxv1/config.yaml
phylogenetic/lineage-B.1:
snakefile: phylogenetic/Snakefile
configfile: phylogenetic/deafults/hmpxv1_big/config.yaml
```1 parent bb36adf commit 87cb790
2 files changed
Lines changed: 44 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
| 234 | + | |
| 235 | + | |
235 | 236 | | |
236 | | - | |
| 237 | + | |
237 | 238 | | |
238 | | - | |
| 239 | + | |
239 | 240 | | |
240 | 241 | | |
241 | 242 | | |
242 | 243 | | |
243 | 244 | | |
244 | 245 | | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
245 | 250 | | |
246 | | - | |
247 | 251 | | |
248 | | - | |
| 252 | + | |
249 | 253 | | |
250 | 254 | | |
251 | 255 | | |
252 | 256 | | |
253 | 257 | | |
254 | 258 | | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
255 | 270 | | |
256 | 271 | | |
257 | 272 | | |
| |||
276 | 291 | | |
277 | 292 | | |
278 | 293 | | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
283 | 298 | | |
284 | 299 | | |
285 | 300 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
329 | 349 | | |
330 | 350 | | |
331 | 351 | | |
| |||
0 commit comments