From 1fa4a090a3ef234ae1769766e7ae146fda26b97b Mon Sep 17 00:00:00 2001 From: Mahesh Binzer-Panchal Date: Mon, 1 Jul 2024 13:23:22 +0000 Subject: [PATCH] Add share to interpro properties find path --- modules/local/interproscan.nf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/local/interproscan.nf b/modules/local/interproscan.nf index ecb7f33..ce9fa19 100644 --- a/modules/local/interproscan.nf +++ b/modules/local/interproscan.nf @@ -30,7 +30,7 @@ process INTERPROSCAN { if [ -d 'data' ]; then # Find interproscan.properties to link data/ from work directory INTERPROSCAN_DIR="\$( dirname "\$( dirname "\$( which interproscan.sh )" )" )" - INTERPROSCAN_PROPERTIES="\$( find "\$INTERPROSCAN_DIR" -name "interproscan.properties" )" + INTERPROSCAN_PROPERTIES="\$( find "\$INTERPROSCAN_DIR/share" -name "interproscan.properties" )" cp "\$INTERPROSCAN_PROPERTIES" . sed -i "/^bin\\.directory=/ s|.*|bin.directory=\$INTERPROSCAN_DIR/bin|" interproscan.properties export INTERPROSCAN_CONF=interproscan.properties