1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-22 00:26:03 +00:00

fix sentieon errors

This commit is contained in:
Ramprasad Neethiraj 2022-04-29 00:20:57 +02:00
parent 9da85209f2
commit 40c965c76b

View file

@ -8,10 +8,7 @@ process {
memory = { check_max( 80.GB * task.attempt, 'memory' ) } memory = { check_max( 80.GB * task.attempt, 'memory' ) }
} }
withLabel:'sentieon' { withLabel:'sentieon' {
beforeScript = { [ beforeScript = { "export PATH=\$PATH:\$SENTIEON_INSTALL_DIR/sentieon-genomics-202010.02/bin" }
"export SENTIEON_LICENSE=\$(echo -e \$SENTIEON_LICENSE_BASE64 | base64 -d)",
"export PATH=\$PATH:\$SENTIEON_INSTALL_DIR/sentieon-genomics-202010.02/bin"
].join(";") }
} }
withName: BCFTOOLS_VIEW { withName: BCFTOOLS_VIEW {
if (params.genome == 'GRCh37') { if (params.genome == 'GRCh37') {