diff --git a/workflows/databases/mgnify.nf b/workflows/databases/mgnify.nf index 945de335..e1a09747 100644 --- a/workflows/databases/mgnify.nf +++ b/workflows/databases/mgnify.nf @@ -20,3 +20,14 @@ process parse { rnac mgnify parse $json . """ } + + +workflow mgnify { + main: + if ( params.databases.mgnify.run ) { + mgnify_fetch | mgnify_parse | set { data } + } + else { + Channel.empty() | set { data } + } +}