Skip to content

Commit

Permalink
Add mgnify workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
afg1 committed Oct 10, 2023
1 parent 1d37139 commit d303d7e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions workflows/databases/mgnify.nf
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
}
}

0 comments on commit d303d7e

Please sign in to comment.