-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.nf
More file actions
21 lines (19 loc) · 994 Bytes
/
main.nf
File metadata and controls
21 lines (19 loc) · 994 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
nextflow.enable.dsl=2
//=============================================================================
// IMPORTS
//=============================================================================
include { isMac; isLinux; getContainerImage } from './lib/utils.nf'
include { checkAndBuildContainers } from './workflows/build_containers.nf'
include { baseCellWorkflow } from './workflows/base_cell.nf'
//=============================================================================
// WORKFLOW
//=============================================================================
workflow {
println "Check container images and build if abscent"
checkAndBuildContainers()
println "Running base cell workflow"
// Pass container outputs to ensure containers are built before base cell workflow starts
baseCellWorkflow(checkAndBuildContainers.out.containers)
baseCellWorkflow.out.zarr_store.view { "Zarr store: ${it}" }
baseCellWorkflow.out.plot.view { "Plot: ${it}" }
}