Skip to content
Snippets Groups Projects
Unverified Commit b2a52352 authored by Nicolas Servant's avatar Nicolas Servant Committed by GitHub
Browse files

Merge pull request #153 from robomics/bugfix

Fix incorrect handling of --restriction_site and --ligation_site params
parents 53b8b57e 88935526
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,9 @@ if (params.digestion){
ch_restriction_site = Channel.value(restriction_site)
ligation_site = params.digestion ? params.digest[ params.digestion ].ligation_site ?: false : false
ch_ligation_site = Channel.value(ligation_site)
}else if (params.restriction_site && params.ligation_site){
ch_restriction_site = Channel.value(params.restriction_site)
ch_ligation_site = Channel.value(params.ligation_site)
}else if (params.dnase){
ch_restriction_site = Channel.empty()
ch_ligation_site = Channel.empty()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment